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.5-SNAPSHOT</version>
12 <packaging>pom</packaging>
15 <groupId>org.onap.oparent</groupId>
16 <artifactId>oparent</artifactId>
17 <version>2.0.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 <!--<sonar.skipDesign>true</sonar.skipDesign>-->
41 <!--<sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>-->
42 <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
43 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
44 <sitePath>/content/sites/site/org/onap/sdc/sdc-tosca/${project.version}</sitePath>
45 <snapshots.path>snapshots</snapshots.path>
46 <releases.path>releases</releases.path>
47 <!-- Sonar properties -->
48 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
49 <sonar.skipDesign>true</sonar.skipDesign>
50 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
51 <sonar.sources>.</sonar.sources>
52 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
53 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
54 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java
56 <sonar.branch>${project.version}</sonar.branch>
62 <groupId>org.slf4j</groupId>
63 <artifactId>slf4j-api</artifactId>
64 <version>1.7.25</version>
68 <groupId>junit</groupId>
69 <artifactId>junit</artifactId>
70 <version>4.12</version>
75 <groupId>com.google.guava</groupId>
76 <artifactId>guava</artifactId>
77 <scope>compile</scope>
78 <version>25.1-jre</version>
83 <groupId>org.yaml</groupId>
84 <artifactId>snakeyaml</artifactId>
85 <version>1.14</version>
86 <scope>compile</scope>
90 <groupId>org.assertj</groupId>
91 <artifactId>assertj-core</artifactId>
92 <version>3.13.2</version>
97 <groupId>org.junit.jupiter</groupId>
98 <artifactId>junit-jupiter-api</artifactId>
99 <version>5.3.2</version>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-javadoc-plugin</artifactId>
110 <version>2.10.4</version>
112 <failOnError>false</failOnError>
113 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
115 <groupId>org.umlgraph</groupId>
116 <artifactId>umlgraph</artifactId>
117 <version>5.6</version>
119 <additionalparam>-views</additionalparam>
120 <useStandardDocletOptions>true</useStandardDocletOptions>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-site-plugin</artifactId>
131 <version>3.4</version>
134 <groupId>org.apache.maven.wagon</groupId>
135 <artifactId>wagon-webdav-jackrabbit</artifactId>
136 <version>2.10</version>
142 <artifactId>maven-checkstyle-plugin</artifactId>
143 <version>2.17</version>
145 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
146 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
151 <groupId>org.jacoco</groupId>
152 <artifactId>jacoco-maven-plugin</artifactId>
153 <version>0.7.8</version>
157 <id>prepare-agent</id>
159 <goal>prepare-agent</goal>
162 <destFile>${sonar.jacoco.reportPath}</destFile>
169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-compiler-plugin</artifactId>
171 <version>2.5.1</version>
172 <inherited>true</inherited>
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-javadoc-plugin</artifactId>
181 <version>2.10.3</version>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-surefire-plugin</artifactId>
188 <version>2.19.1</version>
190 <argLine>${argLine} -Xmx2048m</argLine>
195 <groupId>org.sonarsource.scanner.maven</groupId>
196 <artifactId>sonar-maven-plugin</artifactId>
197 <version>3.0.2</version>
201 <groupId>com.github.sylvainlaurent.maven</groupId>
202 <artifactId>yaml-json-validator-maven-plugin</artifactId>
203 <version>1.0.1</version>
207 <phase>validate</phase>
209 <goal>validate</goal>
215 <include>src/main/resources/**/*.y*ml</include>
216 <include>src/test/resources/**/*.y*ml</include>
221 <include>src/main/resources/**/*.json</include>
222 <include>src/test/resources/**/*.json</include>
236 <name>Official Maven repository</name>
237 <url>http://repo2.maven.org/maven2/</url>
240 <id>ecomp-releases</id>
241 <name>Release Repository</name>
242 <url>${nexus.proxy}/content/repositories/releases/</url>
245 <id>ecomp-snapshots</id>
246 <name>Snapshots Repository</name>
247 <url>${nexus.proxy}/content/repositories/snapshots/</url>
251 <distributionManagement>
253 <id>ecomp-releases</id>
254 <name>Release Repository</name>
255 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
258 <id>ecomp-snapshots</id>
259 <name>Snapshot Repository</name>
260 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
261 </snapshotRepository>
264 <url>dav:${nexus.proxy}${sitePath}</url>
266 </distributionManagement>