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.5.1-SNAPSHOT</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 <staging.profile.id>176c31dfe190a</staging.profile.id>
41 <!-- Sonar properties -->
42 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
43 <sonar.skipDesign>true</sonar.skipDesign>
44 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
45 <sonar.sources>.</sonar.sources>
46 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
47 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
48 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
49 <sonar.branch>${project.version}</sonar.branch>
55 <groupId>org.slf4j</groupId>
56 <artifactId>slf4j-api</artifactId>
57 <scope>compile</scope>
58 <version>1.7.10</version>
61 <groupId>org.slf4j</groupId>
62 <artifactId>slf4j-log4j12</artifactId>
64 <version>1.7.10</version>
68 <groupId>com.google.code.gson</groupId>
69 <artifactId>gson</artifactId>
70 <version>2.3.1</version>
71 <scope>compile</scope>
75 <groupId>org.functionaljava</groupId>
76 <artifactId>functionaljava</artifactId>
77 <version>4.2</version>
78 <scope>compile</scope>
82 <groupId>commons-io</groupId>
83 <artifactId>commons-io</artifactId>
84 <version>2.5</version>
85 <scope>compile</scope>
89 <groupId>commons-codec</groupId>
90 <artifactId>commons-codec</artifactId>
91 <version>1.9</version>
92 <scope>compile</scope>
97 <groupId>org.yaml</groupId>
98 <artifactId>snakeyaml</artifactId>
99 <version>1.14</version>
100 <scope>compile</scope>
103 <!-- Apache Commons -->
105 <groupId>org.apache.commons</groupId>
106 <artifactId>commons-lang3</artifactId>
107 <version>3.5</version>
108 <scope>compile</scope>
112 <groupId>com.google.guava</groupId>
113 <artifactId>guava</artifactId>
114 <version>21.0</version>
115 <scope>compile</scope>
117 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
119 <groupId>com.fasterxml.jackson.core</groupId>
120 <artifactId>jackson-databind</artifactId>
121 <version>2.9.9</version>
124 <!-- jtosca Tosca Parser -->
126 <groupId>org.onap.sdc.jtosca</groupId>
127 <artifactId>jtosca</artifactId>
128 <version>1.6.0-SNAPSHOT</version>
134 <groupId>org.eclipse.jetty</groupId>
135 <artifactId>jetty-servlet</artifactId>
137 <version>9.4.18.v20190429</version>
141 <groupId>org.eclipse.jetty</groupId>
142 <artifactId>jetty-webapp</artifactId>
143 <version>9.4.18.v20190429</version>
149 <groupId>org.testng</groupId>
150 <artifactId>testng</artifactId>
151 <version>6.11</version>
156 <groupId>org.mockito</groupId>
157 <artifactId>mockito-all</artifactId>
158 <version>1.10.19</version>
162 <groupId>junit</groupId>
163 <artifactId>junit</artifactId>
164 <version>4.11</version>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-javadoc-plugin</artifactId>
175 <version>2.10.4</version>
177 <failOnError>false</failOnError>
178 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
180 <groupId>org.umlgraph</groupId>
181 <artifactId>umlgraph</artifactId>
182 <version>5.6</version>
184 <additionalparam>-views</additionalparam>
185 <useStandardDocletOptions>true</useStandardDocletOptions>
194 <groupId>org.apache.maven.plugins</groupId>
195 <artifactId>maven-site-plugin</artifactId>
196 <version>3.4</version>
199 <groupId>org.apache.maven.wagon</groupId>
200 <artifactId>wagon-webdav-jackrabbit</artifactId>
201 <version>2.10</version>
207 <artifactId>maven-checkstyle-plugin</artifactId>
208 <version>2.17</version>
210 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
211 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
216 <groupId>org.jacoco</groupId>
217 <artifactId>jacoco-maven-plugin</artifactId>
218 <version>0.7.8</version>
222 <id>prepare-agent</id>
224 <goal>prepare-agent</goal>
227 <destFile>${sonar.jacoco.reportPath}</destFile>
233 <!-- Staging Plugin -->
235 <groupId>org.sonatype.plugins</groupId>
236 <artifactId>nexus-staging-maven-plugin</artifactId>
237 <version>1.6.7</version>
238 <extensions>true</extensions>
240 <nexusUrl>${nexus.proxy}</nexusUrl>
241 <stagingProfileId>${staging.profile.id}</stagingProfileId>
242 <serverId>onap-staging</serverId>
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-compiler-plugin</artifactId>
249 <version>2.5.1</version>
250 <inherited>true</inherited>
257 <groupId>org.apache.maven.plugins</groupId>
258 <artifactId>maven-javadoc-plugin</artifactId>
259 <version>2.10.3</version>
264 <groupId>org.apache.maven.plugins</groupId>
265 <artifactId>maven-surefire-plugin</artifactId>
266 <version>2.19.1</version>
269 <include>**/ToscaParser***Test.class</include>
275 <groupId>org.sonarsource.scanner.maven</groupId>
276 <artifactId>sonar-maven-plugin</artifactId>
277 <version>3.0.2</version>
281 <groupId>com.github.sylvainlaurent.maven</groupId>
282 <artifactId>yaml-json-validator-maven-plugin</artifactId>
283 <version>1.0.1</version>
287 <phase>validate</phase>
289 <goal>validate</goal>
295 <include>src/main/resources/**/*.y*ml</include>
296 <include>src/test/resources/**/*.y*ml</include>
301 <include>src/main/resources/**/*.json</include>
302 <include>src/test/resources/**/*.json</include>
316 <name>Official Maven repository</name>
317 <url>http://repo2.maven.org/maven2/</url>
320 <id>onap-releases</id>
321 <name>Release Repository</name>
322 <url>${nexus.proxy}/content/repositories/releases/</url>
325 <id>onap-snapshots</id>
326 <name>Snapshots Repository</name>
327 <url>${nexus.proxy}/content/repositories/snapshots/</url>
331 <distributionManagement>
333 <id>onap-releases</id>
334 <name>Release Repository</name>
335 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
338 <id>onap-snapshots</id>
339 <name>Snapshot Repository</name>
340 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
341 </snapshotRepository>
344 <url>dav:${nexus.proxy}${sitePath}</url>
346 </distributionManagement>