Commit for the blueprint generator java tool
[dcaegen2/platform/cli.git] / blueprint-generator / pom.xml
1 <!--
2 ============LICENSE_START======================================================= 
3  org.onap.dcae 
4  ================================================================================ 
5  Copyright (c) 2019 AT&T Intellectual Property. All rights reserved. 
6  ================================================================================ 
7  Licensed under the Apache License, Version 2.0 (the "License"); 
8  you may not use this file except in compliance with the License. 
9  You may obtain a copy of the License at 
10
11       http://www.apache.org/licenses/LICENSE-2.0 
12
13  Unless required by applicable law or agreed to in writing, software 
14  distributed under the License is distributed on an "AS IS" BASIS, 
15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
16  See the License for the specific language governing permissions and 
17  limitations under the License. 
18  ============LICENSE_END========================================================= 
19 -->
20
21 <project xmlns="http://maven.apache.org/POM/4.0.0"
22         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24         <modelVersion>4.0.0</modelVersion>
25         <parent> 
26                 <groupId>org.onap.dcaegen2.platform.cli</groupId> 
27                 <artifactId>cli</artifactId> 
28                 <version>1.1.0-SNAPSHOT</version> 
29         </parent>
30         <groupId>org.onap.dcaegen2.platform.cli</groupId>
31         <artifactId>blueprint-generator-onap</artifactId>
32         <version>0.0.1-SNAPSHOT</version> 
33         <properties>
34                 <maven.compiler.source>1.6</maven.compiler.source>
35                 <maven.compiler.target>1.6</maven.compiler.target>
36
37                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38                 <sonar.core.codeCoveragePlugin>cobertura</sonar.core.codeCoveragePlugin>
39                 <sonar.java.coveragePlugin>cobertura</sonar.java.coveragePlugin>
40                 <sonar.junit.reportsPath>${project.basedir}/target/surefire-reports</sonar.junit.reportsPath>
41                 <sonar.surefire.reportsPath>${project.basedir}/target/surefire-reports</sonar.surefire.reportsPath>
42                 <sonar.cobertura.reportPath>${project.basedir}/target/site/cobertura/coverage.xml</sonar.cobertura.reportPath> 
43
44         </properties>
45
46         <build>
47                 <plugins>
48
49                         <plugin>
50                                 <groupId>org.apache.maven.plugins</groupId>
51                                 <artifactId>maven-compiler-plugin</artifactId>
52                                 <configuration>
53                                         <source>1.7</source>
54                                         <target>1.7</target>
55                                 </configuration>
56                                 <version>2.0.2</version>
57                         </plugin>
58                         <plugin>
59                                 <artifactId>maven-assembly-plugin</artifactId>
60                                 <version>2.4.1</version>
61                                 <configuration>
62                                         <descriptors>
63                                                 <descriptor>src/assembly/dep.xml</descriptor>
64                                         </descriptors>
65                                 </configuration>
66
67                                 <executions>
68                                         <execution> 
69
70                                                 <id>make-assembly</id>  
71                                                 <phase>package</phase>   
72                                                 <goals>
73                                                         <goal>single</goal>
74                                                 </goals>
75                                         </execution>
76                                 </executions>
77
78
79                         </plugin> 
80
81                         <plugin>
82                                 <groupId>org.codehaus.mojo</groupId>
83                                 <artifactId>cobertura-maven-plugin</artifactId>
84                                 <version>2.7</version>
85                                 <configuration>
86                                         <instrumentation>
87                                                 <includes>
88                                                         <include>**/*.class</include>
89                                                 </includes>
90                                         </instrumentation>
91                                         <encoding>UTF-8</encoding>
92                                 </configuration>
93
94                                 <executions>
95
96                                         <execution>
97                                                 <id>clean</id>
98                                                 <!-- > <phase>pre-site</phase> -->
99                                                 <phase>pre-site</phase>
100                                                 <goals>
101                                                         <goal>cobertura</goal>
102                                                 </goals>
103                                         </execution>
104
105
106                                         <execution>
107                                                 <id>instrument</id>
108                                                 <phase>site</phase>
109                                                 <goals>
110                                                         <goal>instrument</goal>
111                                                         <goal>cobertura</goal>
112                                                 </goals>
113                                                 <configuration>
114                                                         <encoding>UTF-8</encoding>
115                                                 </configuration>
116                                         </execution>
117
118                                 </executions>
119
120                         </plugin>
121
122                         <plugin>
123                                 <groupId>org.sonarsource.scanner.maven</groupId>
124                                 <artifactId>sonar-maven-plugin</artifactId>
125                                 <version>3.0.2</version>
126                         </plugin>
127
128                 </plugins>
129
130         </build>
131
132         <reporting>
133                 <plugins>
134                         <plugin>
135                                 <!-- use mvn cobertura:cobertura to generate cobertura reports -->
136                                 <groupId>org.codehaus.mojo</groupId>
137                                 <artifactId>cobertura-maven-plugin</artifactId>
138                                 <version>2.7</version>
139                                 <configuration>
140                                         <formats>
141                                                 <format>xml</format>
142                                         </formats>
143                                 </configuration>
144                         </plugin>
145                 </plugins>
146         </reporting>
147
148
149         <dependencies>
150                 <dependency>
151                         <groupId>org.projectlombok</groupId>
152                         <artifactId>lombok</artifactId>
153                         <version>1.18.2</version>
154                         <scope>provided</scope>
155                 </dependency>
156
157                 <dependency>
158                         <groupId>commons-cli</groupId>
159                         <artifactId>commons-cli</artifactId>
160                         <version>1.2</version>
161                 </dependency>
162
163                 <dependency>
164                         <groupId>junit</groupId>
165                         <artifactId>junit</artifactId>
166                         <version>4.12</version>
167                         <scope>test</scope>
168                 </dependency>
169
170                 <dependency>
171                         <groupId>com.fasterxml.jackson.dataformat</groupId>
172                         <artifactId>jackson-dataformat-yaml</artifactId>
173                         <version>2.9.8</version>
174                 </dependency>
175
176                 <dependency>
177                         <groupId>com.fasterxml.jackson.core</groupId>
178                         <artifactId>jackson-databind</artifactId>
179                         <version>2.9.8</version>
180                 </dependency>
181                 <dependency>
182                         <groupId>com.fasterxml.jackson.core</groupId>
183                         <artifactId>jackson-annotations</artifactId>
184                         <version>2.9.8</version>
185                 </dependency>
186
187
188
189         </dependencies>
190
191 </project>