Added getVFModule API
[sdc/sdc-tosca.git] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4
5   <modelVersion>4.0.0</modelVersion>
6
7   <groupId>org.onap.sdc.sdc-tosca</groupId>
8   <artifactId>sdc-tosca-jtosca</artifactId>
9   <name>sdc-tosca-jtosca</name>
10   <description>SDC Tosca Parser JAR file for use by consumers</description>
11   <version>1.6.5-SNAPSHOT</version>
12   <packaging>pom</packaging>
13
14   <parent>
15     <groupId>org.onap.oparent</groupId>
16     <artifactId>oparent</artifactId>
17     <version>2.0.0</version>
18     <relativePath/>
19   </parent>
20
21   <modules>
22     <module>sdc-tosca</module>
23     <module>jtosca</module>
24   </modules>
25
26   <properties>
27
28     <!-- ==================== -->
29     <!-- Generic properties -->
30     <!-- ==================== -->
31     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32
33     <!-- ==================== -->
34     <!-- Versions -->
35     <hamcrest.version>2.1</hamcrest.version>
36     <!-- ==================== -->
37     <!-- Global project version -->
38
39     <!-- Dependencies projects version -->
40     <!--<sonar.skipDesign>true</sonar.skipDesign>-->
41     <!--<sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>-->
42     <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
43     <nexus.proxy>https://nexus.onap.org</nexus.proxy>
44     <sitePath>/content/sites/site/org/onap/sdc/sdc-tosca/${project.version}</sitePath>
45     <snapshots.path>snapshots</snapshots.path>
46     <releases.path>releases</releases.path>
47     <!-- Sonar properties -->
48     <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
49     <sonar.skipDesign>true</sonar.skipDesign>
50     <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
51     <sonar.sources>.</sonar.sources>
52     <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
53     <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
54     <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java
55     </sonar.inclusions>
56     <sonar.branch>${project.version}</sonar.branch>
57
58   </properties>
59
60   <dependencies>
61     <dependency>
62       <groupId>org.slf4j</groupId>
63       <artifactId>slf4j-api</artifactId>
64       <version>1.7.25</version>
65     </dependency>
66
67     <dependency>
68       <groupId>junit</groupId>
69       <artifactId>junit</artifactId>
70       <version>4.12</version>
71       <scope>test</scope>
72     </dependency>
73
74     <dependency>
75       <groupId>com.google.guava</groupId>
76       <artifactId>guava</artifactId>
77       <scope>compile</scope>
78       <version>25.1-jre</version>
79     </dependency>
80
81     <!-- YAML parser -->
82     <dependency>
83       <groupId>org.yaml</groupId>
84       <artifactId>snakeyaml</artifactId>
85       <version>1.14</version>
86       <scope>compile</scope>
87     </dependency>
88
89     <dependency>
90       <groupId>org.assertj</groupId>
91       <artifactId>assertj-core</artifactId>
92       <version>3.13.2</version>
93       <scope>test</scope>
94     </dependency>
95
96     <dependency>
97       <groupId>org.junit.jupiter</groupId>
98       <artifactId>junit-jupiter-api</artifactId>
99       <version>5.3.2</version>
100       <scope>test</scope>
101     </dependency>
102
103   </dependencies>
104
105   <reporting>
106     <plugins>
107       <plugin>
108         <groupId>org.apache.maven.plugins</groupId>
109         <artifactId>maven-javadoc-plugin</artifactId>
110         <version>2.10.4</version>
111         <configuration>
112           <failOnError>false</failOnError>
113           <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
114           <docletArtifact>
115             <groupId>org.umlgraph</groupId>
116             <artifactId>umlgraph</artifactId>
117             <version>5.6</version>
118           </docletArtifact>
119           <additionalparam>-views</additionalparam>
120           <useStandardDocletOptions>true</useStandardDocletOptions>
121         </configuration>
122       </plugin>
123     </plugins>
124   </reporting>
125
126   <build>
127     <plugins>
128       <plugin>
129         <groupId>org.apache.maven.plugins</groupId>
130         <artifactId>maven-site-plugin</artifactId>
131         <version>3.4</version>
132         <dependencies>
133           <dependency>
134             <groupId>org.apache.maven.wagon</groupId>
135             <artifactId>wagon-webdav-jackrabbit</artifactId>
136             <version>2.10</version>
137           </dependency>
138         </dependencies>
139       </plugin>
140
141       <plugin>
142         <artifactId>maven-checkstyle-plugin</artifactId>
143         <version>2.17</version>
144         <configuration>
145           <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
146           <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
147         </configuration>
148       </plugin>
149
150       <plugin>
151         <groupId>org.jacoco</groupId>
152         <artifactId>jacoco-maven-plugin</artifactId>
153         <version>0.7.8</version>
154         <executions>
155           <!-- Unit-Tests -->
156           <execution>
157             <id>prepare-agent</id>
158             <goals>
159               <goal>prepare-agent</goal>
160             </goals>
161             <configuration>
162                                                         <destFile>${sonar.jacoco.reportPath}</destFile>
163             </configuration>
164           </execution>
165         </executions>
166       </plugin>
167
168       <plugin>
169         <groupId>org.apache.maven.plugins</groupId>
170         <artifactId>maven-compiler-plugin</artifactId>
171         <version>2.5.1</version>
172         <inherited>true</inherited>
173         <configuration>
174           <source>1.8</source>
175           <target>1.8</target>
176         </configuration>
177       </plugin>
178       <plugin>
179         <groupId>org.apache.maven.plugins</groupId>
180         <artifactId>maven-javadoc-plugin</artifactId>
181         <version>2.10.3</version>
182         <configuration/>
183       </plugin>
184       <!-- Test -->
185       <plugin>
186         <groupId>org.apache.maven.plugins</groupId>
187         <artifactId>maven-surefire-plugin</artifactId>
188         <version>2.19.1</version>
189         <configuration>
190           <argLine>${argLine} -Xmx2048m</argLine>
191         </configuration>
192       </plugin>
193
194       <plugin>
195         <groupId>org.sonarsource.scanner.maven</groupId>
196         <artifactId>sonar-maven-plugin</artifactId>
197         <version>3.0.2</version>
198       </plugin>
199
200       <plugin>
201         <groupId>com.github.sylvainlaurent.maven</groupId>
202         <artifactId>yaml-json-validator-maven-plugin</artifactId>
203         <version>1.0.1</version>
204         <executions>
205           <execution>
206             <id>validate</id>
207             <phase>validate</phase>
208             <goals>
209               <goal>validate</goal>
210             </goals>
211             <configuration>
212               <validationSets>
213                 <validationSet>
214                   <includes>
215                     <include>src/main/resources/**/*.y*ml</include>
216                     <include>src/test/resources/**/*.y*ml</include>
217                   </includes>
218                 </validationSet>
219                 <validationSet>
220                   <includes>
221                     <include>src/main/resources/**/*.json</include>
222                     <include>src/test/resources/**/*.json</include>
223                   </includes>
224                 </validationSet>
225               </validationSets>
226             </configuration>
227           </execution>
228         </executions>
229       </plugin>
230     </plugins>
231   </build>
232
233   <repositories>
234     <repository>
235       <id>central</id>
236       <name>Official Maven repository</name>
237       <url>http://repo2.maven.org/maven2/</url>
238     </repository>
239     <repository>
240       <id>ecomp-releases</id>
241       <name>Release Repository</name>
242       <url>${nexus.proxy}/content/repositories/releases/</url>
243     </repository>
244     <repository>
245       <id>ecomp-snapshots</id>
246       <name>Snapshots Repository</name>
247       <url>${nexus.proxy}/content/repositories/snapshots/</url>
248     </repository>
249   </repositories>
250
251   <distributionManagement>
252     <repository>
253       <id>ecomp-releases</id>
254       <name>Release Repository</name>
255       <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
256     </repository>
257     <snapshotRepository>
258       <id>ecomp-snapshots</id>
259       <name>Snapshot Repository</name>
260       <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
261     </snapshotRepository>
262     <site>
263       <id>ecomp-site</id>
264       <url>dav:${nexus.proxy}${sitePath}</url>
265     </site>
266   </distributionManagement>
267 </project>