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">
5 <modelVersion>4.0.0</modelVersion>
7 <groupId>org.onap.sdc.sdc-tosca</groupId>
8 <artifactId>sdc-tosca-jtosca</artifactId>
9 <name>sdc-tosca-jtosca</name>
10 <description>SDC Tosca Parser JAR file for use by consumers</description>
11 <version>1.6.6-SNAPSHOT</version>
12 <packaging>pom</packaging>
15 <groupId>org.onap.oparent</groupId>
16 <artifactId>oparent</artifactId>
17 <version>3.2.0</version>
22 <module>sdc-tosca</module>
23 <module>jtosca</module>
28 <!-- ==================== -->
29 <!-- Generic properties -->
30 <!-- ==================== -->
31 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
33 <!-- ==================== -->
35 <hamcrest.version>2.1</hamcrest.version>
36 <!-- ==================== -->
37 <!-- Global project version -->
39 <!-- Dependencies projects version -->
40 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
41 <sitePath>/content/sites/site/org/onap/sdc/sdc-tosca/${project.version}</sitePath>
42 <snapshots.path>snapshots</snapshots.path>
43 <releases.path>releases</releases.path>
45 <!-- Sonar properties -->
46 <sonar.language>java</sonar.language>
47 <sonar.coverage.jacoco.xmlReportPaths>
48 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
49 </sonar.coverage.jacoco.xmlReportPaths>
50 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
51 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
52 <sonar.sources>.</sonar.sources>
53 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
54 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
55 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
57 <lombok.version>1.18.20</lombok.version>
59 <mockito.version>4.3.1</mockito.version>
60 <mockitoJupiter.version>${mockito.version}</mockitoJupiter.version>
61 <junit.platform.version>1.8.2</junit.platform.version>
62 <junitJupiter.version>5.8.2</junitJupiter.version>
65 <dependencyManagement>
68 <groupId>org.projectlombok</groupId>
69 <artifactId>lombok</artifactId>
70 <version>${lombok.version}</version>
73 <groupId>org.hamcrest</groupId>
74 <artifactId>hamcrest-library</artifactId>
75 <version>${hamcrest.version}</version>
77 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
79 <groupId>org.junit.jupiter</groupId>
80 <artifactId>junit-jupiter</artifactId>
81 <version>${junitJupiter.version}</version>
83 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
85 <groupId>org.junit.vintage</groupId>
86 <artifactId>junit-vintage-engine</artifactId>
87 <version>${junitJupiter.version}</version>
90 <groupId>org.mockito</groupId>
91 <artifactId>mockito-junit-jupiter</artifactId>
92 <version>${mockitoJupiter.version}</version>
95 </dependencyManagement>
99 <groupId>org.slf4j</groupId>
100 <artifactId>slf4j-api</artifactId>
101 <version>1.7.36</version>
105 <groupId>com.google.guava</groupId>
106 <artifactId>guava</artifactId>
107 <scope>compile</scope>
108 <version>31.1-jre</version>
113 <groupId>org.yaml</groupId>
114 <artifactId>snakeyaml</artifactId>
115 <version>1.30</version>
116 <scope>compile</scope>
121 <groupId>org.assertj</groupId>
122 <artifactId>assertj-core</artifactId>
123 <version>3.22.0</version>
128 <groupId>org.mockito</groupId>
129 <artifactId>mockito-junit-jupiter</artifactId>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-javadoc-plugin</artifactId>
140 <failOnError>false</failOnError>
141 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
143 <groupId>org.umlgraph</groupId>
144 <artifactId>umlgraph</artifactId>
145 <version>5.6.6</version>
147 <additionalparam>-views</additionalparam>
148 <useStandardDocletOptions>true</useStandardDocletOptions>
158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-compiler-plugin</artifactId>
160 <version>3.10.1</version>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-checkstyle-plugin</artifactId>
165 <version>3.1.2</version>
168 <groupId>org.apache.maven.plugins</groupId>
169 <artifactId>maven-javadoc-plugin</artifactId>
170 <version>3.3.2</version>
174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-surefire-plugin</artifactId>
176 <version>2.22.2</version>
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-site-plugin</artifactId>
181 <version>3.11.0</version>
184 <groupId>org.apache.maven.wagon</groupId>
185 <artifactId>wagon-webdav-jackrabbit</artifactId>
186 <version>3.5.1</version>
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-site-plugin</artifactId>
197 <version>3.11.0</version>
200 <groupId>org.apache.maven.wagon</groupId>
201 <artifactId>wagon-webdav-jackrabbit</artifactId>
202 <version>3.5.1</version>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-checkstyle-plugin</artifactId>
211 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
212 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
217 <groupId>org.jacoco</groupId>
218 <artifactId>jacoco-maven-plugin</artifactId>
219 <version>0.8.8</version>
223 <id>prepare-agent</id>
225 <goal>prepare-agent</goal>
228 <destFile>${sonar.jacoco.reportPath}</destFile>
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-compiler-plugin</artifactId>
240 <forceJavacCompilerUse>true</forceJavacCompilerUse>
244 <groupId>org.apache.maven.plugins</groupId>
245 <artifactId>maven-javadoc-plugin</artifactId>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-surefire-plugin</artifactId>
253 <argLine>${argLine} -Xmx2048m</argLine>
258 <groupId>org.sonarsource.scanner.maven</groupId>
259 <artifactId>sonar-maven-plugin</artifactId>
260 <version>3.7.0.1746</version>
264 <groupId>com.github.sylvainlaurent.maven</groupId>
265 <artifactId>yaml-json-validator-maven-plugin</artifactId>
266 <version>1.0.1</version>
270 <phase>validate</phase>
272 <goal>validate</goal>
278 <include>src/main/resources/**/*.y*ml</include>
279 <include>src/test/resources/**/*.y*ml</include>
284 <include>src/main/resources/**/*.json</include>
285 <include>src/test/resources/**/*.json</include>
299 <name>Official Maven repository</name>
300 <url>http://repo2.maven.org/maven2/</url>
303 <id>ecomp-releases</id>
304 <name>Release Repository</name>
305 <url>${nexus.proxy}/content/repositories/releases/</url>
308 <id>ecomp-snapshots</id>
309 <name>Snapshots Repository</name>
310 <url>${nexus.proxy}/content/repositories/snapshots/</url>
314 <distributionManagement>
316 <id>ecomp-releases</id>
317 <name>Release Repository</name>
318 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
321 <id>ecomp-snapshots</id>
322 <name>Snapshot Repository</name>
323 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
324 </snapshotRepository>
327 <url>dav:${nexus.proxy}${sitePath}</url>
329 </distributionManagement>