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.9.0-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.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
47 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
48 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
49 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
50 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info</sonar.javascript.lcov.reportPaths>
51 <sonar.language>java</sonar.language>
52 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
53 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
54 <sonar.projectVersion>${project.version}</sonar.projectVersion>
55 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
56 <sonar.sources>.</sonar.sources>
57 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
58 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
60 <lombok.version>1.18.20</lombok.version>
62 <mockito.version>4.3.1</mockito.version>
63 <mockitoJupiter.version>${mockito.version}</mockitoJupiter.version>
64 <junit.platform.version>1.8.2</junit.platform.version>
65 <junitJupiter.version>5.8.2</junitJupiter.version>
67 <jacoco.version>0.8.8</jacoco.version>
70 <dependencyManagement>
73 <groupId>org.projectlombok</groupId>
74 <artifactId>lombok</artifactId>
75 <version>${lombok.version}</version>
78 <groupId>org.hamcrest</groupId>
79 <artifactId>hamcrest-library</artifactId>
80 <version>${hamcrest.version}</version>
82 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
84 <groupId>org.junit.jupiter</groupId>
85 <artifactId>junit-jupiter</artifactId>
86 <version>${junitJupiter.version}</version>
89 <groupId>org.mockito</groupId>
90 <artifactId>mockito-junit-jupiter</artifactId>
91 <version>${mockitoJupiter.version}</version>
94 </dependencyManagement>
98 <!-- must be on the classpath -->
99 <groupId>org.jacoco</groupId>
100 <artifactId>org.jacoco.agent</artifactId>
101 <classifier>runtime</classifier>
102 <version>${jacoco.version}</version>
106 <groupId>org.slf4j</groupId>
107 <artifactId>slf4j-api</artifactId>
108 <version>1.7.36</version>
112 <groupId>com.google.guava</groupId>
113 <artifactId>guava</artifactId>
114 <scope>compile</scope>
115 <version>32.1.2-jre</version>
120 <groupId>org.yaml</groupId>
121 <artifactId>snakeyaml</artifactId>
122 <version>1.30</version>
123 <scope>compile</scope>
128 <groupId>org.assertj</groupId>
129 <artifactId>assertj-core</artifactId>
130 <version>3.22.0</version>
135 <groupId>org.mockito</groupId>
136 <artifactId>mockito-junit-jupiter</artifactId>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-javadoc-plugin</artifactId>
147 <failOnError>false</failOnError>
148 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
150 <groupId>org.umlgraph</groupId>
151 <artifactId>umlgraph</artifactId>
152 <version>5.6.6</version>
154 <additionalparam>-views</additionalparam>
155 <useStandardDocletOptions>true</useStandardDocletOptions>
165 <groupId>org.jacoco</groupId>
166 <artifactId>jacoco-maven-plugin</artifactId>
167 <version>${jacoco.version}</version>
170 <groupId>org.apache.maven.plugins</groupId>
171 <artifactId>maven-compiler-plugin</artifactId>
172 <version>3.10.1</version>
175 <groupId>org.apache.maven.plugins</groupId>
176 <artifactId>maven-checkstyle-plugin</artifactId>
177 <version>3.1.2</version>
180 <groupId>org.apache.maven.plugins</groupId>
181 <artifactId>maven-javadoc-plugin</artifactId>
182 <version>3.3.2</version>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-surefire-plugin</artifactId>
188 <version>2.22.2</version>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-site-plugin</artifactId>
193 <version>3.11.0</version>
196 <groupId>org.apache.maven.wagon</groupId>
197 <artifactId>wagon-webdav-jackrabbit</artifactId>
198 <version>3.5.1</version>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-site-plugin</artifactId>
209 <version>3.11.0</version>
212 <groupId>org.apache.maven.wagon</groupId>
213 <artifactId>wagon-webdav-jackrabbit</artifactId>
214 <version>3.5.1</version>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-checkstyle-plugin</artifactId>
223 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
224 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
229 <!-- Java Code Coverage -->
231 <groupId>org.jacoco</groupId>
232 <artifactId>jacoco-maven-plugin</artifactId>
233 <inherited>false</inherited>
236 <id>default-instrument</id>
238 <goal>instrument</goal>
242 <id>default-restore-instrumented-classes</id>
244 <goal>restore-instrumented-classes</goal>
248 <id>default-report</id>
253 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
260 <groupId>org.apache.maven.plugins</groupId>
261 <artifactId>maven-compiler-plugin</artifactId>
265 <forceJavacCompilerUse>true</forceJavacCompilerUse>
269 <groupId>org.apache.maven.plugins</groupId>
270 <artifactId>maven-javadoc-plugin</artifactId>
275 <groupId>org.apache.maven.plugins</groupId>
276 <artifactId>maven-surefire-plugin</artifactId>
279 <groupId>org.apache.maven.surefire</groupId>
280 <artifactId>surefire-junit-platform</artifactId>
281 <version>2.22.2</version>
285 <printSummary>false</printSummary>
286 <systemPropertyVariables>
287 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
288 </systemPropertyVariables>
293 <groupId>com.github.sylvainlaurent.maven</groupId>
294 <artifactId>yaml-json-validator-maven-plugin</artifactId>
295 <version>1.0.1</version>
299 <phase>validate</phase>
301 <goal>validate</goal>
307 <include>src/main/resources/**/*.y*ml</include>
308 <include>src/test/resources/**/*.y*ml</include>
313 <include>src/main/resources/**/*.json</include>
314 <include>src/test/resources/**/*.json</include>
328 <name>Official Maven repository</name>
329 <url>http://repo2.maven.org/maven2/</url>
332 <id>ecomp-releases</id>
333 <name>Release Repository</name>
334 <url>${nexus.proxy}/content/repositories/releases/</url>
337 <id>ecomp-snapshots</id>
338 <name>Snapshots Repository</name>
339 <url>${nexus.proxy}/content/repositories/snapshots/</url>
343 <distributionManagement>
345 <id>ecomp-releases</id>
346 <name>Release Repository</name>
347 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
350 <id>ecomp-snapshots</id>
351 <name>Snapshot Repository</name>
352 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
353 </snapshotRepository>
356 <url>dav:${nexus.proxy}${sitePath}</url>
358 </distributionManagement>
364 <activeByDefault>false</activeByDefault>
367 <maven.test.skip>true</maven.test.skip>
368 <skipYamlJsonValidator>true</skipYamlJsonValidator>
369 <checkstyle.skip>true</checkstyle.skip>
370 <jacoco.skip>true</jacoco.skip>
371 <maven.antrun.skip>true</maven.antrun.skip>
372 <swagger.skip>true</swagger.skip>
375 <module>sdc-tosca</module>
376 <module>jtosca</module>