17289eb7e64e62bb920fd9ee83b9810aca0a5586
[sdc/sdc-tosca.git] / sdc-tosca / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4
5     <modelVersion>4.0.0</modelVersion>
6
7     <artifactId>sdc-tosca</artifactId>
8     <name>sdc-tosca</name>
9     <description>SDC Tosca Parser JAR file for use by consumers</description>
10     <packaging>jar</packaging>
11
12     <parent>
13         <groupId>org.onap.sdc.sdc-tosca</groupId>
14         <artifactId>sdc-tosca-jtosca</artifactId>
15         <version>1.6.6-SNAPSHOT</version>
16     </parent>
17
18     <dependencies>
19         <dependency>
20             <groupId>org.projectlombok</groupId>
21             <artifactId>lombok</artifactId>
22         </dependency>
23         <!-- jtosca Tosca Parser -->
24         <dependency>
25             <groupId>org.onap.sdc.sdc-tosca</groupId>
26             <artifactId>jtosca</artifactId>
27             <version>${project.version}</version>
28         </dependency>
29
30         <dependency>
31             <groupId>com.fasterxml.jackson.core</groupId>
32             <artifactId>jackson-databind</artifactId>
33             <version>2.13.2.2</version>
34         </dependency>
35
36         <dependency>
37             <groupId>com.fasterxml.jackson.core</groupId>
38             <artifactId>jackson-core</artifactId>
39             <version>2.13.2</version>
40         </dependency>
41
42         <!-- Apache Commons -->
43         <dependency>
44             <groupId>org.apache.commons</groupId>
45             <artifactId>commons-lang3</artifactId>
46             <version>3.12.0</version>
47             <scope>compile</scope>
48         </dependency>
49
50         <!-- TEST -->
51         <dependency>
52             <groupId>org.mockito</groupId>
53             <artifactId>mockito-all</artifactId>
54             <version>1.10.19</version>
55             <scope>test</scope>
56         </dependency>
57         <dependency>
58             <groupId>org.testng</groupId>
59             <artifactId>testng</artifactId>
60             <version>7.5</version>
61             <scope>test</scope>
62         </dependency>
63         <!-- Provides everything you need to write JUnit 5 Jupiter tests. -->
64         <dependency>
65             <groupId>org.junit.jupiter</groupId>
66             <artifactId>junit-jupiter</artifactId>
67             <scope>test</scope>
68         </dependency>
69         <!-- Enables any legacy JUnit 3 and JUnit 4 tests you may have. Not needed for JUnit 5 tests. -->
70         <dependency>
71             <groupId>org.junit.vintage</groupId>
72             <artifactId>junit-vintage-engine</artifactId>
73             <scope>test</scope>
74         </dependency>
75     </dependencies>
76
77     <reporting>
78         <plugins>
79             <plugin>
80                 <groupId>org.apache.maven.plugins</groupId>
81                 <artifactId>maven-javadoc-plugin</artifactId>
82                 <configuration>
83                     <failOnError>false</failOnError>
84                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
85                     <docletArtifact>
86                         <groupId>org.umlgraph</groupId>
87                         <artifactId>umlgraph</artifactId>
88                         <version>5.6</version>
89                     </docletArtifact>
90                     <additionalparam>-views</additionalparam>
91                     <useStandardDocletOptions>true</useStandardDocletOptions>
92                 </configuration>
93             </plugin>
94         </plugins>
95     </reporting>
96
97     <build>
98         <plugins>
99             <plugin>
100                 <groupId>org.apache.maven.plugins</groupId>
101                 <artifactId>maven-checkstyle-plugin</artifactId>
102                 <configuration>
103                     <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
104                     <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
105                 </configuration>
106             </plugin>
107
108             <plugin>
109                 <groupId>org.jacoco</groupId>
110                 <artifactId>jacoco-maven-plugin</artifactId>
111                 <version>0.8.6</version>
112                 <executions>
113                     <!-- Unit-Tests -->
114                     <execution>
115                         <id>prepare-agent</id>
116                         <goals>
117                             <goal>prepare-agent</goal>
118                         </goals>
119                         <configuration>
120                             <destFile>${sonar.jacoco.reportPath}</destFile>
121                         </configuration>
122                     </execution>
123                 </executions>
124             </plugin>
125
126             <!-- Test -->
127             <plugin>
128                 <groupId>org.apache.maven.plugins</groupId>
129                 <artifactId>maven-surefire-plugin</artifactId>
130                 <configuration>
131                     <argLine>${argLine} -Xmx2048m</argLine>
132                     <includes>
133                         <include>**/ToscaParser***Test.class</include>
134                     </includes>
135                 </configuration>
136             </plugin>
137
138             <plugin>
139                 <groupId>com.github.sylvainlaurent.maven</groupId>
140                 <artifactId>yaml-json-validator-maven-plugin</artifactId>
141                 <version>1.0.1</version>
142                 <executions>
143                     <execution>
144                         <id>validate</id>
145                         <phase>validate</phase>
146                         <goals>
147                             <goal>validate</goal>
148                         </goals>
149                         <configuration>
150                             <validationSets>
151                                 <validationSet>
152                                     <includes>
153                                         <include>src/main/resources/**/*.y*ml</include>
154                                         <include>src/test/resources/**/*.y*ml</include>
155                                     </includes>
156                                 </validationSet>
157                                 <validationSet>
158                                     <includes>
159                                         <include>src/main/resources/**/*.json</include>
160                                         <include>src/test/resources/**/*.json</include>
161                                     </includes>
162                                 </validationSet>
163                             </validationSets>
164                         </configuration>
165                     </execution>
166                 </executions>
167             </plugin>
168         </plugins>
169     </build>
170
171     <repositories>
172         <repository>
173             <id>central</id>
174             <name>Official Maven repository</name>
175             <url>http://repo2.maven.org/maven2/</url>
176         </repository>
177         <repository>
178             <id>ecomp-releases</id>
179             <name>Release Repository</name>
180             <url>${nexus.proxy}/content/repositories/releases/</url>
181         </repository>
182         <repository>
183             <id>ecomp-snapshots</id>
184             <name>Snapshots Repository</name>
185             <url>${nexus.proxy}/content/repositories/snapshots/</url>
186         </repository>
187     </repositories>
188
189     <distributionManagement>
190         <repository>
191             <id>ecomp-releases</id>
192             <name>Release Repository</name>
193             <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
194         </repository>
195         <snapshotRepository>
196             <id>ecomp-snapshots</id>
197             <name>Snapshot Repository</name>
198             <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
199         </snapshotRepository>
200         <site>
201             <id>ecomp-site</id>
202             <url>dav:${nexus.proxy}${sitePath}</url>
203         </site>
204     </distributionManagement>
205 </project>