Official release of tosca parser
[sdc/sdc-tosca.git] / pom.xml
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
4         <modelVersion>4.0.0</modelVersion>
5         
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>
12
13         <parent>
14                 <groupId>org.onap.oparent</groupId>
15                 <artifactId>oparent</artifactId>
16                 <version>2.0.0</version>
17                 <relativePath/>
18         </parent>
19
20         <properties>
21
22                 <!-- ==================== -->
23                 <!-- Generic properties -->
24                 <!-- ==================== -->
25                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26
27                 <!-- ==================== -->
28                 <!-- Versions -->
29                 <!-- ==================== -->
30                 <!-- Global project version -->
31
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>
49
50         </properties>
51
52         <dependencies>
53                 <dependency>
54                         <groupId>org.slf4j</groupId>
55                         <artifactId>slf4j-api</artifactId>
56                         <scope>compile</scope>
57                         <version>1.7.10</version>
58                 </dependency>
59                 <dependency>
60                         <groupId>org.slf4j</groupId>
61                         <artifactId>slf4j-log4j12</artifactId>
62                         <scope>test</scope>
63                         <version>1.7.10</version>
64                 </dependency>
65
66                 <dependency>
67                         <groupId>com.google.code.gson</groupId>
68                         <artifactId>gson</artifactId>
69                         <version>2.3.1</version>
70                         <scope>compile</scope>
71                 </dependency>
72
73                 <dependency>
74                         <groupId>org.functionaljava</groupId>
75                         <artifactId>functionaljava</artifactId>
76                         <version>4.2</version>
77                         <scope>compile</scope>
78                 </dependency>
79
80                 <dependency>
81                         <groupId>commons-io</groupId>
82                         <artifactId>commons-io</artifactId>
83                         <version>2.5</version>
84                         <scope>compile</scope>
85                 </dependency>
86
87                 <dependency>
88                         <groupId>commons-codec</groupId>
89                         <artifactId>commons-codec</artifactId>
90                         <version>1.9</version>
91                         <scope>compile</scope>
92                 </dependency>
93
94                 <!-- YAML parser -->
95                 <dependency>
96                         <groupId>org.yaml</groupId>
97                         <artifactId>snakeyaml</artifactId>
98                         <version>1.14</version>
99                         <scope>compile</scope>
100                 </dependency>
101
102                 <!-- Apache Commons -->
103                 <dependency>
104                         <groupId>org.apache.commons</groupId>
105                         <artifactId>commons-lang3</artifactId>
106                         <version>3.5</version>
107                         <scope>compile</scope>
108                 </dependency>
109                 
110                 <dependency>
111                         <groupId>com.google.guava</groupId>
112                         <artifactId>guava</artifactId>
113                         <version>21.0</version>
114                         <scope>compile</scope>
115                 </dependency>
116                 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
117                 <dependency>
118                     <groupId>com.fasterxml.jackson.core</groupId>
119                     <artifactId>jackson-databind</artifactId>
120                     <version>2.9.9</version>
121                 </dependency>
122
123                 <!-- jtosca Tosca Parser -->
124                 <dependency>
125                         <groupId>org.onap.sdc.jtosca</groupId>
126                         <artifactId>jtosca</artifactId>
127                         <version>1.6.0</version>
128                 </dependency>
129
130
131                 <!-- TEST -->
132                 <dependency>
133                         <groupId>org.eclipse.jetty</groupId>
134                         <artifactId>jetty-servlet</artifactId>
135                         <scope>test</scope>
136                         <version>9.4.18.v20190429</version>
137                 </dependency>
138
139                 <dependency>
140                         <groupId>org.eclipse.jetty</groupId>
141                         <artifactId>jetty-webapp</artifactId>
142                         <version>9.4.18.v20190429</version>
143                         <scope>test</scope>
144                 </dependency>
145
146
147                 <dependency>
148                         <groupId>org.testng</groupId>
149                         <artifactId>testng</artifactId>
150                         <version>6.11</version>
151                         <scope>test</scope>
152                 </dependency>
153
154                 <dependency>
155                         <groupId>org.mockito</groupId>
156                         <artifactId>mockito-all</artifactId>
157                         <version>1.10.19</version>
158                         <scope>test</scope>
159                 </dependency>
160         <dependency>
161             <groupId>junit</groupId>
162             <artifactId>junit</artifactId>
163             <version>4.11</version>
164             <scope>test</scope>
165         </dependency>
166
167     </dependencies>
168         
169         <reporting>
170                 <plugins>
171                         <plugin>
172                                 <groupId>org.apache.maven.plugins</groupId>
173                                 <artifactId>maven-javadoc-plugin</artifactId>
174                                 <version>2.10.4</version>
175                                 <configuration>
176                                         <failOnError>false</failOnError>
177                                         <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
178                                         <docletArtifact>
179                                                 <groupId>org.umlgraph</groupId>
180                                                 <artifactId>umlgraph</artifactId>
181                                                 <version>5.6</version>
182                                         </docletArtifact>
183                                         <additionalparam>-views</additionalparam>
184                                         <useStandardDocletOptions>true</useStandardDocletOptions>
185                                 </configuration>
186                         </plugin>
187                 </plugins>
188         </reporting>
189
190         <build>
191                 <plugins>
192                         <plugin>
193                                 <groupId>org.apache.maven.plugins</groupId>
194                                 <artifactId>maven-site-plugin</artifactId>
195                                 <version>3.4</version>
196                                 <dependencies>
197                                         <dependency>
198                                                 <groupId>org.apache.maven.wagon</groupId>
199                                                 <artifactId>wagon-webdav-jackrabbit</artifactId>
200                                                 <version>2.10</version>
201                                         </dependency>
202                                 </dependencies>
203                         </plugin>
204
205                         <plugin>
206                                 <artifactId>maven-checkstyle-plugin</artifactId>
207                                 <version>2.17</version>
208                                 <configuration>
209                                         <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
210                                         <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
211                                 </configuration>
212                         </plugin>
213
214                         <plugin>
215                                 <groupId>org.jacoco</groupId>
216                                 <artifactId>jacoco-maven-plugin</artifactId>
217                                 <version>0.7.8</version>
218                                 <executions>
219                                         <!-- Unit-Tests -->
220                                         <execution>
221                                                 <id>prepare-agent</id>
222                                                 <goals>
223                                                         <goal>prepare-agent</goal>
224                                                 </goals>
225                                                 <configuration>
226                                                         <destFile>${sonar.jacoco.reportPath}</destFile>
227                                                 </configuration>
228                                         </execution>
229                                 </executions>
230                         </plugin>
231
232                         <plugin>
233                                 <groupId>org.apache.maven.plugins</groupId>
234                                 <artifactId>maven-compiler-plugin</artifactId>
235                                 <version>2.5.1</version>
236                                 <inherited>true</inherited>
237                                 <configuration>
238                                         <source>1.8</source>
239                                         <target>1.8</target>
240                                 </configuration>
241                         </plugin>
242                         <plugin>
243                                 <groupId>org.apache.maven.plugins</groupId>
244                                 <artifactId>maven-javadoc-plugin</artifactId>
245                                 <version>2.10.3</version>
246                                 <configuration />
247                         </plugin>
248                         <!-- Test -->
249                         <plugin>
250                                 <groupId>org.apache.maven.plugins</groupId>
251                                 <artifactId>maven-surefire-plugin</artifactId>
252                                 <version>2.19.1</version>
253                                 <configuration>
254                                         <includes>
255                                                 <include>**/ToscaParser***Test.class</include>
256                                         </includes>
257                                 </configuration>
258                         </plugin>
259
260                         <plugin>
261                                 <groupId>org.sonarsource.scanner.maven</groupId>
262                                 <artifactId>sonar-maven-plugin</artifactId>
263                                 <version>3.0.2</version>
264                         </plugin>
265
266                         <plugin>
267                                 <groupId>com.github.sylvainlaurent.maven</groupId>
268                                 <artifactId>yaml-json-validator-maven-plugin</artifactId>
269                                 <version>1.0.1</version>
270                                 <executions>
271                                         <execution>
272                                                 <id>validate</id>
273                                                 <phase>validate</phase>
274                                                 <goals>
275                                                         <goal>validate</goal>
276                                                 </goals>
277                                                 <configuration>
278                                                         <validationSets>
279                                                                 <validationSet>
280                                                                         <includes>
281                                                                                 <include>src/main/resources/**/*.y*ml</include>
282                                                                                 <include>src/test/resources/**/*.y*ml</include>
283                                                                         </includes>
284                                                                 </validationSet>
285                                                                 <validationSet>
286                                                                         <includes>
287                                                                                 <include>src/main/resources/**/*.json</include>
288                                                                                 <include>src/test/resources/**/*.json</include>
289                                                                         </includes>
290                                                                 </validationSet>
291                                                         </validationSets>
292                                                 </configuration>
293                                         </execution>
294                                 </executions>
295                         </plugin>
296                 </plugins>
297         </build>
298
299         <repositories>
300                 <repository>
301                         <id>central</id>
302                         <name>Official Maven repository</name>
303                         <url>http://repo2.maven.org/maven2/</url>
304                 </repository>
305                 <repository>
306                         <id>onap-releases</id>
307                         <name>Release Repository</name>
308                         <url>${nexus.proxy}/content/repositories/releases/</url>
309                 </repository>
310                 <repository>
311                         <id>onap-snapshots</id>
312                         <name>Snapshots Repository</name>
313                         <url>${nexus.proxy}/content/repositories/snapshots/</url>
314                 </repository>
315         </repositories>
316
317         <distributionManagement>
318                 <repository>
319                         <id>onap-releases</id>
320                         <name>Release Repository</name>
321                         <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
322                 </repository>
323                 <snapshotRepository>
324                         <id>onap-snapshots</id>
325                         <name>Snapshot Repository</name>
326                         <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
327                 </snapshotRepository>
328                 <site>
329                         <id>onap-site</id>
330                         <url>dav:${nexus.proxy}${sitePath}</url>
331                 </site>
332         </distributionManagement>
333 </project>