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 <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>
61 <groupId>org.slf4j</groupId>
62 <artifactId>slf4j-api</artifactId>
63 <version>1.7.25</version>
67 <groupId>junit</groupId>
68 <artifactId>junit</artifactId>
69 <version>4.12</version>
74 <groupId>com.google.guava</groupId>
75 <artifactId>guava</artifactId>
76 <scope>compile</scope>
77 <version>25.1-jre</version>
82 <groupId>org.yaml</groupId>
83 <artifactId>snakeyaml</artifactId>
84 <version>1.14</version>
85 <scope>compile</scope>
89 <groupId>org.assertj</groupId>
90 <artifactId>assertj-core</artifactId>
91 <version>3.13.2</version>
96 <groupId>org.junit.jupiter</groupId>
97 <artifactId>junit-jupiter-api</artifactId>
98 <version>5.3.2</version>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-javadoc-plugin</artifactId>
109 <version>2.10.4</version>
111 <failOnError>false</failOnError>
112 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
114 <groupId>org.umlgraph</groupId>
115 <artifactId>umlgraph</artifactId>
116 <version>5.6</version>
118 <additionalparam>-views</additionalparam>
119 <useStandardDocletOptions>true</useStandardDocletOptions>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-site-plugin</artifactId>
130 <version>3.4</version>
133 <groupId>org.apache.maven.wagon</groupId>
134 <artifactId>wagon-webdav-jackrabbit</artifactId>
135 <version>2.10</version>
141 <artifactId>maven-checkstyle-plugin</artifactId>
142 <version>2.17</version>
144 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
145 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
150 <groupId>org.jacoco</groupId>
151 <artifactId>jacoco-maven-plugin</artifactId>
152 <version>0.7.8</version>
156 <id>prepare-agent</id>
158 <goal>prepare-agent</goal>
161 <destFile>${sonar.jacoco.reportPath}</destFile>
168 <groupId>org.apache.maven.plugins</groupId>
169 <artifactId>maven-compiler-plugin</artifactId>
170 <version>2.5.1</version>
171 <inherited>true</inherited>
178 <groupId>org.apache.maven.plugins</groupId>
179 <artifactId>maven-javadoc-plugin</artifactId>
180 <version>2.10.3</version>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-surefire-plugin</artifactId>
187 <version>2.19.1</version>
189 <argLine>${argLine} -Xmx2048m</argLine>
194 <groupId>org.sonarsource.scanner.maven</groupId>
195 <artifactId>sonar-maven-plugin</artifactId>
196 <version>3.7.0.1746</version>
200 <groupId>com.github.sylvainlaurent.maven</groupId>
201 <artifactId>yaml-json-validator-maven-plugin</artifactId>
202 <version>1.0.1</version>
206 <phase>validate</phase>
208 <goal>validate</goal>
214 <include>src/main/resources/**/*.y*ml</include>
215 <include>src/test/resources/**/*.y*ml</include>
220 <include>src/main/resources/**/*.json</include>
221 <include>src/test/resources/**/*.json</include>
235 <name>Official Maven repository</name>
236 <url>http://repo2.maven.org/maven2/</url>
239 <id>ecomp-releases</id>
240 <name>Release Repository</name>
241 <url>${nexus.proxy}/content/repositories/releases/</url>
244 <id>ecomp-snapshots</id>
245 <name>Snapshots Repository</name>
246 <url>${nexus.proxy}/content/repositories/snapshots/</url>
250 <distributionManagement>
252 <id>ecomp-releases</id>
253 <name>Release Repository</name>
254 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
257 <id>ecomp-snapshots</id>
258 <name>Snapshot Repository</name>
259 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
260 </snapshotRepository>
263 <url>dav:${nexus.proxy}${sitePath}</url>
265 </distributionManagement>