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">
4 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.onap.sdc.sdc-tosca</groupId>
7 <artifactId>sdc-tosca</artifactId>
8 <name>sdc-sdc-tosca</name>
9 <description>SDC Tosca Parser JAR file for use by consumers</description>
10 <version>1.6.0</version>
11 <packaging>jar</packaging>
14 <groupId>org.onap.oparent</groupId>
15 <artifactId>oparent</artifactId>
16 <version>2.0.0</version>
22 <!-- ==================== -->
23 <!-- Generic properties -->
24 <!-- ==================== -->
25 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
27 <!-- ==================== -->
29 <!-- ==================== -->
30 <!-- Global project version -->
32 <!-- Dependencies projects version -->
33 <!--<sonar.skipDesign>true</sonar.skipDesign>-->
34 <!--<sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>-->
35 <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
36 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
37 <sitePath>/content/sites/site/org/onap/sdc/sdc-tosca/${project.version}</sitePath>
38 <snapshots.path>snapshots</snapshots.path>
39 <releases.path>releases</releases.path>
40 <!-- Sonar properties -->
41 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
42 <sonar.skipDesign>true</sonar.skipDesign>
43 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
44 <sonar.sources>.</sonar.sources>
45 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
46 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
47 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
48 <sonar.branch>${project.version}</sonar.branch>
54 <groupId>org.slf4j</groupId>
55 <artifactId>slf4j-api</artifactId>
56 <scope>compile</scope>
57 <version>1.7.10</version>
60 <groupId>org.slf4j</groupId>
61 <artifactId>slf4j-log4j12</artifactId>
63 <version>1.7.10</version>
67 <groupId>com.google.code.gson</groupId>
68 <artifactId>gson</artifactId>
69 <version>2.3.1</version>
70 <scope>compile</scope>
74 <groupId>org.functionaljava</groupId>
75 <artifactId>functionaljava</artifactId>
76 <version>4.2</version>
77 <scope>compile</scope>
81 <groupId>commons-io</groupId>
82 <artifactId>commons-io</artifactId>
83 <version>2.5</version>
84 <scope>compile</scope>
88 <groupId>commons-codec</groupId>
89 <artifactId>commons-codec</artifactId>
90 <version>1.9</version>
91 <scope>compile</scope>
96 <groupId>org.yaml</groupId>
97 <artifactId>snakeyaml</artifactId>
98 <version>1.14</version>
99 <scope>compile</scope>
102 <!-- Apache Commons -->
104 <groupId>org.apache.commons</groupId>
105 <artifactId>commons-lang3</artifactId>
106 <version>3.5</version>
107 <scope>compile</scope>
111 <groupId>com.google.guava</groupId>
112 <artifactId>guava</artifactId>
113 <version>21.0</version>
114 <scope>compile</scope>
116 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
118 <groupId>com.fasterxml.jackson.core</groupId>
119 <artifactId>jackson-databind</artifactId>
120 <version>2.9.9</version>
123 <!-- jtosca Tosca Parser -->
125 <groupId>org.onap.sdc.jtosca</groupId>
126 <artifactId>jtosca</artifactId>
127 <version>1.6.0</version>
133 <groupId>org.eclipse.jetty</groupId>
134 <artifactId>jetty-servlet</artifactId>
136 <version>9.4.18.v20190429</version>
140 <groupId>org.eclipse.jetty</groupId>
141 <artifactId>jetty-webapp</artifactId>
142 <version>9.4.18.v20190429</version>
148 <groupId>org.testng</groupId>
149 <artifactId>testng</artifactId>
150 <version>6.11</version>
155 <groupId>org.mockito</groupId>
156 <artifactId>mockito-all</artifactId>
157 <version>1.10.19</version>
161 <groupId>junit</groupId>
162 <artifactId>junit</artifactId>
163 <version>4.11</version>
172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-javadoc-plugin</artifactId>
174 <version>2.10.4</version>
176 <failOnError>false</failOnError>
177 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
179 <groupId>org.umlgraph</groupId>
180 <artifactId>umlgraph</artifactId>
181 <version>5.6</version>
183 <additionalparam>-views</additionalparam>
184 <useStandardDocletOptions>true</useStandardDocletOptions>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-site-plugin</artifactId>
195 <version>3.4</version>
198 <groupId>org.apache.maven.wagon</groupId>
199 <artifactId>wagon-webdav-jackrabbit</artifactId>
200 <version>2.10</version>
206 <artifactId>maven-checkstyle-plugin</artifactId>
207 <version>2.17</version>
209 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
210 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
215 <groupId>org.jacoco</groupId>
216 <artifactId>jacoco-maven-plugin</artifactId>
217 <version>0.7.8</version>
221 <id>prepare-agent</id>
223 <goal>prepare-agent</goal>
226 <destFile>${sonar.jacoco.reportPath}</destFile>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-compiler-plugin</artifactId>
235 <version>2.5.1</version>
236 <inherited>true</inherited>
243 <groupId>org.apache.maven.plugins</groupId>
244 <artifactId>maven-javadoc-plugin</artifactId>
245 <version>2.10.3</version>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-surefire-plugin</artifactId>
252 <version>2.19.1</version>
255 <include>**/ToscaParser***Test.class</include>
261 <groupId>org.sonarsource.scanner.maven</groupId>
262 <artifactId>sonar-maven-plugin</artifactId>
263 <version>3.0.2</version>
267 <groupId>com.github.sylvainlaurent.maven</groupId>
268 <artifactId>yaml-json-validator-maven-plugin</artifactId>
269 <version>1.0.1</version>
273 <phase>validate</phase>
275 <goal>validate</goal>
281 <include>src/main/resources/**/*.y*ml</include>
282 <include>src/test/resources/**/*.y*ml</include>
287 <include>src/main/resources/**/*.json</include>
288 <include>src/test/resources/**/*.json</include>
302 <name>Official Maven repository</name>
303 <url>http://repo2.maven.org/maven2/</url>
306 <id>onap-releases</id>
307 <name>Release Repository</name>
308 <url>${nexus.proxy}/content/repositories/releases/</url>
311 <id>onap-snapshots</id>
312 <name>Snapshots Repository</name>
313 <url>${nexus.proxy}/content/repositories/snapshots/</url>
317 <distributionManagement>
319 <id>onap-releases</id>
320 <name>Release Repository</name>
321 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
324 <id>onap-snapshots</id>
325 <name>Snapshot Repository</name>
326 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
327 </snapshotRepository>
330 <url>dav:${nexus.proxy}${sitePath}</url>
332 </distributionManagement>