Interfaces support in SDC 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.3.5-SNAPSHOT</version>
11         <packaging>jar</packaging>
12
13         <properties>
14
15                 <!-- ==================== -->
16                 <!-- Generic properties -->
17                 <!-- ==================== -->
18                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19
20                 <!-- ==================== -->
21                 <!-- Versions -->
22                 <!-- ==================== -->
23                 <!-- Global project version -->
24
25                 <!-- Dependencies projects version -->
26                 <!--<sonar.skipDesign>true</sonar.skipDesign>-->
27                 <!--<sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>-->
28                 <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
29                 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
30                 <sitePath>/content/sites/site/org/onap/sdc/sdc-tosca/${project.version}</sitePath>
31                 <snapshots.path>snapshots</snapshots.path>
32                 <releases.path>releases</releases.path>
33                 <staging.profile.id>176c31dfe190a</staging.profile.id>
34                 <!-- Sonar properties -->
35                 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
36                 <sonar.skipDesign>true</sonar.skipDesign>
37                 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
38                 <sonar.sources>.</sonar.sources>
39                 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
40                 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
41                 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
42                 <sonar.branch>${project.version}</sonar.branch>
43
44         </properties>
45
46         <dependencies>
47
48                 <dependency>
49                         <groupId>org.slf4j</groupId>
50                         <artifactId>slf4j-api</artifactId>
51                         <version>1.7.10</version>
52                         <scope>compile</scope>
53                 </dependency>
54                 <dependency>
55                         <groupId>com.google.code.gson</groupId>
56                         <artifactId>gson</artifactId>
57                         <version>2.3.1</version>
58                         <scope>compile</scope>
59                 </dependency>
60
61                 <dependency>
62                         <groupId>org.functionaljava</groupId>
63                         <artifactId>functionaljava</artifactId>
64                         <version>4.2</version>
65                         <scope>compile</scope>
66                 </dependency>
67
68                 <dependency>
69                         <groupId>commons-io</groupId>
70                         <artifactId>commons-io</artifactId>
71                         <version>2.5</version>
72                         <scope>compile</scope>
73                 </dependency>
74
75                 <dependency>
76                         <groupId>commons-codec</groupId>
77                         <artifactId>commons-codec</artifactId>
78                         <version>1.9</version>
79                         <scope>compile</scope>
80                 </dependency>
81
82                 <!-- YAML parser -->
83                 <dependency>
84                         <groupId>org.yaml</groupId>
85                         <artifactId>snakeyaml</artifactId>
86                         <version>1.14</version>
87                         <scope>compile</scope>
88                 </dependency>
89
90                 <!-- Apache Commons -->
91                 <dependency>
92                         <groupId>org.apache.commons</groupId>
93                         <artifactId>commons-lang3</artifactId>
94                         <version>3.5</version>
95                         <scope>compile</scope>
96                 </dependency>
97                 
98                 <dependency>
99                         <groupId>com.google.guava</groupId>
100                         <artifactId>guava</artifactId>
101                         <version>21.0</version>
102                         <scope>compile</scope>
103                 </dependency>
104                 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
105                 <dependency>
106                     <groupId>com.fasterxml.jackson.core</groupId>
107                     <artifactId>jackson-databind</artifactId>
108                     <version>2.9.4</version>
109                 </dependency>
110
111                 <!-- jtosca Tosca Parser -->
112                 <dependency>
113                         <groupId>org.onap.sdc.jtosca</groupId>
114                         <artifactId>jtosca</artifactId>
115                         <version>1.3.5-SNAPSHOT</version>
116                 </dependency>
117
118
119                 <!-- TEST -->
120                 <dependency>
121                         <groupId>org.eclipse.jetty</groupId>
122                         <artifactId>jetty-servlet</artifactId>
123                         <scope>test</scope>
124                         <version>9.2.10.v20150310</version>
125                 </dependency>
126
127                 <dependency>
128                         <groupId>org.eclipse.jetty</groupId>
129                         <artifactId>jetty-webapp</artifactId>
130                         <version>9.2.10.v20150310</version>
131                         <scope>test</scope>
132                 </dependency>
133
134                 <!--<dependency> -->
135                 <!--<groupId>junit</groupId> -->
136                 <!--<artifactId>junit</artifactId> -->
137                 <!--<version>4.12</version> -->
138                 <!--<scope>test</scope> -->
139                 <!--</dependency> -->
140
141                 <dependency>
142                         <groupId>org.testng</groupId>
143                         <artifactId>testng</artifactId>
144                         <version>6.11</version>
145                         <scope>test</scope>
146                 </dependency>
147
148                 <dependency>
149                         <groupId>org.mockito</groupId>
150                         <artifactId>mockito-all</artifactId>
151                         <version>1.10.19</version>
152                         <scope>test</scope>
153                 </dependency>
154
155                 <!-- <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> 
156                         <version>1.1.2</version> <scope>test</scope> </dependency> -->
157
158         </dependencies>
159         
160         <reporting>
161                 <plugins>
162                         <plugin>
163                                 <groupId>org.apache.maven.plugins</groupId>
164                                 <artifactId>maven-javadoc-plugin</artifactId>
165                                 <version>2.10.4</version>
166                                 <configuration>
167                                         <failOnError>false</failOnError>
168                                         <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
169                                         <docletArtifact>
170                                                 <groupId>org.umlgraph</groupId>
171                                                 <artifactId>umlgraph</artifactId>
172                                                 <version>5.6</version>
173                                         </docletArtifact>
174                                         <additionalparam>-views</additionalparam>
175                                         <useStandardDocletOptions>true</useStandardDocletOptions>
176                                 </configuration>
177                         </plugin>
178                 </plugins>
179         </reporting>
180
181         <build>
182                 <plugins>
183                         <plugin>
184                                 <groupId>org.apache.maven.plugins</groupId>
185                                 <artifactId>maven-site-plugin</artifactId>
186                                 <version>3.4</version>
187                                 <dependencies>
188                                         <dependency>
189                                                 <groupId>org.apache.maven.wagon</groupId>
190                                                 <artifactId>wagon-webdav-jackrabbit</artifactId>
191                                                 <version>2.10</version>
192                                         </dependency>
193                                 </dependencies>
194                         </plugin>
195
196                         <plugin>
197                                 <groupId>org.jacoco</groupId>
198                                 <artifactId>jacoco-maven-plugin</artifactId>
199                                 <version>0.7.8</version>
200                                 <executions>
201                                         <!-- Unit-Tests -->
202                                         <execution>
203                                                 <id>prepare-agent</id>
204                                                 <goals>
205                                                         <goal>prepare-agent</goal>
206                                                 </goals>
207                                                 <configuration>
208                                                         <destFile>${sonar.jacoco.reportPath}</destFile>
209                                                 </configuration>
210                                         </execution>
211                                 </executions>
212                         </plugin>
213
214                         <!-- Staging Plugin -->
215                         <plugin>
216                                 <groupId>org.sonatype.plugins</groupId>
217                                 <artifactId>nexus-staging-maven-plugin</artifactId>
218                                 <version>1.6.7</version>
219                                 <extensions>true</extensions>
220                                 <configuration>
221                                         <nexusUrl>${nexus.proxy}</nexusUrl>
222                                         <stagingProfileId>${staging.profile.id}</stagingProfileId>
223                                         <serverId>onap-staging</serverId>
224                                 </configuration>
225                         </plugin>
226
227                         <plugin>
228                                 <groupId>org.apache.maven.plugins</groupId>
229                                 <artifactId>maven-compiler-plugin</artifactId>
230                                 <version>2.5.1</version>
231                                 <inherited>true</inherited>
232                                 <configuration>
233                                         <source>1.8</source>
234                                         <target>1.8</target>
235                                 </configuration>
236                         </plugin>
237                         <plugin>
238                                 <groupId>org.apache.maven.plugins</groupId>
239                                 <artifactId>maven-javadoc-plugin</artifactId>
240                                 <version>2.10.3</version>
241                                 <configuration />
242                         </plugin>
243                         <!-- Test -->
244                         <plugin>
245                                 <groupId>org.apache.maven.plugins</groupId>
246                                 <artifactId>maven-surefire-plugin</artifactId>
247                                 <version>2.19.1</version>
248                                 <configuration>
249                                         <includes>
250                                                 <include>**/ToscaParser***Test.class</include>
251                                         </includes>
252                                 </configuration>
253                         </plugin>
254
255                         <plugin>
256                                 <groupId>org.sonarsource.scanner.maven</groupId>
257                                 <artifactId>sonar-maven-plugin</artifactId>
258                                 <version>3.0.2</version>
259                         </plugin>
260                 </plugins>
261         </build>
262
263         <repositories>
264                 <repository>
265                         <id>central</id>
266                         <name>Official Maven repository</name>
267                         <url>http://repo2.maven.org/maven2/</url>
268                 </repository>
269                 <repository>
270                         <id>onap-releases</id>
271                         <name>Release Repository</name>
272                         <url>${nexus.proxy}/content/repositories/releases/</url>
273                 </repository>
274                 <repository>
275                         <id>onap-snapshots</id>
276                         <name>Snapshots Repository</name>
277                         <url>${nexus.proxy}/content/repositories/snapshots/</url>
278                 </repository>
279         </repositories>
280
281         <distributionManagement>
282                 <repository>
283                         <id>onap-releases</id>
284                         <name>Release Repository</name>
285                         <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
286                 </repository>
287                 <snapshotRepository>
288                         <id>onap-snapshots</id>
289                         <name>Snapshot Repository</name>
290                         <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
291                 </snapshotRepository>
292                 <site>
293                         <id>onap-site</id>
294                         <url>dav:${nexus.proxy}${sitePath}</url>
295                 </site>
296         </distributionManagement>
297 </project>