blob: 0839407c729a0c3520d49a35285ea06d5fc5ede5 [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>
Michael Landod8a0dea2018-06-02 19:23:27 +03007 <version>1.3.0-SNAPSHOT</version>
Gautam Shah3de22e12018-04-21 16:18:37 +05308 <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>
vempod6d12912018-07-09 14:27:57 +030032 <servlet-api.version>3.0.1</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>
Tal Gitelmanb2533e52018-06-06 14:46:07 +0300150
Yuli Shlosberge4669312018-04-26 15:48:26 +0300151 <dependency>
152 <groupId>org.jmockit</groupId>
153 <artifactId>jmockit</artifactId>
154 <version>${jmockit.version}</version>
155 </dependency>
156
Michael Landoa5445102018-03-04 14:53:33 +0200157
Gautam Shah3de22e12018-04-21 16:18:37 +0530158 <dependency>
159 <groupId>com.github.tomakehurst</groupId>
160 <artifactId>wiremock</artifactId>
161 <version>${wire-mock.version}</version>
162 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200163
164 <dependency>
165 <groupId>io.cucumber</groupId>
166 <artifactId>cucumber-java</artifactId>
167 <version>${cucumber.version}</version>
168 </dependency>
169
170 <dependency>
171 <groupId>io.cucumber</groupId>
172 <artifactId>cucumber-junit</artifactId>
173 <version>${cucumber.version}</version>
174 </dependency>
Gautam Shah3de22e12018-04-21 16:18:37 +0530175 </dependencies>
176 </dependencyManagement>
Michael Landoa5445102018-03-04 14:53:33 +0200177
Gautam Shah3de22e12018-04-21 16:18:37 +0530178 <reporting>
179 <plugins>
180 <plugin>
181 <groupId>org.apache.maven.plugins</groupId>
182 <artifactId>maven-javadoc-plugin</artifactId>
183 <version>3.0.0-M1</version>
184 <configuration>
185 <failOnError>false</failOnError>
186 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
187 <docletArtifact>
188 <groupId>org.umlgraph</groupId>
189 <artifactId>umlgraph</artifactId>
190 <version>5.6</version>
191 </docletArtifact>
192 <additionalparam>-views</additionalparam>
193 <useStandardDocletOptions>true</useStandardDocletOptions>
194 </configuration>
195 </plugin>
196 </plugins>
197 </reporting>
Michael Lando451a3402017-02-19 10:28:42 +0200198
Gautam Shah3de22e12018-04-21 16:18:37 +0530199 <build>
200 <pluginManagement>
201 <plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200202
Gautam Shah3de22e12018-04-21 16:18:37 +0530203 <plugin>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-site-plugin</artifactId>
206 <version>3.4</version>
207 <dependencies>
208 <dependency>
209 <groupId>org.apache.maven.wagon</groupId>
210 <artifactId>wagon-webdav-jackrabbit</artifactId>
211 <version>2.10</version>
212 </dependency>
213 </dependencies>
214 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200215
216
Gautam Shah3de22e12018-04-21 16:18:37 +0530217 <plugin>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-assembly-plugin</artifactId>
220 <version>3.1.0</version>
221 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200222
Gautam Shah3de22e12018-04-21 16:18:37 +0530223 <plugin>
224 <groupId>org.codehaus.mojo</groupId>
225 <artifactId>exec-maven-plugin</artifactId>
226 <version>1.4.0</version>
227 </plugin>
228 <plugin>
229 <groupId>org.sonarsource.scanner.maven</groupId>
230 <artifactId>sonar-maven-plugin</artifactId>
231 <version>3.0.2</version>
232 </plugin>
233 </plugins>
234 </pluginManagement>
Michael Lando451a3402017-02-19 10:28:42 +0200235
Gautam Shah3de22e12018-04-21 16:18:37 +0530236 <plugins>
Michael Lando546f7cf2017-09-23 00:05:17 +0300237
Gautam Shah3de22e12018-04-21 16:18:37 +0530238 <!-- Staging Plugin -->
239 <plugin>
240 <groupId>org.sonatype.plugins</groupId>
241 <artifactId>nexus-staging-maven-plugin</artifactId>
242 <version>1.6.7</version>
243 <extensions>true</extensions>
244 <configuration>
245 <nexusUrl>${nexus.proxy}</nexusUrl>
246 <stagingProfileId>${staging.profile.id}</stagingProfileId>
247 <serverId>ecomp-staging</serverId>
248 </configuration>
249 </plugin>
Michael Lando546f7cf2017-09-23 00:05:17 +0300250
Gautam Shah3de22e12018-04-21 16:18:37 +0530251 <plugin>
252 <artifactId>maven-surefire-plugin</artifactId>
253 <version>2.19.1</version>
254 <configuration>
255 <systemPropertyVariables>
256 <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
257 </systemPropertyVariables>
258 </configuration>
259 </plugin>
260 <!-- plugin for parsing the project version -->
261 <plugin>
262 <groupId>org.codehaus.mojo</groupId>
263 <artifactId>build-helper-maven-plugin</artifactId>
264 <version>1.8</version>
265 <executions>
266 <execution>
267 <id>parse-version</id>
268 <goals>
269 <goal>parse-version</goal>
270 </goals>
271 </execution>
272 </executions>
273 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200274
Gautam Shah3de22e12018-04-21 16:18:37 +0530275 <!-- Java Code Coverage -->
276 <plugin>
277 <groupId>org.jacoco</groupId>
278 <artifactId>jacoco-maven-plugin</artifactId>
279 <version>0.7.9</version>
280 <executions>
281 <execution>
282 <id>default-prepare-agent</id>
283 <goals>
284 <goal>prepare-agent</goal>
285 </goals>
286 </execution>
287 <execution>
288 <id>default-report</id>
289 <goals>
290 <goal>report</goal>
291 </goals>
292 </execution>
293 </executions>
294 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200295
Gautam Shah3de22e12018-04-21 16:18:37 +0530296 <plugin>
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-site-plugin</artifactId>
299 <dependencies>
300 <dependency>
301 <groupId>org.apache.maven.wagon</groupId>
302 <artifactId>wagon-webdav-jackrabbit</artifactId>
303 <version>2.10</version>
304 </dependency>
305 </dependencies>
306 </plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200307
Gautam Shah3de22e12018-04-21 16:18:37 +0530308 <!-- Set the deployment repositories properties. -->
309 <plugin>
310 <groupId>org.codehaus.gmaven</groupId>
311 <artifactId>gmaven-plugin</artifactId>
312 <version>1.4</version>
313 <executions>
314 <execution>
315 <inherited>false</inherited>
316 <phase>integration-test</phase>
317 <goals>
318 <goal>execute</goal>
319 </goals>
320 <configuration>
321 <source>
322 pom.properties['deploy.url'] =
323 pom.version.contains('-SNAPSHOT') ?
324 project.distributionManagement.snapshotRepository.url :
325 project.distributionManagement.repository.url;
326 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
327 project.distributionManagement.snapshotRepository.id :
328 project.distributionManagement.repository.id;
329 </source>
330 </configuration>
331 </execution>
332 </executions>
333 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200334
Gautam Shah3de22e12018-04-21 16:18:37 +0530335 <!-- license plugin -->
336 <plugin>
337 <groupId>org.codehaus.mojo</groupId>
338 <artifactId>license-maven-plugin</artifactId>
339 <version>1.10</version>
340 <configuration>
341 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
342 <processStartTag>============LICENSE_START=======================================================</processStartTag>
343 <processEndTag>============LICENSE_END=========================================================</processEndTag>
344 <sectionDelimiter>================================================================================</sectionDelimiter>
345 <licenseName>apache_v2</licenseName>
346 <inceptionYear>2017</inceptionYear>
347 <organizationName>AT&amp;T Intellectual Property. All rights
348 reserved.
349 </organizationName>
350 <projectName>SDC</projectName>
351 <canUpdateCopyright>true</canUpdateCopyright>
352 <canUpdateDescription>true</canUpdateDescription>
353 <canUpdateLicense>true</canUpdateLicense>
354 <emptyLineAfterHeader>true</emptyLineAfterHeader>
355 <verbose>false</verbose>
356 <includes>
357 <include>**/*.java</include>
358 <include>**/*.ts</include>
359 </includes>
360 <excludes>
361 <exclude>**/*.d.ts</exclude>
362 </excludes>
363 <roots>
364 <root>src</root>
365 <root>app</root>
366 <root>server-mock</root>
367 <root>typings</root>
368 </roots>
369 <extraExtensions>
370 <ts>java</ts>
371 </extraExtensions>
372 </configuration>
373 <executions>
374 <execution>
375 <id>first</id>
376 <goals>
377 <goal>update-file-header</goal>
378 </goals>
379 <!--phase>process-sources</phase -->
380 </execution>
381 </executions>
382 </plugin>
383 </plugins>
384 </build>
AviZi280f8012017-06-09 02:39:56 +0300385
Gautam Shah3de22e12018-04-21 16:18:37 +0530386 <profiles>
387 <profile>
388 <id>all</id>
389 <activation>
390 <activeByDefault>true</activeByDefault>
391 </activation>
392 <modules>
393 <module>build-tools</module>
Gautam Shah3de22e12018-04-21 16:18:37 +0530394 <module>security-utils</module>
395 <module>common-app-api</module>
Michael Landoa6c79102018-04-30 21:54:40 +0300396 <module>onboarding</module>
397 <module>services/activity-spec</module>
Gautam Shah3de22e12018-04-21 16:18:37 +0530398 <module>common-be</module>
399 <module>catalog-dao</module>
400 <module>catalog-model</module>
401 <module>catalog-be</module>
402 <module>asdctool</module>
403 <module>catalog-ui</module>
404 <module>catalog-fe</module>
405 <module>test-apis-ci</module>
406 <module>ui-ci</module>
407 <module>sdc-os-chef</module>
408 <module>utils/webseal-simulator</module>
409 </modules>
Michael Lando451a3402017-02-19 10:28:42 +0200410
Gautam Shah3de22e12018-04-21 16:18:37 +0530411 </profile>
AviZi280f8012017-06-09 02:39:56 +0300412
Gautam Shah3de22e12018-04-21 16:18:37 +0530413 <profile>
414 <id>catalog</id>
415 <activation>
416 <activeByDefault>false</activeByDefault>
417 </activation>
418 <modules>
419 <module>security-utils</module>
420 <module>common-app-api</module>
421 <module>common-be</module>
422 <module>catalog-dao</module>
423 <module>catalog-model</module>
424 <module>catalog-be</module>
425 <module>asdctool</module>
426 <module>catalog-ui</module>
427 <module>catalog-fe</module>
428 <module>test-apis-ci</module>
429 <module>ui-ci</module>
430 </modules>
sheetalm297209b2018-02-20 19:06:27 +0530431
Gautam Shah3de22e12018-04-21 16:18:37 +0530432 <properties>
433 <ecomp.version>1.2.7</ecomp.version>
434 <artifact-generator-api.version>1802.0.1.167</artifact-generator-api.version>
435 <artifact-generator-core.version>1802.0.1.167</artifact-generator-core.version>
436 <dox-common-lib.version>1802.0.1.167</dox-common-lib.version>
437 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
438 </properties>
439 </profile>
AviZi280f8012017-06-09 02:39:56 +0300440
Gautam Shah3de22e12018-04-21 16:18:37 +0530441 <profile>
442 <id>onboarding</id>
443 <activation>
444 <activeByDefault>false</activeByDefault>
445 </activation>
446 <modules>
447 <module>build-tools</module>
448 <module>onboarding</module>
449 </modules>
450 </profile>
AviZi280f8012017-06-09 02:39:56 +0300451
Gautam Shah3de22e12018-04-21 16:18:37 +0530452 </profiles>
453
454 <repositories>
455 <!-- LF repositories -->
456 <repository>
457 <id>ecomp-releases</id>
458 <name>Release Repository</name>
459 <url>${nexus.proxy}/content/repositories/releases/</url>
460 </repository>
461 <repository>
462 <id>ecomp-snapshots</id>
463 <name>Snapshots Repository</name>
464 <url>${nexus.proxy}/content/repositories/snapshots/</url>
465 </repository>
466 <repository>
467 <id>ecomp-public</id>
468 <name>Public Repository</name>
469 <url>${nexus.proxy}/content/repositories/public/</url>
470 </repository>
471 <!-- LF repositories END-->
472 </repositories>
473
474 <distributionManagement>
475 <repository>
476 <id>ecomp-releases</id>
477 <name>Release Repository</name>
478 <url>${nexus.proxy}/content/repositories/releases/</url>
479 </repository>
480 <snapshotRepository>
481 <id>ecomp-snapshots</id>
482 <name>Snapshot Repository</name>
483 <url>${nexus.proxy}/content/repositories/snapshots/</url>
484 </snapshotRepository>
485 <site>
486 <id>ecomp-site</id>
487 <url>dav:${nexus.proxy}${sitePath}</url>
488 </site>
489 </distributionManagement>
AviZi280f8012017-06-09 02:39:56 +0300490</project>