blob: 99f43bf769b50d7aaf89c7582662aa3ca2874a26 [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"
Gautam Shah3de22e12018-04-21 16:18:37 +05302 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>
Michael Lando451a3402017-02-19 10:28:42 +02004
Gautam Shah3de22e12018-04-21 16:18:37 +05305 <groupId>org.openecomp.sdc</groupId>
6 <artifactId>sdc-main</artifactId>
7 <version>1.2.0-SNAPSHOT</version>
8 <packaging>pom</packaging>
9 <name>sdc</name>
10 <properties>
Michael Lando451a3402017-02-19 10:28:42 +020011
Gautam Shah3de22e12018-04-21 16:18:37 +053012 <maven.compiler.source>1.8</maven.compiler.source>
13 <maven.compiler.target>1.8</maven.compiler.target>
Tal Gitelman51d50f02017-12-10 18:55:03 +020014
Gautam Shah3de22e12018-04-21 16:18:37 +053015 <!-- ==================== -->
16 <!-- Generic properties -->
17 <!-- ==================== -->
18 <build.type>-SNAPSHOT</build.type>
19 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20 <sprint.number>74</sprint.number>
Michael Lando451a3402017-02-19 10:28:42 +020021
Gautam Shah3de22e12018-04-21 16:18:37 +053022 <!-- 3rd parties versions -->
23 <lang3.version>3.3.2</lang3.version>
24 <guava.version>18.0</guava.version>
25 <titan.version>1.0.0</titan.version>
26 <sdc.titan.version>1.2.0</sdc.titan.version>
27 <spring-boot.version>1.1.6.RELEASE</spring-boot.version>
Michael Landofd6d9d52018-05-14 14:57:36 +030028 <spring.version>4.3.15.RELEASE</spring.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053029 <spring.security.version>3.2.3.RELEASE</spring.security.version>
30 <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
Michael Landoa5445102018-03-04 14:53:33 +020031 <jersey-bom.version>2.26</jersey-bom.version>
AviZi280f8012017-06-09 02:39:56 +030032 <servlet-api.version>2.5</servlet-api.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053033 <wire-mock.version>2.11.0</wire-mock.version>
AviZi280f8012017-06-09 02:39:56 +030034
Gautam Shah3de22e12018-04-21 16:18:37 +053035 <artifact-generator-api.version>${project.version}</artifact-generator-api.version>
36 <artifact-generator-core.version>${project.version}</artifact-generator-core.version>
37 <ecomp.version>1.1.0</ecomp.version>
38 <dox-common-lib.version>${project.version}</dox-common-lib.version>
Michael Lando451a3402017-02-19 10:28:42 +020039
Gautam Shah3de22e12018-04-21 16:18:37 +053040 <!-- Elastic Search mapper (reference the elastic search version actually). -->
41 <elastic-search.version>2.4.0</elastic-search.version>
42 <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
43 <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
Michael Landod618ad62018-05-13 22:27:13 +030044 <jetty.version>9.2.22.v20170606</jetty.version>
Michael Lando451a3402017-02-19 10:28:42 +020045
Gautam Shah3de22e12018-04-21 16:18:37 +053046 <!-- JSON and YAML Parsing -->
47 <jackson.version>2.9.4</jackson.version>
48 <jackson.yaml.version>2.9.4</jackson.yaml.version>
49 <jackson.annotations.version>2.9.4</jackson.annotations.version>
Michael Lando451a3402017-02-19 10:28:42 +020050
Gautam Shah3de22e12018-04-21 16:18:37 +053051 <!-- Yaml for properties -->
52 <snakeyaml.version>1.14</snakeyaml.version>
53 <functionaljava.version>4.4</functionaljava.version>
Michael Lando12368942018-05-13 19:19:46 +030054 <httpclient.version>4.5.3</httpclient.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053055 <httpcore.version>4.4.1</httpcore.version>
56 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030057
Gautam Shah3de22e12018-04-21 16:18:37 +053058 <!-- Logging start -->
59 <!-- logback -->
Gitelman, Tal (tg851x)483c3d92018-03-12 18:41:15 +020060 <logback.version>1.2.3</logback.version>
AviZi280f8012017-06-09 02:39:56 +030061 <slf4j-api.version>1.7.10</slf4j-api.version>
62 <commons-codec>1.10</commons-codec>
63 <commons-logging>1.2</commons-logging>
Gautam Shah3de22e12018-04-21 16:18:37 +053064 <groovy.version>2.4.13</groovy.version>
65 <janino.version>3.0.6</janino.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030066
Gautam Shah3de22e12018-04-21 16:18:37 +053067 <!-- aspects -->
68 <jcabi.version>0.20.1</jcabi.version>
69 <aspectjrt.version>1.8.4</aspectjrt.version>
70 <aspectj.version>1.7.4</aspectj.version>
71 <jcabi.plugin.version>0.13.2</jcabi.plugin.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030072
Gautam Shah3de22e12018-04-21 16:18:37 +053073 <!-- Logging end -->
74 <!-- System Metrics -->
75 <sigar.version>1.6.4</sigar.version>
Michael Lando451a3402017-02-19 10:28:42 +020076
Gautam Shah3de22e12018-04-21 16:18:37 +053077 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +020078
Gautam Shah3de22e12018-04-21 16:18:37 +053079 <!--GSON-->
80 <gson.version>2.3.1</gson.version>
AviZi280f8012017-06-09 02:39:56 +030081
82 <!--listen to file changes-->
83 <commons-jci-core.version>1.1</commons-jci-core.version>
84
Gautam Shah3de22e12018-04-21 16:18:37 +053085 <!--TESTING-->
86 <mockito.version>2.12.0</mockito.version>
Yuli Shlosberge4669312018-04-26 15:48:26 +030087 <jmockit.version>1.33</jmockit.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053088 <junit.version>4.12</junit.version>
89 <assertj.version>3.8.0</assertj.version>
90 <testng.version>6.9.10</testng.version>
91 <extentreports.version>3.0.3</extentreports.version>
92 <cucumber.version>2.3.1</cucumber.version>
Michael Landoa5445102018-03-04 14:53:33 +020093
Gautam Shah3de22e12018-04-21 16:18:37 +053094 <!-- parser-->
95 <sdc-tosca-parser.version>1.2.3-SNAPSHOT</sdc-tosca-parser.version>
Michael Landoa5445102018-03-04 14:53:33 +020096
Gautam Shah3de22e12018-04-21 16:18:37 +053097 <!--JaCoCO -->
98 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
99 <sonar.language>java</sonar.language>
100 <!-- Sonar properties -->
101 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
102 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
103 <sonar.branch>${project.version}</sonar.branch>
ml636rd0214c72017-02-22 11:36:55 +0200104
Gautam Shah3de22e12018-04-21 16:18:37 +0530105 <!--cassandra -->
106 <cassandra.driver.version>3.0.0</cassandra.driver.version>
107 <!-- maven central (Nexus) -->
108 <nexus.id.release>nexus</nexus.id.release>
109 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200110
Gautam Shah3de22e12018-04-21 16:18:37 +0530111 <!--nexus-->
112 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
113 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
114 <staging.profile.id>176c31dfe190a</staging.profile.id>
115 <!--maven-->
116 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
117 <!--io.fabric8-->
118 <fabric8.version>0.23.0</fabric8.version>
119 <!--docker tags-->
120 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
121 <!--<docker.latest.tag>${project.version}-latest</docker.latest.tag>-->
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200122
Gautam Shah3de22e12018-04-21 16:18:37 +0530123 </properties>
Michael Lando451a3402017-02-19 10:28:42 +0200124
Gautam Shah3de22e12018-04-21 16:18:37 +0530125 <dependencyManagement>
126 <dependencies>
127 <dependency>
128 <groupId>org.glassfish.jersey.ext</groupId>
129 <artifactId>jersey-bean-validation</artifactId>
130 <version>${jersey-bom.version}</version>
131 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200132
Gautam Shah3de22e12018-04-21 16:18:37 +0530133 <dependency>
134 <groupId>org.glassfish.hk2.external</groupId>
135 <artifactId>asm-all-repackaged</artifactId>
136 <version>2.4.0</version>
137 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200138
Gautam Shah3de22e12018-04-21 16:18:37 +0530139 <dependency>
140 <groupId>org.assertj</groupId>
141 <artifactId>assertj-core</artifactId>
142 <version>${assertj.version}</version>
143 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200144
Gautam Shah3de22e12018-04-21 16:18:37 +0530145 <dependency>
146 <groupId>org.mockito</groupId>
147 <artifactId>mockito-core</artifactId>
148 <version>${mockito.version}</version>
149 </dependency>
Yuli Shlosberge4669312018-04-26 15:48:26 +0300150 <dependency>
151 <groupId>org.jmockit</groupId>
152 <artifactId>jmockit</artifactId>
153 <version>${jmockit.version}</version>
154 </dependency>
155
Michael Landoa5445102018-03-04 14:53:33 +0200156
Gautam Shah3de22e12018-04-21 16:18:37 +0530157 <dependency>
158 <groupId>com.github.tomakehurst</groupId>
159 <artifactId>wiremock</artifactId>
160 <version>${wire-mock.version}</version>
161 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200162
163 <dependency>
164 <groupId>io.cucumber</groupId>
165 <artifactId>cucumber-java</artifactId>
166 <version>${cucumber.version}</version>
167 </dependency>
168
169 <dependency>
170 <groupId>io.cucumber</groupId>
171 <artifactId>cucumber-junit</artifactId>
172 <version>${cucumber.version}</version>
173 </dependency>
Gautam Shah3de22e12018-04-21 16:18:37 +0530174 </dependencies>
175 </dependencyManagement>
Michael Landoa5445102018-03-04 14:53:33 +0200176
Gautam Shah3de22e12018-04-21 16:18:37 +0530177 <reporting>
178 <plugins>
179 <plugin>
180 <groupId>org.apache.maven.plugins</groupId>
181 <artifactId>maven-javadoc-plugin</artifactId>
182 <version>3.0.0-M1</version>
183 <configuration>
184 <failOnError>false</failOnError>
185 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
186 <docletArtifact>
187 <groupId>org.umlgraph</groupId>
188 <artifactId>umlgraph</artifactId>
189 <version>5.6</version>
190 </docletArtifact>
191 <additionalparam>-views</additionalparam>
192 <useStandardDocletOptions>true</useStandardDocletOptions>
193 </configuration>
194 </plugin>
195 </plugins>
196 </reporting>
Michael Lando451a3402017-02-19 10:28:42 +0200197
Gautam Shah3de22e12018-04-21 16:18:37 +0530198 <build>
199 <pluginManagement>
200 <plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200201
Gautam Shah3de22e12018-04-21 16:18:37 +0530202 <plugin>
203 <groupId>org.apache.maven.plugins</groupId>
204 <artifactId>maven-site-plugin</artifactId>
205 <version>3.4</version>
206 <dependencies>
207 <dependency>
208 <groupId>org.apache.maven.wagon</groupId>
209 <artifactId>wagon-webdav-jackrabbit</artifactId>
210 <version>2.10</version>
211 </dependency>
212 </dependencies>
213 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200214
215
Gautam Shah3de22e12018-04-21 16:18:37 +0530216 <plugin>
217 <groupId>org.apache.maven.plugins</groupId>
218 <artifactId>maven-assembly-plugin</artifactId>
219 <version>3.1.0</version>
220 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200221
Gautam Shah3de22e12018-04-21 16:18:37 +0530222 <plugin>
223 <groupId>org.codehaus.mojo</groupId>
224 <artifactId>exec-maven-plugin</artifactId>
225 <version>1.4.0</version>
226 </plugin>
227 <plugin>
228 <groupId>org.sonarsource.scanner.maven</groupId>
229 <artifactId>sonar-maven-plugin</artifactId>
230 <version>3.0.2</version>
231 </plugin>
232 </plugins>
233 </pluginManagement>
Michael Lando451a3402017-02-19 10:28:42 +0200234
Gautam Shah3de22e12018-04-21 16:18:37 +0530235 <plugins>
Michael Lando546f7cf2017-09-23 00:05:17 +0300236
Gautam Shah3de22e12018-04-21 16:18:37 +0530237 <!-- Staging Plugin -->
238 <plugin>
239 <groupId>org.sonatype.plugins</groupId>
240 <artifactId>nexus-staging-maven-plugin</artifactId>
241 <version>1.6.7</version>
242 <extensions>true</extensions>
243 <configuration>
244 <nexusUrl>${nexus.proxy}</nexusUrl>
245 <stagingProfileId>${staging.profile.id}</stagingProfileId>
246 <serverId>ecomp-staging</serverId>
247 </configuration>
248 </plugin>
Michael Lando546f7cf2017-09-23 00:05:17 +0300249
Gautam Shah3de22e12018-04-21 16:18:37 +0530250 <plugin>
251 <artifactId>maven-surefire-plugin</artifactId>
252 <version>2.19.1</version>
253 <configuration>
254 <systemPropertyVariables>
255 <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
256 </systemPropertyVariables>
257 </configuration>
258 </plugin>
259 <!-- plugin for parsing the project version -->
260 <plugin>
261 <groupId>org.codehaus.mojo</groupId>
262 <artifactId>build-helper-maven-plugin</artifactId>
263 <version>1.8</version>
264 <executions>
265 <execution>
266 <id>parse-version</id>
267 <goals>
268 <goal>parse-version</goal>
269 </goals>
270 </execution>
271 </executions>
272 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200273
Gautam Shah3de22e12018-04-21 16:18:37 +0530274 <!-- Java Code Coverage -->
275 <plugin>
276 <groupId>org.jacoco</groupId>
277 <artifactId>jacoco-maven-plugin</artifactId>
278 <version>0.7.9</version>
279 <executions>
280 <execution>
281 <id>default-prepare-agent</id>
282 <goals>
283 <goal>prepare-agent</goal>
284 </goals>
285 </execution>
286 <execution>
287 <id>default-report</id>
288 <goals>
289 <goal>report</goal>
290 </goals>
291 </execution>
292 </executions>
293 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200294
Gautam Shah3de22e12018-04-21 16:18:37 +0530295 <plugin>
296 <groupId>org.apache.maven.plugins</groupId>
297 <artifactId>maven-site-plugin</artifactId>
298 <dependencies>
299 <dependency>
300 <groupId>org.apache.maven.wagon</groupId>
301 <artifactId>wagon-webdav-jackrabbit</artifactId>
302 <version>2.10</version>
303 </dependency>
304 </dependencies>
305 </plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200306
Gautam Shah3de22e12018-04-21 16:18:37 +0530307 <!-- Set the deployment repositories properties. -->
308 <plugin>
309 <groupId>org.codehaus.gmaven</groupId>
310 <artifactId>gmaven-plugin</artifactId>
311 <version>1.4</version>
312 <executions>
313 <execution>
314 <inherited>false</inherited>
315 <phase>integration-test</phase>
316 <goals>
317 <goal>execute</goal>
318 </goals>
319 <configuration>
320 <source>
321 pom.properties['deploy.url'] =
322 pom.version.contains('-SNAPSHOT') ?
323 project.distributionManagement.snapshotRepository.url :
324 project.distributionManagement.repository.url;
325 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
326 project.distributionManagement.snapshotRepository.id :
327 project.distributionManagement.repository.id;
328 </source>
329 </configuration>
330 </execution>
331 </executions>
332 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200333
Gautam Shah3de22e12018-04-21 16:18:37 +0530334 <!-- license plugin -->
335 <plugin>
336 <groupId>org.codehaus.mojo</groupId>
337 <artifactId>license-maven-plugin</artifactId>
338 <version>1.10</version>
339 <configuration>
340 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
341 <processStartTag>============LICENSE_START=======================================================</processStartTag>
342 <processEndTag>============LICENSE_END=========================================================</processEndTag>
343 <sectionDelimiter>================================================================================</sectionDelimiter>
344 <licenseName>apache_v2</licenseName>
345 <inceptionYear>2017</inceptionYear>
346 <organizationName>AT&amp;T Intellectual Property. All rights
347 reserved.
348 </organizationName>
349 <projectName>SDC</projectName>
350 <canUpdateCopyright>true</canUpdateCopyright>
351 <canUpdateDescription>true</canUpdateDescription>
352 <canUpdateLicense>true</canUpdateLicense>
353 <emptyLineAfterHeader>true</emptyLineAfterHeader>
354 <verbose>false</verbose>
355 <includes>
356 <include>**/*.java</include>
357 <include>**/*.ts</include>
358 </includes>
359 <excludes>
360 <exclude>**/*.d.ts</exclude>
361 </excludes>
362 <roots>
363 <root>src</root>
364 <root>app</root>
365 <root>server-mock</root>
366 <root>typings</root>
367 </roots>
368 <extraExtensions>
369 <ts>java</ts>
370 </extraExtensions>
371 </configuration>
372 <executions>
373 <execution>
374 <id>first</id>
375 <goals>
376 <goal>update-file-header</goal>
377 </goals>
378 <!--phase>process-sources</phase -->
379 </execution>
380 </executions>
381 </plugin>
382 </plugins>
383 </build>
AviZi280f8012017-06-09 02:39:56 +0300384
Gautam Shah3de22e12018-04-21 16:18:37 +0530385 <profiles>
386 <profile>
387 <id>all</id>
388 <activation>
389 <activeByDefault>true</activeByDefault>
390 </activation>
391 <modules>
392 <module>build-tools</module>
Gautam Shah3de22e12018-04-21 16:18:37 +0530393 <module>security-utils</module>
394 <module>common-app-api</module>
Michael Landoa6c79102018-04-30 21:54:40 +0300395 <module>onboarding</module>
396 <module>services/activity-spec</module>
Gautam Shah3de22e12018-04-21 16:18:37 +0530397 <module>common-be</module>
398 <module>catalog-dao</module>
399 <module>catalog-model</module>
400 <module>catalog-be</module>
401 <module>asdctool</module>
402 <module>catalog-ui</module>
403 <module>catalog-fe</module>
404 <module>test-apis-ci</module>
405 <module>ui-ci</module>
406 <module>sdc-os-chef</module>
407 <module>utils/webseal-simulator</module>
408 </modules>
Michael Lando451a3402017-02-19 10:28:42 +0200409
Gautam Shah3de22e12018-04-21 16:18:37 +0530410 </profile>
AviZi280f8012017-06-09 02:39:56 +0300411
Gautam Shah3de22e12018-04-21 16:18:37 +0530412 <profile>
413 <id>catalog</id>
414 <activation>
415 <activeByDefault>false</activeByDefault>
416 </activation>
417 <modules>
418 <module>security-utils</module>
419 <module>common-app-api</module>
420 <module>common-be</module>
421 <module>catalog-dao</module>
422 <module>catalog-model</module>
423 <module>catalog-be</module>
424 <module>asdctool</module>
425 <module>catalog-ui</module>
426 <module>catalog-fe</module>
427 <module>test-apis-ci</module>
428 <module>ui-ci</module>
429 </modules>
sheetalm297209b2018-02-20 19:06:27 +0530430
Gautam Shah3de22e12018-04-21 16:18:37 +0530431 <properties>
432 <ecomp.version>1.2.7</ecomp.version>
433 <artifact-generator-api.version>1802.0.1.167</artifact-generator-api.version>
434 <artifact-generator-core.version>1802.0.1.167</artifact-generator-core.version>
435 <dox-common-lib.version>1802.0.1.167</dox-common-lib.version>
436 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
437 </properties>
438 </profile>
AviZi280f8012017-06-09 02:39:56 +0300439
Gautam Shah3de22e12018-04-21 16:18:37 +0530440 <profile>
441 <id>onboarding</id>
442 <activation>
443 <activeByDefault>false</activeByDefault>
444 </activation>
445 <modules>
446 <module>build-tools</module>
447 <module>onboarding</module>
448 </modules>
449 </profile>
AviZi280f8012017-06-09 02:39:56 +0300450
Gautam Shah3de22e12018-04-21 16:18:37 +0530451 </profiles>
452
453 <repositories>
454 <!-- LF repositories -->
455 <repository>
456 <id>ecomp-releases</id>
457 <name>Release Repository</name>
458 <url>${nexus.proxy}/content/repositories/releases/</url>
459 </repository>
460 <repository>
461 <id>ecomp-snapshots</id>
462 <name>Snapshots Repository</name>
463 <url>${nexus.proxy}/content/repositories/snapshots/</url>
464 </repository>
465 <repository>
466 <id>ecomp-public</id>
467 <name>Public Repository</name>
468 <url>${nexus.proxy}/content/repositories/public/</url>
469 </repository>
470 <!-- LF repositories END-->
471 </repositories>
472
473 <distributionManagement>
474 <repository>
475 <id>ecomp-releases</id>
476 <name>Release Repository</name>
477 <url>${nexus.proxy}/content/repositories/releases/</url>
478 </repository>
479 <snapshotRepository>
480 <id>ecomp-snapshots</id>
481 <name>Snapshot Repository</name>
482 <url>${nexus.proxy}/content/repositories/snapshots/</url>
483 </snapshotRepository>
484 <site>
485 <id>ecomp-site</id>
486 <url>dav:${nexus.proxy}${sitePath}</url>
487 </site>
488 </distributionManagement>
AviZi280f8012017-06-09 02:39:56 +0300489</project>