blob: c1f9184579bc9c0aa41efc3dc39a01c07c53aa59 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001<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 <modelVersion>4.0.0</modelVersion>
4
5 <groupId>org.openecomp.sdc</groupId>
6 <artifactId>sdc-main</artifactId>
Michael Landoebd7c8f2017-03-15 20:38:00 +02007 <version>1.1.0-SNAPSHOT</version>
Michael Lando451a3402017-02-19 10:28:42 +02008 <packaging>pom</packaging>
AviZi280f8012017-06-09 02:39:56 +03009
Michael Lando451a3402017-02-19 10:28:42 +020010
11 <properties>
12
13 <!-- ==================== -->
14 <!-- Generic properties -->
15 <!-- ==================== -->
Michael Lando9db40522017-07-22 17:10:02 +030016 <build.type>-SNAPSHOT</build.type>
Michael Lando451a3402017-02-19 10:28:42 +020017 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Michael Lando75aacbb2017-07-17 21:12:03 +030018 <sprint.number>74</sprint.number>
Michael Lando451a3402017-02-19 10:28:42 +020019
20 <!-- 3rd parties versions -->
21 <lang3.version>3.3.2</lang3.version>
22 <guava.version>18.0</guava.version>
23 <titan.version>1.0.0</titan.version>
24 <spring-boot.version>1.1.6.RELEASE</spring-boot.version>
25 <spring.version>4.3.4.RELEASE</spring.version>
26 <spring.security.version>3.2.3.RELEASE</spring.security.version>
27 <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
AviZi280f8012017-06-09 02:39:56 +030028 <jersey-bom.version>2.24</jersey-bom.version>
29 <servlet-api.version>2.5</servlet-api.version>
30
AviZi280f8012017-06-09 02:39:56 +030031 <artifact-generator-api.version>1.1.0-SNAPSHOT</artifact-generator-api.version>
32 <artifact-generator-core.version>1.1.0-SNAPSHOT</artifact-generator-core.version>
Avi Ziv11c43842017-07-16 15:21:15 +030033 <ecomp.version>1.1.0</ecomp.version>
Michael Landoebd7c8f2017-03-15 20:38:00 +020034 <dox-common-lib.version>1.1.0-SNAPSHOT</dox-common-lib.version>
Michael Lando451a3402017-02-19 10:28:42 +020035
Michael Lando451a3402017-02-19 10:28:42 +020036 <!-- Elastic Search mapper (reference the elastic search version actually). -->
37 <elastic-search.version>2.1.0</elastic-search.version>
Michael Lando451a3402017-02-19 10:28:42 +020038 <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
39 <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
40 <jetty.version>9.2.10.v20150310</jetty.version>
41
42 <!-- JSON and YAML Parsing -->
43 <jackson.version>2.6.2</jackson.version>
Michael Landob3d48982017-06-11 14:22:02 +030044 <jackson.yaml.version>2.8.1</jackson.yaml.version>
Michael Lando451a3402017-02-19 10:28:42 +020045 <jackson.annotations.version>2.6.0</jackson.annotations.version>
46
47 <!-- Yaml for properties -->
AviZi280f8012017-06-09 02:39:56 +030048 <snakeyaml.version>1.14</snakeyaml.version>
49 <functionaljava.version>4.4</functionaljava.version>
Michael Lando451a3402017-02-19 10:28:42 +020050 <httpclient.version>4.4.1</httpclient.version>
51 <httpcore.version>4.4.1</httpcore.version>
52 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030053
Michael Lando451a3402017-02-19 10:28:42 +020054
55 <!-- Logging start -->
56 <!-- logback -->
AviZi280f8012017-06-09 02:39:56 +030057 <logback.version>1.1.2</logback.version>
58 <slf4j-api.version>1.7.10</slf4j-api.version>
59 <commons-codec>1.10</commons-codec>
60 <commons-logging>1.2</commons-logging>
Michael Lando451a3402017-02-19 10:28:42 +020061 <groovy.version>2.3.5</groovy.version>
62 <janino.version>3.0.6</janino.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030063
Michael Lando451a3402017-02-19 10:28:42 +020064 <!-- aspects -->
65 <jcabi.version>0.20.1</jcabi.version>
66 <aspectjrt.version>1.8.4</aspectjrt.version>
AviZi280f8012017-06-09 02:39:56 +030067 <aspectj.version>1.7.4</aspectj.version>
Michael Lando451a3402017-02-19 10:28:42 +020068 <jcabi.plugin.version>0.13.2</jcabi.plugin.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030069
Michael Lando451a3402017-02-19 10:28:42 +020070 <!-- Logging end -->
71 <!-- System Metrics -->
72 <sigar.version>1.6.4</sigar.version>
73
AviZi280f8012017-06-09 02:39:56 +030074 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +020075
AviZi280f8012017-06-09 02:39:56 +030076 <codehaus.jackson.core>1.9.2</codehaus.jackson.core>
77
78 <!--GSON-->
79 <gson.version>2.3.1</gson.version>
80
81 <!--listen to file changes-->
82 <commons-jci-core.version>1.1</commons-jci-core.version>
83
84 <!--TESTING-->
85 <mockito.version>1.10.19</mockito.version>
86 <junit.version>4.12</junit.version>
87 <testng.version>6.9.10</testng.version>
88 <extentreports.version>3.0.3</extentreports.version>
Tal Gitelmanffdda7d2017-07-02 15:33:25 +030089
Tal Gitelmaned7e1c32017-06-29 19:30:00 +030090 <!-- parser-->
91 <sdc-tosca-parser.version>1.1.14-SNAPSHOT</sdc-tosca-parser.version>
Tal Gitelmanffdda7d2017-07-02 15:33:25 +030092
Michael Lando451a3402017-02-19 10:28:42 +020093 <!--JaCoCO -->
94 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
95 <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
96 <sonar.jacoco.itReportPath>${project.basedir}/target/it-jacoco.exec</sonar.jacoco.itReportPath>
AviZi280f8012017-06-09 02:39:56 +030097 <sonar.language>java</sonar.language>
98 <sonar.version>${project.version}</sonar.version>
Michael Lando451a3402017-02-19 10:28:42 +020099
100 <!--cassandra -->
101 <cassandra.driver.version>3.0.0</cassandra.driver.version>
AviZi280f8012017-06-09 02:39:56 +0300102 <!-- maven central (Nexus) -->
103 <nexus.id.release>nexus</nexus.id.release>
104 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Michael Lando451a3402017-02-19 10:28:42 +0200105 <!-- Sonar properties -->
Michael Lando451a3402017-02-19 10:28:42 +0200106 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
107 <sonar.skipDesign>true</sonar.skipDesign>
108 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
ml636rd0214c72017-02-22 11:36:55 +0200109 <sonar.sources>.</sonar.sources>
ml636r72e56e42017-02-27 12:36:59 +0200110 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
ml636rd0214c72017-02-22 11:36:55 +0200111 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
112 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
113
114 <!--nexus-->
Andrew Grimberge636a202017-03-29 13:11:14 -0700115 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
ig6133a16ca442017-04-05 16:10:49 +0300116 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
ml636rd0214c72017-02-22 11:36:55 +0200117 <staging.profile.id>176c31dfe190a</staging.profile.id>
Michael Lando5e3ea6a2017-03-15 22:15:17 +0200118 <!--maven-->
119 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
Michael Lando451a3402017-02-19 10:28:42 +0200120 </properties>
121
122 <reporting>
123 <plugins>
124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-javadoc-plugin</artifactId>
127 <version>2.10.4</version>
128 <configuration>
129 <failOnError>false</failOnError>
130 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
131 <docletArtifact>
132 <groupId>org.umlgraph</groupId>
133 <artifactId>umlgraph</artifactId>
134 <version>5.6</version>
135 </docletArtifact>
136 <additionalparam>-views</additionalparam>
137 <useStandardDocletOptions>true</useStandardDocletOptions>
138 </configuration>
139 </plugin>
140 </plugins>
141 </reporting>
142
Michael Lando451a3402017-02-19 10:28:42 +0200143 <build>
144 <pluginManagement>
145 <plugins>
146
147 <plugin>
148 <groupId>org.apache.maven.plugins</groupId>
149 <artifactId>maven-site-plugin</artifactId>
150 <version>3.4</version>
151 <dependencies>
152 <dependency>
153 <groupId>org.apache.maven.wagon</groupId>
154 <artifactId>wagon-webdav-jackrabbit</artifactId>
155 <version>2.10</version>
156 </dependency>
157 </dependencies>
158 </plugin>
159
160
161 <plugin>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-assembly-plugin</artifactId>
164 <version>2.6</version>
165 </plugin>
166
167 <plugin>
168 <groupId>org.codehaus.mojo</groupId>
169 <artifactId>exec-maven-plugin</artifactId>
170 <version>1.4.0</version>
171 </plugin>
172 <plugin>
173 <groupId>org.sonarsource.scanner.maven</groupId>
174 <artifactId>sonar-maven-plugin</artifactId>
175 <version>3.0.2</version>
176 </plugin>
177 </plugins>
178 </pluginManagement>
179
180 <plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200181 <plugin>
182 <artifactId>maven-surefire-plugin</artifactId>
183 <version>2.19.1</version>
184 <configuration>
185 <systemPropertyVariables>
186 <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
187 </systemPropertyVariables>
188 </configuration>
189 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300190 <!-- plugin for parsing the project version -->
191 <plugin>
192 <groupId>org.codehaus.mojo</groupId>
193 <artifactId>build-helper-maven-plugin</artifactId>
194 <version>1.8</version>
195 <executions>
196 <execution>
197 <id>parse-version</id>
198 <goals>
199 <goal>parse-version</goal>
200 </goals>
201 </execution>
202 </executions>
203 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200204
Michael Lando451a3402017-02-19 10:28:42 +0200205 <!-- Set the JDK compiler version. -->
Michael Lando451a3402017-02-19 10:28:42 +0200206 <plugin>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-compiler-plugin</artifactId>
209 <version>2.5.1</version>
210 <inherited>true</inherited>
211 <configuration>
212 <source>1.8</source>
213 <target>1.8</target>
214 </configuration>
215 </plugin>
216
Michael Lando451a3402017-02-19 10:28:42 +0200217 <!-- Java Code Coverage -->
Michael Lando451a3402017-02-19 10:28:42 +0200218 <plugin>
219 <groupId>org.jacoco</groupId>
220 <artifactId>jacoco-maven-plugin</artifactId>
221 <version>0.7.1.201405082137</version>
222 <inherited>True</inherited>
Michael Lando451a3402017-02-19 10:28:42 +0200223 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200224 <!-- Unit-Tests -->
225 <execution>
226 <id>prepare-agent</id>
227 <goals>
228 <goal>prepare-agent</goal>
229 </goals>
230 <configuration>
231 <destFile>${sonar.jacoco.reportPath}</destFile>
232 </configuration>
233 </execution>
Michael Lando451a3402017-02-19 10:28:42 +0200234 <execution>
235 <id>report</id>
236 <goals>
237 <goal>report</goal>
238 </goals>
239 <configuration>
240 <dataFile>${sonar.jacoco.reportPath}</dataFile>
241 <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory>
242 </configuration>
243 </execution>
244
245 <!-- Integration Tests (Only report goal) -->
246 <execution>
247 <id>report-integration</id>
248 <goals>
249 <goal>report-integration</goal>
250 </goals>
251 <configuration>
252 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
253 <outputDirectory>${project.basedir}/target/site/it-jacoco</outputDirectory>
254 </configuration>
255 </execution>
256 </executions>
257 </plugin>
258
Michael Lando451a3402017-02-19 10:28:42 +0200259 <!-- Set the deployment repositories properties. -->
Michael Lando451a3402017-02-19 10:28:42 +0200260 <plugin>
261 <groupId>org.codehaus.gmaven</groupId>
262 <artifactId>gmaven-plugin</artifactId>
263 <version>1.4</version>
264 <executions>
265 <execution>
266 <inherited>false</inherited>
267 <phase>integration-test</phase>
268 <goals>
269 <goal>execute</goal>
270 </goals>
271 <configuration>
272 <source>
273 pom.properties['deploy.url']=
274 pom.version.contains('-SNAPSHOT') ?
275 project.distributionManagement.snapshotRepository.url :
276 project.distributionManagement.repository.url;
277 pom.properties['repo.id']= pom.version.contains('-SNAPSHOT') ?
278 project.distributionManagement.snapshotRepository.id :
279 project.distributionManagement.repository.id;
280 </source>
281 </configuration>
282 </execution>
283 </executions>
284 </plugin>
285
Michael Lando451a3402017-02-19 10:28:42 +0200286 <!-- license plugin -->
287 <plugin>
288 <groupId>org.codehaus.mojo</groupId>
289 <artifactId>license-maven-plugin</artifactId>
290 <version>1.10</version>
291 <configuration>
292 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
293 <processStartTag>============LICENSE_START=======================================================</processStartTag>
294 <processEndTag>============LICENSE_END=========================================================</processEndTag>
295 <sectionDelimiter>================================================================================</sectionDelimiter>
296 <licenseName>apache_v2</licenseName>
297 <inceptionYear>2017</inceptionYear>
Michael Lando3c3c8332017-07-20 01:29:49 +0300298 <organizationName>AT&amp;T Intellectual Property. All rights
299 reserved.</organizationName>
Michael Lando451a3402017-02-19 10:28:42 +0200300 <projectName>SDC</projectName>
301 <canUpdateCopyright>true</canUpdateCopyright>
302 <canUpdateDescription>true</canUpdateDescription>
303 <canUpdateLicense>true</canUpdateLicense>
304 <emptyLineAfterHeader>true</emptyLineAfterHeader>
305 <verbose>false</verbose>
306 <includes>
307 <include>**/*.java</include>
Michael Lando451a3402017-02-19 10:28:42 +0200308 <include>**/*.ts</include>
309 </includes>
AviZi280f8012017-06-09 02:39:56 +0300310 <excludes>
311 <exclude>**/*.d.ts</exclude>
312 </excludes>
Michael Lando451a3402017-02-19 10:28:42 +0200313 <roots>
314 <root>src</root>
315 <root>app</root>
316 <root>server-mock</root>
317 <root>typings</root>
318 </roots>
AviZi280f8012017-06-09 02:39:56 +0300319 <extraExtensions>
320 <ts>java</ts>
321 </extraExtensions>
Michael Lando451a3402017-02-19 10:28:42 +0200322 </configuration>
323 <executions>
324 <execution>
325 <id>first</id>
326 <goals>
327 <goal>update-file-header</goal>
328 </goals>
AviZi280f8012017-06-09 02:39:56 +0300329 <!--phase>process-sources</phase -->
Michael Lando451a3402017-02-19 10:28:42 +0200330 </execution>
331 </executions>
332 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300333 </plugins>
334 </build>
Michael Lando451a3402017-02-19 10:28:42 +0200335
AviZi280f8012017-06-09 02:39:56 +0300336 <profiles>
337 <profile>
338 <id>all</id>
339 <activation>
340 <activeByDefault>true</activeByDefault>
341 </activation>
342 <modules>
343 <module>onboarding</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300344 <module>security-utils</module>
AviZi280f8012017-06-09 02:39:56 +0300345 <module>common-app-api</module>
346 <module>common-be</module>
347 <module>catalog-dao</module>
348 <module>catalog-model</module>
349 <module>catalog-be</module>
350 <module>asdctool</module>
351 <module>catalog-ui</module>
352 <module>catalog-fe</module>
353 <module>asdc-tests</module>
Michael Lando4d97d5f2017-06-17 22:40:44 +0300354 <module>test-apis-ci</module>
355 <module>ui-ci</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300356 <module>sdc-os-chef</module>
AviZi280f8012017-06-09 02:39:56 +0300357 </modules>
358
359 </profile>
Michael Lando451a3402017-02-19 10:28:42 +0200360
AviZi280f8012017-06-09 02:39:56 +0300361 <profile>
362 <id>catalog</id>
363 <activation>
364 <activeByDefault>false</activeByDefault>
365 </activation>
366 <modules>
367 <module>security-utils</module>
368 <module>common-app-api</module>
369 <module>common-be</module>
370 <module>catalog-dao</module>
371 <module>catalog-model</module>
372 <module>catalog-be</module>
373 <module>asdctool</module>
374 <module>catalog-ui</module>
375 <module>catalog-fe</module>
376 <module>asdc-tests</module>
377 <module>test-apis-ci</module>
378 <module>ui-ci</module>
Michael Landoc61d2242017-06-20 11:07:13 +0300379 </modules>
380
381 <properties>
382 <ecomp.version>1.2.7</ecomp.version>
Michael Lando3c3c8332017-07-20 01:29:49 +0300383 <artifact-generator-api.version>1710.0.0-SNAPSHOT</artifact-generator-api.version>
384 <artifact-generator-core.version>1710.0.0-SNAPSHOT</artifact-generator-core.version>
385 <dox-common-lib.version>1710.0.0-SNAPSHOT</dox-common-lib.version>
Tal Gitelmaned7e1c32017-06-29 19:30:00 +0300386 <sdc-tosca-parser.version>1.1.14</sdc-tosca-parser.version>
Michael Landoc61d2242017-06-20 11:07:13 +0300387 </properties>
388
Tal Gitelmaned7e1c32017-06-29 19:30:00 +0300389
Michael Landoc61d2242017-06-20 11:07:13 +0300390 </profile>
391
Michael Lando451a3402017-02-19 10:28:42 +0200392
AviZi280f8012017-06-09 02:39:56 +0300393
394 <profile>
395 <id>onboarding</id>
396 <activation>
397 <activeByDefault>false</activeByDefault>
398 </activation>
399 <modules>
400 <module>onboarding</module>
401 </modules>
402 </profile>
AviZi280f8012017-06-09 02:39:56 +0300403 </profiles>
404
405 <repositories>
406 <repository>
407 <id>virtuos</id>
408 <name>Virtuos</name>
409 <url>http://nexus.virtuos.uos.de/nexus/content/repositories/public/</url>
410 <layout>default</layout>
411 </repository>
412 <repository>
413 <id>apache-public</id>
414 <name>Apache-Public</name>
415 <url>https://repository.apache.org/content/groups/public/</url>
416 <layout>default</layout>
417 </repository>
418 <repository>
419 <id>elasticsearch-releases</id>
420 <url>https://maven.elasticsearch.org/releases</url>
421 <releases>
422 <enabled>true</enabled>
423 </releases>
424 <snapshots>
425 <enabled>false</enabled>
426 </snapshots>
427 </repository>
AviZi280f8012017-06-09 02:39:56 +0300428 <repository>
429 <id>ecomp-releases</id>
430 <name>Release Repository</name>
431 <url>${nexus.proxy}/content/repositories/releases/</url>
432 </repository>
433 <repository>
434 <id>ecomp-staging</id>
435 <name>Staging Repository</name>
436 <url>${nexus.proxy}/content/repositories/staging/</url>
437 </repository>
438 <repository>
439 <id>ecomp-snapshots</id>
440 <name>Snapshots Repository</name>
441 <url>${nexus.proxy}/content/repositories/snapshots/</url>
442 </repository>
443 <repository>
444 <id>node</id>
445 <name>Node</name>
446 <url>https://maven-nodejs-proxy.pvtool.org/</url>
447 </repository>
448 <repository>
449 <id>SonoType</id>
450 <name>sonotype</name>
451 <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
452 </repository>
453 </repositories>
454
455 <distributionManagement>
456
457 <repository>
458 <id>ecomp-releases</id>
459 <name>Release Repository</name>
460 <url>${nexus.proxy}/content/repositories/releases/</url>
461 </repository>
462 <snapshotRepository>
463 <id>ecomp-snapshots</id>
464 <name>Snapshot Repository</name>
465 <url>${nexus.proxy}/content/repositories/snapshots/</url>
466 </snapshotRepository>
467 <site>
468 <id>ecomp-site</id>
469 <url>dav:${nexus.proxy}${sitePath}</url>
470 </site>
471 </distributionManagement>
472</project>
Michael Lando451a3402017-02-19 10:28:42 +0200473