1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.onap.sdc.jtosca</groupId>
6 <artifactId>jtosca</artifactId>
7 <version>1.6.0-SNAPSHOT</version>
8 <name>sdc-jtosca</name>
11 <groupId>org.onap.oparent</groupId>
12 <artifactId>oparent</artifactId>
13 <version>2.0.0</version>
19 <!-- ==================== -->
20 <!-- Generic properties -->
21 <!-- ==================== -->
22 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
24 <!-- ==================== -->
26 <!-- ==================== -->
27 <!-- Global project version -->
29 <!-- Dependencies projects version -->
30 <!--<sonar.skipDesign>true</sonar.skipDesign>-->
31 <!--<sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>-->
32 <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
33 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
34 <sitePath>/content/sites/site/org/onap/sdc/jtosca/${project.version}</sitePath>
35 <snapshots.path>snapshots</snapshots.path>
36 <releases.path>releases</releases.path>
37 <staging.profile.id>176c31dfe190a</staging.profile.id>
38 <!-- Sonar properties -->
39 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
40 <sonar.skipDesign>true</sonar.skipDesign>
41 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
42 <sonar.sources>.</sonar.sources>
43 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
44 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
45 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
46 <sonar.branch>${project.version}</sonar.branch>
53 <groupId>org.yaml</groupId>
54 <artifactId>snakeyaml</artifactId>
55 <version>1.14</version>
56 <scope>compile</scope>
60 <groupId>org.slf4j</groupId>
61 <artifactId>slf4j-api</artifactId>
62 <version>1.7.25</version>
65 <!-- <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId>
66 <version>1.1.2</version> <scope>test</scope> </dependency> -->
69 <groupId>junit</groupId>
70 <artifactId>junit</artifactId>
71 <version>4.12</version>
76 <groupId>com.opencsv</groupId>
77 <artifactId>opencsv</artifactId>
78 <version>3.10</version>
82 <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-io -->
84 <groupId>org.apache.commons</groupId>
85 <artifactId>commons-io</artifactId>
86 <version>1.3.2</version>
90 <groupId>org.reflections</groupId>
91 <artifactId>reflections</artifactId>
92 <version>0.9.11</version>
94 <exclusion> <!-- declare the exclusion here -->
95 <groupId>com.google.guava</groupId>
96 <artifactId>guava</artifactId>
101 <groupId>com.google.guava</groupId>
102 <artifactId>guava</artifactId>
103 <scope>compile</scope>
104 <version>25.1-jre</version>
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-javadoc-plugin</artifactId>
115 <version>2.10.4</version>
117 <failOnError>false</failOnError>
118 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
120 <groupId>org.umlgraph</groupId>
121 <artifactId>umlgraph</artifactId>
122 <version>5.6</version>
124 <additionalparam>-views</additionalparam>
125 <useStandardDocletOptions>true</useStandardDocletOptions>
134 <artifactId>maven-checkstyle-plugin</artifactId>
135 <version>2.17</version>
137 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
138 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-site-plugin</artifactId>
144 <version>3.4</version>
147 <groupId>org.apache.maven.wagon</groupId>
148 <artifactId>wagon-webdav-jackrabbit</artifactId>
149 <version>2.10</version>
155 <groupId>org.jacoco</groupId>
156 <artifactId>jacoco-maven-plugin</artifactId>
157 <version>0.7.8</version>
161 <id>prepare-agent</id>
163 <goal>prepare-agent</goal>
166 <destFile>${sonar.jacoco.reportPath}</destFile>
172 <!-- Staging Plugin -->
174 <groupId>org.sonatype.plugins</groupId>
175 <artifactId>nexus-staging-maven-plugin</artifactId>
176 <version>1.6.7</version>
177 <extensions>true</extensions>
179 <nexusUrl>${nexus.proxy}</nexusUrl>
180 <stagingProfileId>${staging.profile.id}</stagingProfileId>
181 <serverId>onap-staging</serverId>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-compiler-plugin</artifactId>
188 <version>2.5.1</version>
189 <inherited>true</inherited>
196 <groupId>org.apache.maven.plugins</groupId>
197 <artifactId>maven-javadoc-plugin</artifactId>
198 <version>2.10.3</version>
203 <groupId>org.apache.maven.plugins</groupId>
204 <artifactId>maven-surefire-plugin</artifactId>
205 <version>2.19.1</version>
208 <include>*/*</include>
213 <groupId>org.sonarsource.scanner.maven</groupId>
214 <artifactId>sonar-maven-plugin</artifactId>
215 <version>3.0.2</version>
218 <groupId>com.github.sylvainlaurent.maven</groupId>
219 <artifactId>yaml-json-validator-maven-plugin</artifactId>
220 <version>1.0.1</version>
224 <phase>validate</phase>
226 <goal>validate</goal>
232 <include>src/main/resources/**/*.y*ml</include>
233 <include>src/test/resources/**/*.y*ml</include>
238 <include>src/main/resources/**/*.json</include>
239 <include>src/test/resources/**/*.json</include>
253 <name>Official Maven repository</name>
254 <url>http://repo2.maven.org/maven2/</url>
257 <id>onap-releases</id>
258 <name>Release Repository</name>
259 <url>${nexus.proxy}/content/repositories/releases/</url>
262 <id>onap-snapshots</id>
263 <name>Snapshots Repository</name>
264 <url>${nexus.proxy}/content/repositories/snapshots/</url>
268 <distributionManagement>
270 <id>onap-releases</id>
271 <name>Release Repository</name>
272 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
275 <id>onap-snapshots</id>
276 <name>Snapshot Repository</name>
277 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
278 </snapshotRepository>
281 <url>dav:${nexus.proxy}${sitePath}</url>
283 </distributionManagement>