blob: 1a9908453873ebe2185c99ad5e93751b7dedd9e0 [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>
Michael Lando5b593492018-07-29 16:13:45 +030027 <spring.version>4.3.17.RELEASE</spring.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053028 <spring.security.version>3.2.3.RELEASE</spring.security.version>
29 <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
Michael Lando5b593492018-07-29 16:13:45 +030030 <jersey-bom.version>2.27</jersey-bom.version>
31 <servlet-api.version>3.1.0</servlet-api.version>
32 <wire-mock.version>2.18.0</wire-mock.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053033 <ecomp.version>1.1.0</ecomp.version>
Michael Lando451a3402017-02-19 10:28:42 +020034
Gautam Shah3de22e12018-04-21 16:18:37 +053035 <!-- Elastic Search mapper (reference the elastic search version actually). -->
36 <elastic-search.version>2.4.0</elastic-search.version>
37 <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
38 <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
Michael Landod618ad62018-05-13 22:27:13 +030039 <jetty.version>9.2.22.v20170606</jetty.version>
Michael Lando451a3402017-02-19 10:28:42 +020040
Gautam Shah3de22e12018-04-21 16:18:37 +053041 <!-- JSON and YAML Parsing -->
Michael Lando5b593492018-07-29 16:13:45 +030042 <jackson.version>2.8.10</jackson.version>
43 <jackson-annotations.version>2.8.0</jackson-annotations.version>
Michael Lando451a3402017-02-19 10:28:42 +020044
Gautam Shah3de22e12018-04-21 16:18:37 +053045 <!-- Yaml for properties -->
46 <snakeyaml.version>1.14</snakeyaml.version>
Michael Lando5b593492018-07-29 16:13:45 +030047 <functionaljava.version>4.7</functionaljava.version>
Michael Lando12368942018-05-13 19:19:46 +030048 <httpclient.version>4.5.3</httpclient.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053049 <httpcore.version>4.4.1</httpcore.version>
50 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030051
Gautam Shah3de22e12018-04-21 16:18:37 +053052 <!-- Logging start -->
53 <!-- logback -->
Gitelman, Tal (tg851x)483c3d92018-03-12 18:41:15 +020054 <logback.version>1.2.3</logback.version>
Michael Lando5b593492018-07-29 16:13:45 +030055 <slf4j-api.version>1.7.25</slf4j-api.version>
AviZi280f8012017-06-09 02:39:56 +030056 <commons-codec>1.10</commons-codec>
57 <commons-logging>1.2</commons-logging>
Gautam Shah3de22e12018-04-21 16:18:37 +053058 <groovy.version>2.4.13</groovy.version>
59 <janino.version>3.0.6</janino.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030060
Gautam Shah3de22e12018-04-21 16:18:37 +053061 <!-- aspects -->
62 <jcabi.version>0.20.1</jcabi.version>
63 <aspectjrt.version>1.8.4</aspectjrt.version>
64 <aspectj.version>1.7.4</aspectj.version>
65 <jcabi.plugin.version>0.13.2</jcabi.plugin.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030066
Gautam Shah3de22e12018-04-21 16:18:37 +053067 <!-- Logging end -->
68 <!-- System Metrics -->
69 <sigar.version>1.6.4</sigar.version>
Michael Lando451a3402017-02-19 10:28:42 +020070
Gautam Shah3de22e12018-04-21 16:18:37 +053071 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +020072
Gautam Shah3de22e12018-04-21 16:18:37 +053073 <!--GSON-->
74 <gson.version>2.3.1</gson.version>
AviZi280f8012017-06-09 02:39:56 +030075
76 <!--listen to file changes-->
77 <commons-jci-core.version>1.1</commons-jci-core.version>
78
Gautam Shah3de22e12018-04-21 16:18:37 +053079 <!--TESTING-->
Michael Lando5b593492018-07-29 16:13:45 +030080 <mockito.version>2.18.3</mockito.version>
81 <jmockit.version>1.33</jmockit.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053082 <junit.version>4.12</junit.version>
Michael Lando5b593492018-07-29 16:13:45 +030083 <assertj.version>3.10.0</assertj.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053084 <testng.version>6.9.10</testng.version>
85 <extentreports.version>3.0.3</extentreports.version>
Michael Lando5b593492018-07-29 16:13:45 +030086 <cucumber.version>2.4.0</cucumber.version>
Piotr Darosz00814512018-06-18 12:46:35 +020087 <bean-matchers.version>0.11</bean-matchers.version>
Michael Landoa5445102018-03-04 14:53:33 +020088
Gautam Shah3de22e12018-04-21 16:18:37 +053089 <!-- parser-->
Michael Lando5b593492018-07-29 16:13:45 +030090 <sdc-tosca-parser.version>1.3.5</sdc-tosca-parser.version>
Michael Landoa5445102018-03-04 14:53:33 +020091
Michael Lando5b593492018-07-29 16:13:45 +030092 <!-- sonar -->
Gautam Shah3de22e12018-04-21 16:18:37 +053093 <sonar.language>java</sonar.language>
ml636rd0214c72017-02-22 11:36:55 +020094
Gautam Shah3de22e12018-04-21 16:18:37 +053095 <!--cassandra -->
96 <cassandra.driver.version>3.0.0</cassandra.driver.version>
97 <!-- maven central (Nexus) -->
98 <nexus.id.release>nexus</nexus.id.release>
99 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200100
Gautam Shah3de22e12018-04-21 16:18:37 +0530101 <!--nexus-->
102 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
103 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
104 <staging.profile.id>176c31dfe190a</staging.profile.id>
105 <!--maven-->
106 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
107 <!--io.fabric8-->
108 <fabric8.version>0.23.0</fabric8.version>
109 <!--docker tags-->
110 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
111 <!--<docker.latest.tag>${project.version}-latest</docker.latest.tag>-->
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200112
Gautam Shah3de22e12018-04-21 16:18:37 +0530113 </properties>
Michael Lando451a3402017-02-19 10:28:42 +0200114
Gautam Shah3de22e12018-04-21 16:18:37 +0530115 <dependencyManagement>
116 <dependencies>
117 <dependency>
118 <groupId>org.glassfish.jersey.ext</groupId>
119 <artifactId>jersey-bean-validation</artifactId>
120 <version>${jersey-bom.version}</version>
121 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200122
Gautam Shah3de22e12018-04-21 16:18:37 +0530123 <dependency>
124 <groupId>org.glassfish.hk2.external</groupId>
125 <artifactId>asm-all-repackaged</artifactId>
126 <version>2.4.0</version>
127 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200128
Gautam Shah3de22e12018-04-21 16:18:37 +0530129 <dependency>
130 <groupId>org.assertj</groupId>
131 <artifactId>assertj-core</artifactId>
132 <version>${assertj.version}</version>
133 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200134
Gautam Shah3de22e12018-04-21 16:18:37 +0530135 <dependency>
136 <groupId>org.mockito</groupId>
137 <artifactId>mockito-core</artifactId>
138 <version>${mockito.version}</version>
139 </dependency>
Tal Gitelmanb2533e52018-06-06 14:46:07 +0300140
Yuli Shlosberge4669312018-04-26 15:48:26 +0300141 <dependency>
142 <groupId>org.jmockit</groupId>
143 <artifactId>jmockit</artifactId>
144 <version>${jmockit.version}</version>
145 </dependency>
146
Michael Landoa5445102018-03-04 14:53:33 +0200147
Gautam Shah3de22e12018-04-21 16:18:37 +0530148 <dependency>
149 <groupId>com.github.tomakehurst</groupId>
Michael Lando5b593492018-07-29 16:13:45 +0300150 <artifactId>wiremock-standalone</artifactId>
Gautam Shah3de22e12018-04-21 16:18:37 +0530151 <version>${wire-mock.version}</version>
152 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200153
154 <dependency>
155 <groupId>io.cucumber</groupId>
156 <artifactId>cucumber-java</artifactId>
157 <version>${cucumber.version}</version>
158 </dependency>
159
160 <dependency>
161 <groupId>io.cucumber</groupId>
162 <artifactId>cucumber-junit</artifactId>
163 <version>${cucumber.version}</version>
164 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300165
166 <dependency>
167 <groupId>org.apache.commons</groupId>
168 <artifactId>commons-lang3</artifactId>
169 <version>${lang3.version}</version>
170 </dependency>
Gautam Shah3de22e12018-04-21 16:18:37 +0530171 </dependencies>
172 </dependencyManagement>
Michael Landoa5445102018-03-04 14:53:33 +0200173
Gautam Shah3de22e12018-04-21 16:18:37 +0530174 <reporting>
175 <plugins>
176 <plugin>
177 <groupId>org.apache.maven.plugins</groupId>
178 <artifactId>maven-javadoc-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300179 <version>3.0.0</version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530180 <configuration>
181 <failOnError>false</failOnError>
182 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
183 <docletArtifact>
184 <groupId>org.umlgraph</groupId>
185 <artifactId>umlgraph</artifactId>
186 <version>5.6</version>
187 </docletArtifact>
188 <additionalparam>-views</additionalparam>
189 <useStandardDocletOptions>true</useStandardDocletOptions>
190 </configuration>
191 </plugin>
192 </plugins>
193 </reporting>
Michael Lando451a3402017-02-19 10:28:42 +0200194
Gautam Shah3de22e12018-04-21 16:18:37 +0530195 <build>
196 <pluginManagement>
197 <plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200198
Gautam Shah3de22e12018-04-21 16:18:37 +0530199 <plugin>
200 <groupId>org.apache.maven.plugins</groupId>
201 <artifactId>maven-site-plugin</artifactId>
202 <version>3.4</version>
203 <dependencies>
204 <dependency>
205 <groupId>org.apache.maven.wagon</groupId>
206 <artifactId>wagon-webdav-jackrabbit</artifactId>
207 <version>2.10</version>
208 </dependency>
209 </dependencies>
210 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200211
212
Gautam Shah3de22e12018-04-21 16:18:37 +0530213 <plugin>
214 <groupId>org.apache.maven.plugins</groupId>
215 <artifactId>maven-assembly-plugin</artifactId>
216 <version>3.1.0</version>
217 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200218
Gautam Shah3de22e12018-04-21 16:18:37 +0530219 <plugin>
220 <groupId>org.codehaus.mojo</groupId>
221 <artifactId>exec-maven-plugin</artifactId>
222 <version>1.4.0</version>
223 </plugin>
224 <plugin>
225 <groupId>org.sonarsource.scanner.maven</groupId>
226 <artifactId>sonar-maven-plugin</artifactId>
227 <version>3.0.2</version>
228 </plugin>
229 </plugins>
230 </pluginManagement>
Michael Lando451a3402017-02-19 10:28:42 +0200231
Gautam Shah3de22e12018-04-21 16:18:37 +0530232 <plugins>
Michael Lando546f7cf2017-09-23 00:05:17 +0300233
Gautam Shah3de22e12018-04-21 16:18:37 +0530234 <!-- Staging Plugin -->
235 <plugin>
236 <groupId>org.sonatype.plugins</groupId>
237 <artifactId>nexus-staging-maven-plugin</artifactId>
238 <version>1.6.7</version>
239 <extensions>true</extensions>
240 <configuration>
241 <nexusUrl>${nexus.proxy}</nexusUrl>
242 <stagingProfileId>${staging.profile.id}</stagingProfileId>
243 <serverId>ecomp-staging</serverId>
244 </configuration>
245 </plugin>
Michael Lando546f7cf2017-09-23 00:05:17 +0300246
Gautam Shah3de22e12018-04-21 16:18:37 +0530247 <!-- plugin for parsing the project version -->
248 <plugin>
249 <groupId>org.codehaus.mojo</groupId>
250 <artifactId>build-helper-maven-plugin</artifactId>
251 <version>1.8</version>
252 <executions>
253 <execution>
254 <id>parse-version</id>
255 <goals>
256 <goal>parse-version</goal>
257 </goals>
258 </execution>
259 </executions>
260 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200261
Gautam Shah3de22e12018-04-21 16:18:37 +0530262 <!-- Java Code Coverage -->
263 <plugin>
264 <groupId>org.jacoco</groupId>
265 <artifactId>jacoco-maven-plugin</artifactId>
Michael Lando5b593492018-07-29 16:13:45 +0300266 <version>0.8.1</version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530267 <executions>
268 <execution>
269 <id>default-prepare-agent</id>
270 <goals>
271 <goal>prepare-agent</goal>
272 </goals>
273 </execution>
274 <execution>
275 <id>default-report</id>
276 <goals>
277 <goal>report</goal>
278 </goals>
279 </execution>
280 </executions>
281 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200282
Gautam Shah3de22e12018-04-21 16:18:37 +0530283 <plugin>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-site-plugin</artifactId>
286 <dependencies>
287 <dependency>
288 <groupId>org.apache.maven.wagon</groupId>
289 <artifactId>wagon-webdav-jackrabbit</artifactId>
290 <version>2.10</version>
291 </dependency>
292 </dependencies>
293 </plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200294
Gautam Shah3de22e12018-04-21 16:18:37 +0530295 <!-- Set the deployment repositories properties. -->
296 <plugin>
297 <groupId>org.codehaus.gmaven</groupId>
298 <artifactId>gmaven-plugin</artifactId>
299 <version>1.4</version>
300 <executions>
301 <execution>
302 <inherited>false</inherited>
303 <phase>integration-test</phase>
304 <goals>
305 <goal>execute</goal>
306 </goals>
307 <configuration>
308 <source>
309 pom.properties['deploy.url'] =
Michael Lando5b593492018-07-29 16:13:45 +0300310 pom.version.contains('-SNAPSHOT') ?
311 project.distributionManagement.snapshotRepository.url :
312 project.distributionManagement.repository.url;
Gautam Shah3de22e12018-04-21 16:18:37 +0530313 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
Michael Lando5b593492018-07-29 16:13:45 +0300314 project.distributionManagement.snapshotRepository.id :
315 project.distributionManagement.repository.id;
Gautam Shah3de22e12018-04-21 16:18:37 +0530316 </source>
317 </configuration>
318 </execution>
319 </executions>
320 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200321
Gautam Shah3de22e12018-04-21 16:18:37 +0530322 <!-- license plugin -->
323 <plugin>
324 <groupId>org.codehaus.mojo</groupId>
325 <artifactId>license-maven-plugin</artifactId>
326 <version>1.10</version>
327 <configuration>
328 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
329 <processStartTag>============LICENSE_START=======================================================</processStartTag>
330 <processEndTag>============LICENSE_END=========================================================</processEndTag>
331 <sectionDelimiter>================================================================================</sectionDelimiter>
Michael Lando5b593492018-07-29 16:13:45 +0300332 <sectionDelimiter>================================================================================</sectionDelimiter>
Gautam Shah3de22e12018-04-21 16:18:37 +0530333 <licenseName>apache_v2</licenseName>
334 <inceptionYear>2017</inceptionYear>
335 <organizationName>AT&amp;T Intellectual Property. All rights
336 reserved.
337 </organizationName>
338 <projectName>SDC</projectName>
339 <canUpdateCopyright>true</canUpdateCopyright>
340 <canUpdateDescription>true</canUpdateDescription>
341 <canUpdateLicense>true</canUpdateLicense>
342 <emptyLineAfterHeader>true</emptyLineAfterHeader>
343 <verbose>false</verbose>
344 <includes>
345 <include>**/*.java</include>
346 <include>**/*.ts</include>
347 </includes>
348 <excludes>
349 <exclude>**/*.d.ts</exclude>
350 </excludes>
351 <roots>
352 <root>src</root>
353 <root>app</root>
354 <root>server-mock</root>
355 <root>typings</root>
356 </roots>
357 <extraExtensions>
358 <ts>java</ts>
359 </extraExtensions>
360 </configuration>
361 <executions>
362 <execution>
363 <id>first</id>
364 <goals>
365 <goal>update-file-header</goal>
366 </goals>
367 <!--phase>process-sources</phase -->
368 </execution>
369 </executions>
370 </plugin>
371 </plugins>
372 </build>
AviZi280f8012017-06-09 02:39:56 +0300373
Gautam Shah3de22e12018-04-21 16:18:37 +0530374 <profiles>
375 <profile>
376 <id>all</id>
377 <activation>
378 <activeByDefault>true</activeByDefault>
379 </activation>
380 <modules>
381 <module>build-tools</module>
Gautam Shah3de22e12018-04-21 16:18:37 +0530382 <module>security-utils</module>
383 <module>common-app-api</module>
Michael Landoa6c79102018-04-30 21:54:40 +0300384 <module>onboarding</module>
385 <module>services/activity-spec</module>
Gautam Shah3de22e12018-04-21 16:18:37 +0530386 <module>common-be</module>
387 <module>catalog-dao</module>
388 <module>catalog-model</module>
389 <module>catalog-be</module>
390 <module>asdctool</module>
391 <module>catalog-ui</module>
392 <module>catalog-fe</module>
393 <module>test-apis-ci</module>
394 <module>ui-ci</module>
395 <module>sdc-os-chef</module>
396 <module>utils/webseal-simulator</module>
397 </modules>
Michael Lando451a3402017-02-19 10:28:42 +0200398
Gautam Shah3de22e12018-04-21 16:18:37 +0530399 </profile>
AviZi280f8012017-06-09 02:39:56 +0300400
Gautam Shah3de22e12018-04-21 16:18:37 +0530401 <profile>
402 <id>catalog</id>
403 <activation>
404 <activeByDefault>false</activeByDefault>
405 </activation>
406 <modules>
407 <module>security-utils</module>
408 <module>common-app-api</module>
409 <module>common-be</module>
410 <module>catalog-dao</module>
411 <module>catalog-model</module>
412 <module>catalog-be</module>
413 <module>asdctool</module>
414 <module>catalog-ui</module>
415 <module>catalog-fe</module>
416 <module>test-apis-ci</module>
417 <module>ui-ci</module>
418 </modules>
sheetalm297209b2018-02-20 19:06:27 +0530419
Gautam Shah3de22e12018-04-21 16:18:37 +0530420 <properties>
421 <ecomp.version>1.2.7</ecomp.version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530422 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
423 </properties>
424 </profile>
AviZi280f8012017-06-09 02:39:56 +0300425
Gautam Shah3de22e12018-04-21 16:18:37 +0530426 <profile>
427 <id>onboarding</id>
428 <activation>
429 <activeByDefault>false</activeByDefault>
430 </activation>
431 <modules>
432 <module>build-tools</module>
433 <module>onboarding</module>
434 </modules>
435 </profile>
AviZi280f8012017-06-09 02:39:56 +0300436
Gautam Shah3de22e12018-04-21 16:18:37 +0530437 </profiles>
438
439 <repositories>
440 <!-- LF repositories -->
441 <repository>
442 <id>ecomp-releases</id>
443 <name>Release Repository</name>
444 <url>${nexus.proxy}/content/repositories/releases/</url>
445 </repository>
446 <repository>
447 <id>ecomp-snapshots</id>
448 <name>Snapshots Repository</name>
449 <url>${nexus.proxy}/content/repositories/snapshots/</url>
450 </repository>
451 <repository>
452 <id>ecomp-public</id>
453 <name>Public Repository</name>
454 <url>${nexus.proxy}/content/repositories/public/</url>
455 </repository>
456 <!-- LF repositories END-->
457 </repositories>
458
459 <distributionManagement>
460 <repository>
461 <id>ecomp-releases</id>
462 <name>Release Repository</name>
463 <url>${nexus.proxy}/content/repositories/releases/</url>
464 </repository>
465 <snapshotRepository>
466 <id>ecomp-snapshots</id>
467 <name>Snapshot Repository</name>
468 <url>${nexus.proxy}/content/repositories/snapshots/</url>
469 </snapshotRepository>
470 <site>
471 <id>ecomp-site</id>
472 <url>dav:${nexus.proxy}${sitePath}</url>
473 </site>
474 </distributionManagement>
Michael Lando5b593492018-07-29 16:13:45 +0300475</project>