blob: fdbc5b5e01f0291ccabfa6c763374b3875b58f2b [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>
Piotr Darosz00814512018-06-18 12:46:35 +020093 <bean-matchers.version>0.11</bean-matchers.version>
Michael Landoa5445102018-03-04 14:53:33 +020094
Gautam Shah3de22e12018-04-21 16:18:37 +053095 <!-- parser-->
96 <sdc-tosca-parser.version>1.2.3-SNAPSHOT</sdc-tosca-parser.version>
Michael Landoa5445102018-03-04 14:53:33 +020097
Gautam Shah3de22e12018-04-21 16:18:37 +053098 <!--JaCoCO -->
99 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
100 <sonar.language>java</sonar.language>
101 <!-- Sonar properties -->
102 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
103 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
104 <sonar.branch>${project.version}</sonar.branch>
ml636rd0214c72017-02-22 11:36:55 +0200105
Gautam Shah3de22e12018-04-21 16:18:37 +0530106 <!--cassandra -->
107 <cassandra.driver.version>3.0.0</cassandra.driver.version>
108 <!-- maven central (Nexus) -->
109 <nexus.id.release>nexus</nexus.id.release>
110 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200111
Gautam Shah3de22e12018-04-21 16:18:37 +0530112 <!--nexus-->
113 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
114 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
115 <staging.profile.id>176c31dfe190a</staging.profile.id>
116 <!--maven-->
117 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
118 <!--io.fabric8-->
119 <fabric8.version>0.23.0</fabric8.version>
120 <!--docker tags-->
121 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
122 <!--<docker.latest.tag>${project.version}-latest</docker.latest.tag>-->
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200123
Gautam Shah3de22e12018-04-21 16:18:37 +0530124 </properties>
Michael Lando451a3402017-02-19 10:28:42 +0200125
Gautam Shah3de22e12018-04-21 16:18:37 +0530126 <dependencyManagement>
127 <dependencies>
128 <dependency>
129 <groupId>org.glassfish.jersey.ext</groupId>
130 <artifactId>jersey-bean-validation</artifactId>
131 <version>${jersey-bom.version}</version>
132 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200133
Gautam Shah3de22e12018-04-21 16:18:37 +0530134 <dependency>
135 <groupId>org.glassfish.hk2.external</groupId>
136 <artifactId>asm-all-repackaged</artifactId>
137 <version>2.4.0</version>
138 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200139
Gautam Shah3de22e12018-04-21 16:18:37 +0530140 <dependency>
141 <groupId>org.assertj</groupId>
142 <artifactId>assertj-core</artifactId>
143 <version>${assertj.version}</version>
144 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200145
Gautam Shah3de22e12018-04-21 16:18:37 +0530146 <dependency>
147 <groupId>org.mockito</groupId>
148 <artifactId>mockito-core</artifactId>
149 <version>${mockito.version}</version>
150 </dependency>
Tal Gitelmanb2533e52018-06-06 14:46:07 +0300151
Yuli Shlosberge4669312018-04-26 15:48:26 +0300152 <dependency>
153 <groupId>org.jmockit</groupId>
154 <artifactId>jmockit</artifactId>
155 <version>${jmockit.version}</version>
156 </dependency>
157
Michael Landoa5445102018-03-04 14:53:33 +0200158
Gautam Shah3de22e12018-04-21 16:18:37 +0530159 <dependency>
160 <groupId>com.github.tomakehurst</groupId>
161 <artifactId>wiremock</artifactId>
162 <version>${wire-mock.version}</version>
163 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200164
165 <dependency>
166 <groupId>io.cucumber</groupId>
167 <artifactId>cucumber-java</artifactId>
168 <version>${cucumber.version}</version>
169 </dependency>
170
171 <dependency>
172 <groupId>io.cucumber</groupId>
173 <artifactId>cucumber-junit</artifactId>
174 <version>${cucumber.version}</version>
175 </dependency>
Gautam Shah3de22e12018-04-21 16:18:37 +0530176 </dependencies>
177 </dependencyManagement>
Michael Landoa5445102018-03-04 14:53:33 +0200178
Gautam Shah3de22e12018-04-21 16:18:37 +0530179 <reporting>
180 <plugins>
181 <plugin>
182 <groupId>org.apache.maven.plugins</groupId>
183 <artifactId>maven-javadoc-plugin</artifactId>
184 <version>3.0.0-M1</version>
185 <configuration>
186 <failOnError>false</failOnError>
187 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
188 <docletArtifact>
189 <groupId>org.umlgraph</groupId>
190 <artifactId>umlgraph</artifactId>
191 <version>5.6</version>
192 </docletArtifact>
193 <additionalparam>-views</additionalparam>
194 <useStandardDocletOptions>true</useStandardDocletOptions>
195 </configuration>
196 </plugin>
197 </plugins>
198 </reporting>
Michael Lando451a3402017-02-19 10:28:42 +0200199
Gautam Shah3de22e12018-04-21 16:18:37 +0530200 <build>
201 <pluginManagement>
202 <plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200203
Gautam Shah3de22e12018-04-21 16:18:37 +0530204 <plugin>
205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-site-plugin</artifactId>
207 <version>3.4</version>
208 <dependencies>
209 <dependency>
210 <groupId>org.apache.maven.wagon</groupId>
211 <artifactId>wagon-webdav-jackrabbit</artifactId>
212 <version>2.10</version>
213 </dependency>
214 </dependencies>
215 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200216
217
Gautam Shah3de22e12018-04-21 16:18:37 +0530218 <plugin>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-assembly-plugin</artifactId>
221 <version>3.1.0</version>
222 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200223
Gautam Shah3de22e12018-04-21 16:18:37 +0530224 <plugin>
225 <groupId>org.codehaus.mojo</groupId>
226 <artifactId>exec-maven-plugin</artifactId>
227 <version>1.4.0</version>
228 </plugin>
229 <plugin>
230 <groupId>org.sonarsource.scanner.maven</groupId>
231 <artifactId>sonar-maven-plugin</artifactId>
232 <version>3.0.2</version>
233 </plugin>
234 </plugins>
235 </pluginManagement>
Michael Lando451a3402017-02-19 10:28:42 +0200236
Gautam Shah3de22e12018-04-21 16:18:37 +0530237 <plugins>
Michael Lando546f7cf2017-09-23 00:05:17 +0300238
Gautam Shah3de22e12018-04-21 16:18:37 +0530239 <!-- Staging Plugin -->
240 <plugin>
241 <groupId>org.sonatype.plugins</groupId>
242 <artifactId>nexus-staging-maven-plugin</artifactId>
243 <version>1.6.7</version>
244 <extensions>true</extensions>
245 <configuration>
246 <nexusUrl>${nexus.proxy}</nexusUrl>
247 <stagingProfileId>${staging.profile.id}</stagingProfileId>
248 <serverId>ecomp-staging</serverId>
249 </configuration>
250 </plugin>
Michael Lando546f7cf2017-09-23 00:05:17 +0300251
Gautam Shah3de22e12018-04-21 16:18:37 +0530252 <plugin>
253 <artifactId>maven-surefire-plugin</artifactId>
254 <version>2.19.1</version>
255 <configuration>
256 <systemPropertyVariables>
257 <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
258 </systemPropertyVariables>
259 </configuration>
260 </plugin>
261 <!-- plugin for parsing the project version -->
262 <plugin>
263 <groupId>org.codehaus.mojo</groupId>
264 <artifactId>build-helper-maven-plugin</artifactId>
265 <version>1.8</version>
266 <executions>
267 <execution>
268 <id>parse-version</id>
269 <goals>
270 <goal>parse-version</goal>
271 </goals>
272 </execution>
273 </executions>
274 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200275
Gautam Shah3de22e12018-04-21 16:18:37 +0530276 <!-- Java Code Coverage -->
277 <plugin>
278 <groupId>org.jacoco</groupId>
279 <artifactId>jacoco-maven-plugin</artifactId>
280 <version>0.7.9</version>
281 <executions>
282 <execution>
283 <id>default-prepare-agent</id>
284 <goals>
285 <goal>prepare-agent</goal>
286 </goals>
287 </execution>
288 <execution>
289 <id>default-report</id>
290 <goals>
291 <goal>report</goal>
292 </goals>
293 </execution>
294 </executions>
295 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200296
Gautam Shah3de22e12018-04-21 16:18:37 +0530297 <plugin>
298 <groupId>org.apache.maven.plugins</groupId>
299 <artifactId>maven-site-plugin</artifactId>
300 <dependencies>
301 <dependency>
302 <groupId>org.apache.maven.wagon</groupId>
303 <artifactId>wagon-webdav-jackrabbit</artifactId>
304 <version>2.10</version>
305 </dependency>
306 </dependencies>
307 </plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200308
Gautam Shah3de22e12018-04-21 16:18:37 +0530309 <!-- Set the deployment repositories properties. -->
310 <plugin>
311 <groupId>org.codehaus.gmaven</groupId>
312 <artifactId>gmaven-plugin</artifactId>
313 <version>1.4</version>
314 <executions>
315 <execution>
316 <inherited>false</inherited>
317 <phase>integration-test</phase>
318 <goals>
319 <goal>execute</goal>
320 </goals>
321 <configuration>
322 <source>
323 pom.properties['deploy.url'] =
324 pom.version.contains('-SNAPSHOT') ?
325 project.distributionManagement.snapshotRepository.url :
326 project.distributionManagement.repository.url;
327 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
328 project.distributionManagement.snapshotRepository.id :
329 project.distributionManagement.repository.id;
330 </source>
331 </configuration>
332 </execution>
333 </executions>
334 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200335
Gautam Shah3de22e12018-04-21 16:18:37 +0530336 <!-- license plugin -->
337 <plugin>
338 <groupId>org.codehaus.mojo</groupId>
339 <artifactId>license-maven-plugin</artifactId>
340 <version>1.10</version>
341 <configuration>
342 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
343 <processStartTag>============LICENSE_START=======================================================</processStartTag>
344 <processEndTag>============LICENSE_END=========================================================</processEndTag>
345 <sectionDelimiter>================================================================================</sectionDelimiter>
346 <licenseName>apache_v2</licenseName>
347 <inceptionYear>2017</inceptionYear>
348 <organizationName>AT&amp;T Intellectual Property. All rights
349 reserved.
350 </organizationName>
351 <projectName>SDC</projectName>
352 <canUpdateCopyright>true</canUpdateCopyright>
353 <canUpdateDescription>true</canUpdateDescription>
354 <canUpdateLicense>true</canUpdateLicense>
355 <emptyLineAfterHeader>true</emptyLineAfterHeader>
356 <verbose>false</verbose>
357 <includes>
358 <include>**/*.java</include>
359 <include>**/*.ts</include>
360 </includes>
361 <excludes>
362 <exclude>**/*.d.ts</exclude>
363 </excludes>
364 <roots>
365 <root>src</root>
366 <root>app</root>
367 <root>server-mock</root>
368 <root>typings</root>
369 </roots>
370 <extraExtensions>
371 <ts>java</ts>
372 </extraExtensions>
373 </configuration>
374 <executions>
375 <execution>
376 <id>first</id>
377 <goals>
378 <goal>update-file-header</goal>
379 </goals>
380 <!--phase>process-sources</phase -->
381 </execution>
382 </executions>
383 </plugin>
384 </plugins>
385 </build>
AviZi280f8012017-06-09 02:39:56 +0300386
Gautam Shah3de22e12018-04-21 16:18:37 +0530387 <profiles>
388 <profile>
389 <id>all</id>
390 <activation>
391 <activeByDefault>true</activeByDefault>
392 </activation>
393 <modules>
394 <module>build-tools</module>
Gautam Shah3de22e12018-04-21 16:18:37 +0530395 <module>security-utils</module>
396 <module>common-app-api</module>
Michael Landoa6c79102018-04-30 21:54:40 +0300397 <module>onboarding</module>
398 <module>services/activity-spec</module>
Gautam Shah3de22e12018-04-21 16:18:37 +0530399 <module>common-be</module>
400 <module>catalog-dao</module>
401 <module>catalog-model</module>
402 <module>catalog-be</module>
403 <module>asdctool</module>
404 <module>catalog-ui</module>
405 <module>catalog-fe</module>
406 <module>test-apis-ci</module>
407 <module>ui-ci</module>
408 <module>sdc-os-chef</module>
409 <module>utils/webseal-simulator</module>
410 </modules>
Michael Lando451a3402017-02-19 10:28:42 +0200411
Gautam Shah3de22e12018-04-21 16:18:37 +0530412 </profile>
AviZi280f8012017-06-09 02:39:56 +0300413
Gautam Shah3de22e12018-04-21 16:18:37 +0530414 <profile>
415 <id>catalog</id>
416 <activation>
417 <activeByDefault>false</activeByDefault>
418 </activation>
419 <modules>
420 <module>security-utils</module>
421 <module>common-app-api</module>
422 <module>common-be</module>
423 <module>catalog-dao</module>
424 <module>catalog-model</module>
425 <module>catalog-be</module>
426 <module>asdctool</module>
427 <module>catalog-ui</module>
428 <module>catalog-fe</module>
429 <module>test-apis-ci</module>
430 <module>ui-ci</module>
431 </modules>
sheetalm297209b2018-02-20 19:06:27 +0530432
Gautam Shah3de22e12018-04-21 16:18:37 +0530433 <properties>
434 <ecomp.version>1.2.7</ecomp.version>
435 <artifact-generator-api.version>1802.0.1.167</artifact-generator-api.version>
436 <artifact-generator-core.version>1802.0.1.167</artifact-generator-core.version>
437 <dox-common-lib.version>1802.0.1.167</dox-common-lib.version>
438 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
439 </properties>
440 </profile>
AviZi280f8012017-06-09 02:39:56 +0300441
Gautam Shah3de22e12018-04-21 16:18:37 +0530442 <profile>
443 <id>onboarding</id>
444 <activation>
445 <activeByDefault>false</activeByDefault>
446 </activation>
447 <modules>
448 <module>build-tools</module>
449 <module>onboarding</module>
450 </modules>
451 </profile>
AviZi280f8012017-06-09 02:39:56 +0300452
Gautam Shah3de22e12018-04-21 16:18:37 +0530453 </profiles>
454
455 <repositories>
456 <!-- LF repositories -->
457 <repository>
458 <id>ecomp-releases</id>
459 <name>Release Repository</name>
460 <url>${nexus.proxy}/content/repositories/releases/</url>
461 </repository>
462 <repository>
463 <id>ecomp-snapshots</id>
464 <name>Snapshots Repository</name>
465 <url>${nexus.proxy}/content/repositories/snapshots/</url>
466 </repository>
467 <repository>
468 <id>ecomp-public</id>
469 <name>Public Repository</name>
470 <url>${nexus.proxy}/content/repositories/public/</url>
471 </repository>
472 <!-- LF repositories END-->
473 </repositories>
474
475 <distributionManagement>
476 <repository>
477 <id>ecomp-releases</id>
478 <name>Release Repository</name>
479 <url>${nexus.proxy}/content/repositories/releases/</url>
480 </repository>
481 <snapshotRepository>
482 <id>ecomp-snapshots</id>
483 <name>Snapshot Repository</name>
484 <url>${nexus.proxy}/content/repositories/snapshots/</url>
485 </snapshotRepository>
486 <site>
487 <id>ecomp-site</id>
488 <url>dav:${nexus.proxy}${sitePath}</url>
489 </site>
490 </distributionManagement>
AviZi280f8012017-06-09 02:39:56 +0300491</project>