blob: bade267b43808029832bd8e3979a3ceb8d36c3b2 [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 <!-- ==================== -->
16 <build.type>-SNAPSHOT</build.type>
17 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Michael Lando4d97d5f2017-06-17 22:40:44 +030018 <sprint.number>73</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
31 <!--<ecomp.version>3.3.6</ecomp.version>-->
32 <artifact-generator-api.version>1.1.0-SNAPSHOT</artifact-generator-api.version>
33 <artifact-generator-core.version>1.1.0-SNAPSHOT</artifact-generator-core.version>
Michael Landoebd7c8f2017-03-15 20:38:00 +020034 <ecomp.version>1.1.0-SNAPSHOT</ecomp.version>
Michael Landoebd7c8f2017-03-15 20:38:00 +020035 <dox-common-lib.version>1.1.0-SNAPSHOT</dox-common-lib.version>
Michael Lando451a3402017-02-19 10:28:42 +020036
Michael Lando451a3402017-02-19 10:28:42 +020037 <!-- Elastic Search mapper (reference the elastic search version actually). -->
38 <elastic-search.version>2.1.0</elastic-search.version>
Michael Lando451a3402017-02-19 10:28:42 +020039 <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
40 <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
41 <jetty.version>9.2.10.v20150310</jetty.version>
42
43 <!-- JSON and YAML Parsing -->
44 <jackson.version>2.6.2</jackson.version>
Michael Landob3d48982017-06-11 14:22:02 +030045 <jackson.yaml.version>2.8.1</jackson.yaml.version>
Michael Lando451a3402017-02-19 10:28:42 +020046 <jackson.annotations.version>2.6.0</jackson.annotations.version>
47
48 <!-- Yaml for properties -->
AviZi280f8012017-06-09 02:39:56 +030049 <snakeyaml.version>1.14</snakeyaml.version>
50 <functionaljava.version>4.4</functionaljava.version>
Michael Lando451a3402017-02-19 10:28:42 +020051 <httpclient.version>4.4.1</httpclient.version>
52 <httpcore.version>4.4.1</httpcore.version>
53 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030054
Michael Lando451a3402017-02-19 10:28:42 +020055
56 <!-- Logging start -->
57 <!-- logback -->
AviZi280f8012017-06-09 02:39:56 +030058 <logback.version>1.1.2</logback.version>
59 <slf4j-api.version>1.7.10</slf4j-api.version>
60 <commons-codec>1.10</commons-codec>
61 <commons-logging>1.2</commons-logging>
Michael Lando451a3402017-02-19 10:28:42 +020062 <groovy.version>2.3.5</groovy.version>
63 <janino.version>3.0.6</janino.version>
AviZi280f8012017-06-09 02:39:56 +030064
Michael Lando451a3402017-02-19 10:28:42 +020065 <!-- aspects -->
66 <jcabi.version>0.20.1</jcabi.version>
67 <aspectjrt.version>1.8.4</aspectjrt.version>
AviZi280f8012017-06-09 02:39:56 +030068 <aspectj.version>1.7.4</aspectj.version>
Michael Lando451a3402017-02-19 10:28:42 +020069 <jcabi.plugin.version>0.13.2</jcabi.plugin.version>
AviZi280f8012017-06-09 02:39:56 +030070
Michael Lando451a3402017-02-19 10:28:42 +020071 <!-- Logging end -->
72 <!-- System Metrics -->
73 <sigar.version>1.6.4</sigar.version>
74
AviZi280f8012017-06-09 02:39:56 +030075 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +020076
AviZi280f8012017-06-09 02:39:56 +030077 <codehaus.jackson.core>1.9.2</codehaus.jackson.core>
78
79 <!--GSON-->
80 <gson.version>2.3.1</gson.version>
81
82 <!--listen to file changes-->
83 <commons-jci-core.version>1.1</commons-jci-core.version>
84
85 <!--TESTING-->
86 <mockito.version>1.10.19</mockito.version>
87 <junit.version>4.12</junit.version>
88 <testng.version>6.9.10</testng.version>
89 <extentreports.version>3.0.3</extentreports.version>
Michael Lando451a3402017-02-19 10:28:42 +020090 <!--JaCoCO -->
91 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
92 <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
93 <sonar.jacoco.itReportPath>${project.basedir}/target/it-jacoco.exec</sonar.jacoco.itReportPath>
AviZi280f8012017-06-09 02:39:56 +030094 <sonar.language>java</sonar.language>
95 <sonar.version>${project.version}</sonar.version>
Michael Lando451a3402017-02-19 10:28:42 +020096
97 <!--cassandra -->
98 <cassandra.driver.version>3.0.0</cassandra.driver.version>
AviZi280f8012017-06-09 02:39:56 +030099 <!-- maven central (Nexus) -->
100 <nexus.id.release>nexus</nexus.id.release>
101 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Michael Lando451a3402017-02-19 10:28:42 +0200102 <!-- Sonar properties -->
Michael Lando451a3402017-02-19 10:28:42 +0200103 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
104 <sonar.skipDesign>true</sonar.skipDesign>
105 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
ml636rd0214c72017-02-22 11:36:55 +0200106 <sonar.sources>.</sonar.sources>
ml636r72e56e42017-02-27 12:36:59 +0200107 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
ml636rd0214c72017-02-22 11:36:55 +0200108 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
109 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
110
111 <!--nexus-->
Andrew Grimberge636a202017-03-29 13:11:14 -0700112 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
ig6133a16ca442017-04-05 16:10:49 +0300113 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
ml636rd0214c72017-02-22 11:36:55 +0200114 <staging.profile.id>176c31dfe190a</staging.profile.id>
Michael Lando5e3ea6a2017-03-15 22:15:17 +0200115 <!--maven-->
116 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
Michael Lando451a3402017-02-19 10:28:42 +0200117 </properties>
118
119 <reporting>
120 <plugins>
121 <plugin>
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-javadoc-plugin</artifactId>
124 <version>2.10.4</version>
125 <configuration>
126 <failOnError>false</failOnError>
127 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
128 <docletArtifact>
129 <groupId>org.umlgraph</groupId>
130 <artifactId>umlgraph</artifactId>
131 <version>5.6</version>
132 </docletArtifact>
133 <additionalparam>-views</additionalparam>
134 <useStandardDocletOptions>true</useStandardDocletOptions>
135 </configuration>
136 </plugin>
137 </plugins>
138 </reporting>
139
Michael Lando451a3402017-02-19 10:28:42 +0200140 <build>
141 <pluginManagement>
142 <plugins>
143
144 <plugin>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-site-plugin</artifactId>
147 <version>3.4</version>
148 <dependencies>
149 <dependency>
150 <groupId>org.apache.maven.wagon</groupId>
151 <artifactId>wagon-webdav-jackrabbit</artifactId>
152 <version>2.10</version>
153 </dependency>
154 </dependencies>
155 </plugin>
156
157
158 <plugin>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-assembly-plugin</artifactId>
161 <version>2.6</version>
162 </plugin>
163
164 <plugin>
165 <groupId>org.codehaus.mojo</groupId>
166 <artifactId>exec-maven-plugin</artifactId>
167 <version>1.4.0</version>
168 </plugin>
169 <plugin>
170 <groupId>org.sonarsource.scanner.maven</groupId>
171 <artifactId>sonar-maven-plugin</artifactId>
172 <version>3.0.2</version>
173 </plugin>
174 </plugins>
175 </pluginManagement>
176
177 <plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200178 <plugin>
179 <artifactId>maven-surefire-plugin</artifactId>
180 <version>2.19.1</version>
181 <configuration>
182 <systemPropertyVariables>
183 <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
184 </systemPropertyVariables>
185 </configuration>
186 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300187 <!-- plugin for parsing the project version -->
188 <plugin>
189 <groupId>org.codehaus.mojo</groupId>
190 <artifactId>build-helper-maven-plugin</artifactId>
191 <version>1.8</version>
192 <executions>
193 <execution>
194 <id>parse-version</id>
195 <goals>
196 <goal>parse-version</goal>
197 </goals>
198 </execution>
199 </executions>
200 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200201
Michael Lando451a3402017-02-19 10:28:42 +0200202 <!-- Set the JDK compiler version. -->
Michael Lando451a3402017-02-19 10:28:42 +0200203 <plugin>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-compiler-plugin</artifactId>
206 <version>2.5.1</version>
207 <inherited>true</inherited>
208 <configuration>
209 <source>1.8</source>
210 <target>1.8</target>
211 </configuration>
212 </plugin>
213
Michael Lando451a3402017-02-19 10:28:42 +0200214 <!-- Java Code Coverage -->
Michael Lando451a3402017-02-19 10:28:42 +0200215 <plugin>
216 <groupId>org.jacoco</groupId>
217 <artifactId>jacoco-maven-plugin</artifactId>
218 <version>0.7.1.201405082137</version>
219 <inherited>True</inherited>
Michael Lando451a3402017-02-19 10:28:42 +0200220 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200221 <!-- Unit-Tests -->
222 <execution>
223 <id>prepare-agent</id>
224 <goals>
225 <goal>prepare-agent</goal>
226 </goals>
227 <configuration>
228 <destFile>${sonar.jacoco.reportPath}</destFile>
229 </configuration>
230 </execution>
Michael Lando451a3402017-02-19 10:28:42 +0200231 <execution>
232 <id>report</id>
233 <goals>
234 <goal>report</goal>
235 </goals>
236 <configuration>
237 <dataFile>${sonar.jacoco.reportPath}</dataFile>
238 <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory>
239 </configuration>
240 </execution>
241
242 <!-- Integration Tests (Only report goal) -->
243 <execution>
244 <id>report-integration</id>
245 <goals>
246 <goal>report-integration</goal>
247 </goals>
248 <configuration>
249 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
250 <outputDirectory>${project.basedir}/target/site/it-jacoco</outputDirectory>
251 </configuration>
252 </execution>
253 </executions>
254 </plugin>
255
Michael Lando451a3402017-02-19 10:28:42 +0200256 <!-- Set the deployment repositories properties. -->
Michael Lando451a3402017-02-19 10:28:42 +0200257 <plugin>
258 <groupId>org.codehaus.gmaven</groupId>
259 <artifactId>gmaven-plugin</artifactId>
260 <version>1.4</version>
261 <executions>
262 <execution>
263 <inherited>false</inherited>
264 <phase>integration-test</phase>
265 <goals>
266 <goal>execute</goal>
267 </goals>
268 <configuration>
269 <source>
270 pom.properties['deploy.url']=
271 pom.version.contains('-SNAPSHOT') ?
272 project.distributionManagement.snapshotRepository.url :
273 project.distributionManagement.repository.url;
274 pom.properties['repo.id']= pom.version.contains('-SNAPSHOT') ?
275 project.distributionManagement.snapshotRepository.id :
276 project.distributionManagement.repository.id;
277 </source>
278 </configuration>
279 </execution>
280 </executions>
281 </plugin>
282
Michael Lando451a3402017-02-19 10:28:42 +0200283 <!-- license plugin -->
284 <plugin>
285 <groupId>org.codehaus.mojo</groupId>
286 <artifactId>license-maven-plugin</artifactId>
287 <version>1.10</version>
288 <configuration>
289 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
290 <processStartTag>============LICENSE_START=======================================================</processStartTag>
291 <processEndTag>============LICENSE_END=========================================================</processEndTag>
292 <sectionDelimiter>================================================================================</sectionDelimiter>
293 <licenseName>apache_v2</licenseName>
294 <inceptionYear>2017</inceptionYear>
295 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
296 <projectName>SDC</projectName>
297 <canUpdateCopyright>true</canUpdateCopyright>
298 <canUpdateDescription>true</canUpdateDescription>
299 <canUpdateLicense>true</canUpdateLicense>
300 <emptyLineAfterHeader>true</emptyLineAfterHeader>
301 <verbose>false</verbose>
302 <includes>
303 <include>**/*.java</include>
Michael Lando451a3402017-02-19 10:28:42 +0200304 <include>**/*.ts</include>
305 </includes>
AviZi280f8012017-06-09 02:39:56 +0300306 <excludes>
307 <exclude>**/*.d.ts</exclude>
308 </excludes>
Michael Lando451a3402017-02-19 10:28:42 +0200309 <roots>
310 <root>src</root>
311 <root>app</root>
312 <root>server-mock</root>
313 <root>typings</root>
314 </roots>
AviZi280f8012017-06-09 02:39:56 +0300315 <extraExtensions>
316 <ts>java</ts>
317 </extraExtensions>
Michael Lando451a3402017-02-19 10:28:42 +0200318 </configuration>
319 <executions>
320 <execution>
321 <id>first</id>
322 <goals>
323 <goal>update-file-header</goal>
324 </goals>
AviZi280f8012017-06-09 02:39:56 +0300325 <!--phase>process-sources</phase -->
Michael Lando451a3402017-02-19 10:28:42 +0200326 </execution>
327 </executions>
328 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300329 </plugins>
330 </build>
Michael Lando451a3402017-02-19 10:28:42 +0200331
AviZi280f8012017-06-09 02:39:56 +0300332 <profiles>
333 <profile>
334 <id>all</id>
335 <activation>
336 <activeByDefault>true</activeByDefault>
337 </activation>
338 <modules>
339 <module>onboarding</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300340 <module>security-utils</module>
AviZi280f8012017-06-09 02:39:56 +0300341 <module>common-app-api</module>
342 <module>common-be</module>
343 <module>catalog-dao</module>
344 <module>catalog-model</module>
345 <module>catalog-be</module>
346 <module>asdctool</module>
347 <module>catalog-ui</module>
348 <module>catalog-fe</module>
349 <module>asdc-tests</module>
Michael Lando4d97d5f2017-06-17 22:40:44 +0300350 <module>test-apis-ci</module>
351 <module>ui-ci</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300352 <module>sdc-os-chef</module>
AviZi280f8012017-06-09 02:39:56 +0300353 </modules>
354
355 </profile>
Michael Lando451a3402017-02-19 10:28:42 +0200356
357
358
AviZi280f8012017-06-09 02:39:56 +0300359 <profile>
360 <id>catalog</id>
361 <activation>
362 <activeByDefault>false</activeByDefault>
363 </activation>
364 <modules>
365 <module>security-utils</module>
366 <module>common-app-api</module>
367 <module>common-be</module>
368 <module>catalog-dao</module>
369 <module>catalog-model</module>
370 <module>catalog-be</module>
371 <module>asdctool</module>
372 <module>catalog-ui</module>
373 <module>catalog-fe</module>
374 <module>asdc-tests</module>
375 <module>test-apis-ci</module>
376 <module>ui-ci</module>
377 </modules>
378
379 <build>
380 <plugins>
381 <!-- Create the 'next build number' file -->
382 <plugin>
383 <groupId>org.codehaus.mojo</groupId>
384 <artifactId>exec-maven-plugin</artifactId>
385 <version>1.5.0</version>
386
387 <executions>
388 <execution>
389 <inherited>false</inherited>
390 <goals>
391 <goal>exec</goal>
392 </goals>
393 <phase>initialize</phase>
394 <id>get.next.build.number</id>
395 <configuration>
396 <workingDirectory>${project.basedir}</workingDirectory>
397 <executable>/usr/bin/perl</executable>
398 <arguments>
399 <argument>scripts/get_next_version.pl</argument>
400 <argument>-groupId=${project.groupId}</argument>
401 <argument>-artifactId=${project.artifactId}</argument>
402 <argument>-baseVersion=${project.version}.${sprint.number}</argument>
403 </arguments>
404 </configuration>
405 </execution>
406 </executions>
407 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200408
AviZi280f8012017-06-09 02:39:56 +0300409 <plugin>
410 <groupId>org.codehaus.mojo</groupId>
411 <artifactId>properties-maven-plugin</artifactId>
412 <version>1.0-alpha-2</version>
Michael Lando451a3402017-02-19 10:28:42 +0200413
AviZi280f8012017-06-09 02:39:56 +0300414 <executions>
415 <execution>
416 <phase>initialize</phase>
417 <inherited>false</inherited>
418 <goals>
419 <goal>read-project-properties</goal>
420 </goals>
421 <configuration>
422 <files>
423 <file>${project.build.directory}/FullReleaseVersion.properties</file>
424 </files>
425 </configuration>
426 </execution>
427 </executions>
428 </plugin>
429 </plugins>
430 </build>
431 </profile>
432
433 <profile>
434 <id>onboarding</id>
435 <activation>
436 <activeByDefault>false</activeByDefault>
437 </activation>
438 <modules>
439 <module>onboarding</module>
440 </modules>
441 </profile>
442
443 <profile>
444 <id>Fortify</id>
445 <activation>
446 <activeByDefault>false</activeByDefault>
447 </activation>
448
449 <build>
450 <plugins>
451 <plugin>
452 <groupId>com.fortify.ps.maven.plugin</groupId>
453 <artifactId>sca-maven-plugin</artifactId>
454 <version>4.30</version>
455 <configuration>
456 <source>1.8</source>
457 <buildId>${project.artifactId}</buildId>
458 <toplevelArtifactId>${project.artifactId}</toplevelArtifactId>
459 <fortify.sca.exclude>**/node_modules/*</fortify.sca.exclude>
460 </configuration>
461 </plugin>
462 </plugins>
463 </build>
464 </profile>
465
466 <profile>
467 <id>WhiteSource</id>
468 <activation>
469 <activeByDefault>false</activeByDefault>
470 </activation>
471
472 <build>
473 <plugins>
474 <plugin>
475 <groupId>org.whitesource</groupId>
476 <artifactId>whitesource-maven-plugin</artifactId>
477 <version>3.1.6</version>
478 <configuration>
479 <orgToken>2809bf29-b00c-48c0-a1f0-ca5c9c22f3df</orgToken>
480 </configuration>
481 </plugin>
482 </plugins>
483 </build>
484 </profile>
485
486 </profiles>
487
488 <repositories>
489 <repository>
490 <id>virtuos</id>
491 <name>Virtuos</name>
492 <url>http://nexus.virtuos.uos.de/nexus/content/repositories/public/</url>
493 <layout>default</layout>
494 </repository>
495 <repository>
496 <id>apache-public</id>
497 <name>Apache-Public</name>
498 <url>https://repository.apache.org/content/groups/public/</url>
499 <layout>default</layout>
500 </repository>
501 <repository>
502 <id>elasticsearch-releases</id>
503 <url>https://maven.elasticsearch.org/releases</url>
504 <releases>
505 <enabled>true</enabled>
506 </releases>
507 <snapshots>
508 <enabled>false</enabled>
509 </snapshots>
510 </repository>
511 <repository>
512 <id>central</id>
513 <name>Official Maven repository</name>
514 <url>http://repo2.maven.org/maven2/</url>
515 </repository>
516 <repository>
517 <id>ecomp-releases</id>
518 <name>Release Repository</name>
519 <url>${nexus.proxy}/content/repositories/releases/</url>
520 </repository>
521 <repository>
522 <id>ecomp-staging</id>
523 <name>Staging Repository</name>
524 <url>${nexus.proxy}/content/repositories/staging/</url>
525 </repository>
526 <repository>
527 <id>ecomp-snapshots</id>
528 <name>Snapshots Repository</name>
529 <url>${nexus.proxy}/content/repositories/snapshots/</url>
530 </repository>
531 <repository>
532 <id>node</id>
533 <name>Node</name>
534 <url>https://maven-nodejs-proxy.pvtool.org/</url>
535 </repository>
536 <repository>
537 <id>SonoType</id>
538 <name>sonotype</name>
539 <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
540 </repository>
541 </repositories>
542
543 <distributionManagement>
544
545 <repository>
546 <id>ecomp-releases</id>
547 <name>Release Repository</name>
548 <url>${nexus.proxy}/content/repositories/releases/</url>
549 </repository>
550 <snapshotRepository>
551 <id>ecomp-snapshots</id>
552 <name>Snapshot Repository</name>
553 <url>${nexus.proxy}/content/repositories/snapshots/</url>
554 </snapshotRepository>
555 <site>
556 <id>ecomp-site</id>
557 <url>dav:${nexus.proxy}${sitePath}</url>
558 </site>
559 </distributionManagement>
560</project>
Michael Lando451a3402017-02-19 10:28:42 +0200561