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>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-javadoc-plugin</artifactId>
96 <version>2.10.4</version>
98 <failOnError>false</failOnError>
99 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
101 <groupId>org.umlgraph</groupId>
102 <artifactId>umlgraph</artifactId>
103 <version>5.6</version>
105 <additionalparam>-views</additionalparam>
106 <useStandardDocletOptions>true</useStandardDocletOptions>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-site-plugin</artifactId>
117 <version>3.4</version>
120 <groupId>org.apache.maven.wagon</groupId>
121 <artifactId>wagon-webdav-jackrabbit</artifactId>
122 <version>2.10</version>
128 <artifactId>maven-checkstyle-plugin</artifactId>
129 <version>2.17</version>
131 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
132 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
137 <groupId>org.jacoco</groupId>
138 <artifactId>jacoco-maven-plugin</artifactId>
139 <version>0.7.8</version>
143 <id>prepare-agent</id>
145 <goal>prepare-agent</goal>
148 <destFile>${sonar.jacoco.reportPath}</destFile>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-compiler-plugin</artifactId>
157 <version>2.5.1</version>
158 <inherited>true</inherited>
165 <groupId>org.apache.maven.plugins</groupId>
166 <artifactId>maven-javadoc-plugin</artifactId>
167 <version>2.10.3</version>
172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-surefire-plugin</artifactId>
174 <version>2.19.1</version>
176 <argLine>${argLine} -Xmx2048m</argLine>
181 <groupId>org.sonarsource.scanner.maven</groupId>
182 <artifactId>sonar-maven-plugin</artifactId>
183 <version>3.0.2</version>
187 <groupId>com.github.sylvainlaurent.maven</groupId>
188 <artifactId>yaml-json-validator-maven-plugin</artifactId>
189 <version>1.0.1</version>
193 <phase>validate</phase>
195 <goal>validate</goal>
201 <include>src/main/resources/**/*.y*ml</include>
202 <include>src/test/resources/**/*.y*ml</include>
207 <include>src/main/resources/**/*.json</include>
208 <include>src/test/resources/**/*.json</include>
222 <name>Official Maven repository</name>
223 <url>http://repo2.maven.org/maven2/</url>
226 <id>ecomp-releases</id>
227 <name>Release Repository</name>
228 <url>${nexus.proxy}/content/repositories/releases/</url>
231 <id>ecomp-snapshots</id>
232 <name>Snapshots Repository</name>
233 <url>${nexus.proxy}/content/repositories/snapshots/</url>
237 <distributionManagement>
239 <id>ecomp-releases</id>
240 <name>Release Repository</name>
241 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
244 <id>ecomp-snapshots</id>
245 <name>Snapshot Repository</name>
246 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
247 </snapshotRepository>
250 <url>dav:${nexus.proxy}${sitePath}</url>
252 </distributionManagement>