4021e161443f5e35e5608532bc6dca8789998a3e
[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</artifactId>
32         <version>1.0.0-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                         <plugin>
49                                 <groupId>org.apache.maven.plugins</groupId>
50                                 <artifactId>maven-compiler-plugin</artifactId>
51                                 <configuration>
52                                         <source>1.7</source>
53                                         <target>1.7</target>
54                                 </configuration>
55                                 <version>2.0.2</version>
56                         </plugin>             
57         <!-- the following plugins are invoked from oparent, we do not need them -->
58             <plugin>
59                 <groupId>org.sonatype.plugins</groupId>
60                 <artifactId>nexus-staging-maven-plugin</artifactId>
61                 <version>1.6.7</version>
62                 <configuration>
63                     <skipNexusStagingDeployMojo>false</skipNexusStagingDeployMojo>
64                     <skip>false</skip>
65                 </configuration>
66             </plugin>
67             <plugin>
68                 <groupId>org.apache.maven.plugins</groupId>
69                 <artifactId>maven-deploy-plugin</artifactId>
70                 <!-- This version supports the "deployAtEnd" parameter -->
71                 <version>2.8</version>
72                 <configuration>
73                      <skip>false</skip>
74                 </configuration>
75             </plugin>
76                         <plugin>
77                                 <artifactId>maven-assembly-plugin</artifactId>
78                                 <version>2.4.1</version>
79                                 <configuration>
80                                         <descriptors>
81                                                 <descriptor>src/assembly/dep.xml</descriptor>
82                                         </descriptors>
83                                 </configuration>
84
85                                 <executions>
86                                         <execution> 
87
88                                                 <id>make-assembly</id>  
89                                                 <phase>package</phase>   
90                                                 <goals>
91                                                         <goal>single</goal>
92                                                 </goals>
93                                         </execution>
94                                 </executions>
95
96
97                         </plugin> 
98
99                         <plugin>
100                                 <groupId>org.codehaus.mojo</groupId>
101                                 <artifactId>cobertura-maven-plugin</artifactId>
102                                 <version>2.7</version>
103                                 <configuration>
104                                         <instrumentation>
105                                                 <includes>
106                                                         <include>**/*.class</include>
107                                                 </includes>
108                                         </instrumentation>
109                                         <encoding>UTF-8</encoding>
110                                 </configuration>
111
112                                 <executions>
113
114                                         <execution>
115                                                 <id>clean</id>
116                                                 <!-- > <phase>pre-site</phase> -->
117                                                 <phase>pre-site</phase>
118                                                 <goals>
119                                                         <goal>cobertura</goal>
120                                                 </goals>
121                                         </execution>
122
123
124                                         <execution>
125                                                 <id>instrument</id>
126                                                 <phase>site</phase>
127                                                 <goals>
128                                                         <goal>instrument</goal>
129                                                         <goal>cobertura</goal>
130                                                 </goals>
131                                                 <configuration>
132                                                         <encoding>UTF-8</encoding>
133                                                 </configuration>
134                                         </execution>
135
136                                 </executions>
137
138                         </plugin>
139
140                         <plugin>
141                                 <groupId>org.sonarsource.scanner.maven</groupId>
142                                 <artifactId>sonar-maven-plugin</artifactId>
143                                 <version>3.0.2</version>
144                         </plugin>
145
146                 </plugins>
147
148         </build>
149
150         <reporting>
151                 <plugins>
152                         <plugin>
153                                 <!-- use mvn cobertura:cobertura to generate cobertura reports -->
154                                 <groupId>org.codehaus.mojo</groupId>
155                                 <artifactId>cobertura-maven-plugin</artifactId>
156                                 <version>2.7</version>
157                                 <configuration>
158                                         <formats>
159                                                 <format>xml</format>
160                                         </formats>
161                                 </configuration>
162                         </plugin>
163                 </plugins>
164         </reporting>
165
166     <distributionManagement>
167         <snapshotRepository>
168             <id>ecomp-snapshots</id>
169             <url>https://nexus.onap.org/content/repositories/snapshots/</url>
170         </snapshotRepository>
171         <repository>
172                 <id>ecomp-staging</id>
173                 <url>https://nexus.onap.org/content/groups/staging/</url>
174         </repository>
175     </distributionManagement>
176
177
178         <dependencies>
179                 <dependency>
180                         <groupId>org.projectlombok</groupId>
181                         <artifactId>lombok</artifactId>
182                         <version>1.18.2</version>
183                         <scope>provided</scope>
184                 </dependency>
185
186                 <dependency>
187                         <groupId>commons-cli</groupId>
188                         <artifactId>commons-cli</artifactId>
189                         <version>1.2</version>
190                 </dependency>
191
192                 <dependency>
193                         <groupId>junit</groupId>
194                         <artifactId>junit</artifactId>
195                         <version>4.12</version>
196                         <scope>test</scope>
197                 </dependency>
198
199                 <dependency>
200                         <groupId>com.fasterxml.jackson.dataformat</groupId>
201                         <artifactId>jackson-dataformat-yaml</artifactId>
202                         <version>2.9.8</version>
203                 </dependency>
204
205                 <dependency>
206                         <groupId>com.fasterxml.jackson.core</groupId>
207                         <artifactId>jackson-databind</artifactId>
208                         <version>2.9.8</version>
209                 </dependency>
210                 <dependency>
211                         <groupId>com.fasterxml.jackson.core</groupId>
212                         <artifactId>jackson-annotations</artifactId>
213                         <version>2.9.8</version>
214                 </dependency>
215         </dependencies>
216
217 </project>