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>
84 <groupId>org.mockito</groupId>
85 <artifactId>mockito-junit-jupiter</artifactId>
86 <version>${mockitoJupiter.version}</version>
89 </dependencyManagement>
93 <groupId>org.slf4j</groupId>
94 <artifactId>slf4j-api</artifactId>
95 <version>1.7.36</version>
99 <groupId>com.google.guava</groupId>
100 <artifactId>guava</artifactId>
101 <scope>compile</scope>
102 <version>31.1-jre</version>
107 <groupId>org.yaml</groupId>
108 <artifactId>snakeyaml</artifactId>
109 <version>1.30</version>
110 <scope>compile</scope>
115 <groupId>org.assertj</groupId>
116 <artifactId>assertj-core</artifactId>
117 <version>3.22.0</version>
122 <groupId>org.mockito</groupId>
123 <artifactId>mockito-junit-jupiter</artifactId>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-javadoc-plugin</artifactId>
134 <failOnError>false</failOnError>
135 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
137 <groupId>org.umlgraph</groupId>
138 <artifactId>umlgraph</artifactId>
139 <version>5.6.6</version>
141 <additionalparam>-views</additionalparam>
142 <useStandardDocletOptions>true</useStandardDocletOptions>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-compiler-plugin</artifactId>
154 <version>3.10.1</version>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-checkstyle-plugin</artifactId>
159 <version>3.1.2</version>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-javadoc-plugin</artifactId>
164 <version>3.3.2</version>
168 <groupId>org.apache.maven.plugins</groupId>
169 <artifactId>maven-surefire-plugin</artifactId>
170 <version>2.22.2</version>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-site-plugin</artifactId>
175 <version>3.11.0</version>
178 <groupId>org.apache.maven.wagon</groupId>
179 <artifactId>wagon-webdav-jackrabbit</artifactId>
180 <version>3.5.1</version>
189 <groupId>org.apache.maven.plugins</groupId>
190 <artifactId>maven-site-plugin</artifactId>
191 <version>3.11.0</version>
194 <groupId>org.apache.maven.wagon</groupId>
195 <artifactId>wagon-webdav-jackrabbit</artifactId>
196 <version>3.5.1</version>
202 <groupId>org.apache.maven.plugins</groupId>
203 <artifactId>maven-checkstyle-plugin</artifactId>
205 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
206 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
211 <groupId>org.jacoco</groupId>
212 <artifactId>jacoco-maven-plugin</artifactId>
213 <version>0.8.8</version>
217 <id>prepare-agent</id>
219 <goal>prepare-agent</goal>
222 <destFile>${sonar.jacoco.reportPath}</destFile>
229 <groupId>org.apache.maven.plugins</groupId>
230 <artifactId>maven-compiler-plugin</artifactId>
234 <forceJavacCompilerUse>true</forceJavacCompilerUse>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-javadoc-plugin</artifactId>
244 <groupId>org.apache.maven.plugins</groupId>
245 <artifactId>maven-surefire-plugin</artifactId>
247 <argLine>${argLine} -Xmx2048m</argLine>
252 <groupId>org.sonarsource.scanner.maven</groupId>
253 <artifactId>sonar-maven-plugin</artifactId>
254 <version>3.7.0.1746</version>
258 <groupId>com.github.sylvainlaurent.maven</groupId>
259 <artifactId>yaml-json-validator-maven-plugin</artifactId>
260 <version>1.0.1</version>
264 <phase>validate</phase>
266 <goal>validate</goal>
272 <include>src/main/resources/**/*.y*ml</include>
273 <include>src/test/resources/**/*.y*ml</include>
278 <include>src/main/resources/**/*.json</include>
279 <include>src/test/resources/**/*.json</include>
293 <name>Official Maven repository</name>
294 <url>http://repo2.maven.org/maven2/</url>
297 <id>ecomp-releases</id>
298 <name>Release Repository</name>
299 <url>${nexus.proxy}/content/repositories/releases/</url>
302 <id>ecomp-snapshots</id>
303 <name>Snapshots Repository</name>
304 <url>${nexus.proxy}/content/repositories/snapshots/</url>
308 <distributionManagement>
310 <id>ecomp-releases</id>
311 <name>Release Repository</name>
312 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
315 <id>ecomp-snapshots</id>
316 <name>Snapshot Repository</name>
317 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
318 </snapshotRepository>
321 <url>dav:${nexus.proxy}${sitePath}</url>
323 </distributionManagement>