blob: 5256df7b05f08a8b7335c33d11fe87753b771a5b [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>
Jessica Wagantalla38bdc62017-09-08 12:29:32 -07009 <name>sdc</name>
Michael Lando451a3402017-02-19 10:28:42 +020010 <properties>
11
12 <!-- ==================== -->
13 <!-- Generic properties -->
14 <!-- ==================== -->
Michael Lando9db40522017-07-22 17:10:02 +030015 <build.type>-SNAPSHOT</build.type>
Michael Lando451a3402017-02-19 10:28:42 +020016 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Michael Lando75aacbb2017-07-17 21:12:03 +030017 <sprint.number>74</sprint.number>
Michael Lando451a3402017-02-19 10:28:42 +020018
19 <!-- 3rd parties versions -->
20 <lang3.version>3.3.2</lang3.version>
21 <guava.version>18.0</guava.version>
22 <titan.version>1.0.0</titan.version>
23 <spring-boot.version>1.1.6.RELEASE</spring-boot.version>
24 <spring.version>4.3.4.RELEASE</spring.version>
25 <spring.security.version>3.2.3.RELEASE</spring.security.version>
26 <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
AviZi280f8012017-06-09 02:39:56 +030027 <jersey-bom.version>2.24</jersey-bom.version>
28 <servlet-api.version>2.5</servlet-api.version>
29
AviZi280f8012017-06-09 02:39:56 +030030 <artifact-generator-api.version>1.1.0-SNAPSHOT</artifact-generator-api.version>
31 <artifact-generator-core.version>1.1.0-SNAPSHOT</artifact-generator-core.version>
Avi Ziv11c43842017-07-16 15:21:15 +030032 <ecomp.version>1.1.0</ecomp.version>
Michael Landoebd7c8f2017-03-15 20:38:00 +020033 <dox-common-lib.version>1.1.0-SNAPSHOT</dox-common-lib.version>
Michael Lando451a3402017-02-19 10:28:42 +020034
Michael Lando451a3402017-02-19 10:28:42 +020035 <!-- Elastic Search mapper (reference the elastic search version actually). -->
36 <elastic-search.version>2.1.0</elastic-search.version>
Michael Lando451a3402017-02-19 10:28:42 +020037 <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
38 <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
39 <jetty.version>9.2.10.v20150310</jetty.version>
40
41 <!-- JSON and YAML Parsing -->
42 <jackson.version>2.6.2</jackson.version>
Michael Landob3d48982017-06-11 14:22:02 +030043 <jackson.yaml.version>2.8.1</jackson.yaml.version>
Michael Lando451a3402017-02-19 10:28:42 +020044 <jackson.annotations.version>2.6.0</jackson.annotations.version>
45
46 <!-- Yaml for properties -->
AviZi280f8012017-06-09 02:39:56 +030047 <snakeyaml.version>1.14</snakeyaml.version>
48 <functionaljava.version>4.4</functionaljava.version>
Michael Lando451a3402017-02-19 10:28:42 +020049 <httpclient.version>4.4.1</httpclient.version>
50 <httpcore.version>4.4.1</httpcore.version>
51 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030052
Michael Lando451a3402017-02-19 10:28:42 +020053
54 <!-- Logging start -->
55 <!-- logback -->
AviZi280f8012017-06-09 02:39:56 +030056 <logback.version>1.1.2</logback.version>
57 <slf4j-api.version>1.7.10</slf4j-api.version>
58 <commons-codec>1.10</commons-codec>
59 <commons-logging>1.2</commons-logging>
Michael Lando451a3402017-02-19 10:28:42 +020060 <groovy.version>2.3.5</groovy.version>
61 <janino.version>3.0.6</janino.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030062
Michael Lando451a3402017-02-19 10:28:42 +020063 <!-- aspects -->
64 <jcabi.version>0.20.1</jcabi.version>
65 <aspectjrt.version>1.8.4</aspectjrt.version>
AviZi280f8012017-06-09 02:39:56 +030066 <aspectj.version>1.7.4</aspectj.version>
Michael Lando451a3402017-02-19 10:28:42 +020067 <jcabi.plugin.version>0.13.2</jcabi.plugin.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030068
Michael Lando451a3402017-02-19 10:28:42 +020069 <!-- Logging end -->
70 <!-- System Metrics -->
71 <sigar.version>1.6.4</sigar.version>
72
AviZi280f8012017-06-09 02:39:56 +030073 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +020074
AviZi280f8012017-06-09 02:39:56 +030075 <codehaus.jackson.core>1.9.2</codehaus.jackson.core>
76
77 <!--GSON-->
78 <gson.version>2.3.1</gson.version>
79
80 <!--listen to file changes-->
81 <commons-jci-core.version>1.1</commons-jci-core.version>
82
83 <!--TESTING-->
84 <mockito.version>1.10.19</mockito.version>
85 <junit.version>4.12</junit.version>
86 <testng.version>6.9.10</testng.version>
87 <extentreports.version>3.0.3</extentreports.version>
Tal Gitelmanffdda7d2017-07-02 15:33:25 +030088
Tal Gitelmaned7e1c32017-06-29 19:30:00 +030089 <!-- parser-->
90 <sdc-tosca-parser.version>1.1.14-SNAPSHOT</sdc-tosca-parser.version>
Tal Gitelmanffdda7d2017-07-02 15:33:25 +030091
Michael Lando451a3402017-02-19 10:28:42 +020092 <!--JaCoCO -->
93 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
94 <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
95 <sonar.jacoco.itReportPath>${project.basedir}/target/it-jacoco.exec</sonar.jacoco.itReportPath>
AviZi280f8012017-06-09 02:39:56 +030096 <sonar.language>java</sonar.language>
97 <sonar.version>${project.version}</sonar.version>
Michael Lando451a3402017-02-19 10:28:42 +020098
99 <!--cassandra -->
100 <cassandra.driver.version>3.0.0</cassandra.driver.version>
AviZi280f8012017-06-09 02:39:56 +0300101 <!-- maven central (Nexus) -->
102 <nexus.id.release>nexus</nexus.id.release>
103 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Michael Lando451a3402017-02-19 10:28:42 +0200104 <!-- Sonar properties -->
Michael Lando451a3402017-02-19 10:28:42 +0200105 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
106 <sonar.skipDesign>true</sonar.skipDesign>
107 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
ml636rd0214c72017-02-22 11:36:55 +0200108 <sonar.sources>.</sonar.sources>
ml636r72e56e42017-02-27 12:36:59 +0200109 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
ml636rd0214c72017-02-22 11:36:55 +0200110 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
111 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
112
113 <!--nexus-->
Andrew Grimberge636a202017-03-29 13:11:14 -0700114 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
ig6133a16ca442017-04-05 16:10:49 +0300115 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
ml636rd0214c72017-02-22 11:36:55 +0200116 <staging.profile.id>176c31dfe190a</staging.profile.id>
Michael Lando5e3ea6a2017-03-15 22:15:17 +0200117 <!--maven-->
118 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
Michael Lando451a3402017-02-19 10:28:42 +0200119 </properties>
120
121 <reporting>
122 <plugins>
123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-javadoc-plugin</artifactId>
126 <version>2.10.4</version>
127 <configuration>
128 <failOnError>false</failOnError>
129 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
130 <docletArtifact>
131 <groupId>org.umlgraph</groupId>
132 <artifactId>umlgraph</artifactId>
133 <version>5.6</version>
134 </docletArtifact>
135 <additionalparam>-views</additionalparam>
136 <useStandardDocletOptions>true</useStandardDocletOptions>
137 </configuration>
138 </plugin>
139 </plugins>
140 </reporting>
141
Michael Lando451a3402017-02-19 10:28:42 +0200142 <build>
143 <pluginManagement>
144 <plugins>
145
146 <plugin>
147 <groupId>org.apache.maven.plugins</groupId>
148 <artifactId>maven-site-plugin</artifactId>
149 <version>3.4</version>
150 <dependencies>
151 <dependency>
152 <groupId>org.apache.maven.wagon</groupId>
153 <artifactId>wagon-webdav-jackrabbit</artifactId>
154 <version>2.10</version>
155 </dependency>
156 </dependencies>
157 </plugin>
158
159
160 <plugin>
161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-assembly-plugin</artifactId>
163 <version>2.6</version>
164 </plugin>
165
166 <plugin>
167 <groupId>org.codehaus.mojo</groupId>
168 <artifactId>exec-maven-plugin</artifactId>
169 <version>1.4.0</version>
170 </plugin>
171 <plugin>
172 <groupId>org.sonarsource.scanner.maven</groupId>
173 <artifactId>sonar-maven-plugin</artifactId>
174 <version>3.0.2</version>
175 </plugin>
176 </plugins>
177 </pluginManagement>
178
179 <plugins>
Michael Lando8a817492017-09-26 12:37:31 +0300180
181 <!-- Staging Plugin -->
182 <plugin>
183 <groupId>org.sonatype.plugins</groupId>
184 <artifactId>nexus-staging-maven-plugin</artifactId>
185 <version>1.6.7</version>
186 <extensions>true</extensions>
187 <configuration>
188 <nexusUrl>${nexus.proxy}</nexusUrl>
189 <stagingProfileId>${staging.profile.id}</stagingProfileId>
190 <serverId>ecomp-staging</serverId>
191 </configuration>
192 </plugin>
193
Michael Lando451a3402017-02-19 10:28:42 +0200194 <plugin>
195 <artifactId>maven-surefire-plugin</artifactId>
196 <version>2.19.1</version>
197 <configuration>
198 <systemPropertyVariables>
199 <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
200 </systemPropertyVariables>
201 </configuration>
202 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300203 <!-- plugin for parsing the project version -->
204 <plugin>
205 <groupId>org.codehaus.mojo</groupId>
206 <artifactId>build-helper-maven-plugin</artifactId>
207 <version>1.8</version>
208 <executions>
209 <execution>
210 <id>parse-version</id>
211 <goals>
212 <goal>parse-version</goal>
213 </goals>
214 </execution>
215 </executions>
216 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200217
Michael Lando451a3402017-02-19 10:28:42 +0200218 <!-- Set the JDK compiler version. -->
Michael Lando451a3402017-02-19 10:28:42 +0200219 <plugin>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-compiler-plugin</artifactId>
222 <version>2.5.1</version>
223 <inherited>true</inherited>
224 <configuration>
225 <source>1.8</source>
226 <target>1.8</target>
227 </configuration>
228 </plugin>
229
Michael Lando451a3402017-02-19 10:28:42 +0200230 <!-- Java Code Coverage -->
Michael Lando451a3402017-02-19 10:28:42 +0200231 <plugin>
232 <groupId>org.jacoco</groupId>
233 <artifactId>jacoco-maven-plugin</artifactId>
234 <version>0.7.1.201405082137</version>
235 <inherited>True</inherited>
Michael Lando451a3402017-02-19 10:28:42 +0200236 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200237 <!-- Unit-Tests -->
238 <execution>
239 <id>prepare-agent</id>
240 <goals>
241 <goal>prepare-agent</goal>
242 </goals>
243 <configuration>
244 <destFile>${sonar.jacoco.reportPath}</destFile>
245 </configuration>
246 </execution>
Michael Lando451a3402017-02-19 10:28:42 +0200247 <execution>
248 <id>report</id>
249 <goals>
250 <goal>report</goal>
251 </goals>
252 <configuration>
253 <dataFile>${sonar.jacoco.reportPath}</dataFile>
254 <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory>
255 </configuration>
256 </execution>
257
258 <!-- Integration Tests (Only report goal) -->
259 <execution>
260 <id>report-integration</id>
261 <goals>
262 <goal>report-integration</goal>
263 </goals>
264 <configuration>
265 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
266 <outputDirectory>${project.basedir}/target/site/it-jacoco</outputDirectory>
267 </configuration>
268 </execution>
269 </executions>
270 </plugin>
271
Michael Lando451a3402017-02-19 10:28:42 +0200272 <!-- Set the deployment repositories properties. -->
Michael Lando451a3402017-02-19 10:28:42 +0200273 <plugin>
274 <groupId>org.codehaus.gmaven</groupId>
275 <artifactId>gmaven-plugin</artifactId>
276 <version>1.4</version>
277 <executions>
278 <execution>
279 <inherited>false</inherited>
280 <phase>integration-test</phase>
281 <goals>
282 <goal>execute</goal>
283 </goals>
284 <configuration>
285 <source>
286 pom.properties['deploy.url']=
287 pom.version.contains('-SNAPSHOT') ?
288 project.distributionManagement.snapshotRepository.url :
289 project.distributionManagement.repository.url;
290 pom.properties['repo.id']= pom.version.contains('-SNAPSHOT') ?
291 project.distributionManagement.snapshotRepository.id :
292 project.distributionManagement.repository.id;
293 </source>
294 </configuration>
295 </execution>
296 </executions>
297 </plugin>
298
Michael Lando451a3402017-02-19 10:28:42 +0200299 <!-- license plugin -->
300 <plugin>
301 <groupId>org.codehaus.mojo</groupId>
302 <artifactId>license-maven-plugin</artifactId>
303 <version>1.10</version>
304 <configuration>
305 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
306 <processStartTag>============LICENSE_START=======================================================</processStartTag>
307 <processEndTag>============LICENSE_END=========================================================</processEndTag>
308 <sectionDelimiter>================================================================================</sectionDelimiter>
309 <licenseName>apache_v2</licenseName>
310 <inceptionYear>2017</inceptionYear>
Michael Lando3c3c8332017-07-20 01:29:49 +0300311 <organizationName>AT&amp;T Intellectual Property. All rights
312 reserved.</organizationName>
Michael Lando451a3402017-02-19 10:28:42 +0200313 <projectName>SDC</projectName>
314 <canUpdateCopyright>true</canUpdateCopyright>
315 <canUpdateDescription>true</canUpdateDescription>
316 <canUpdateLicense>true</canUpdateLicense>
317 <emptyLineAfterHeader>true</emptyLineAfterHeader>
318 <verbose>false</verbose>
319 <includes>
320 <include>**/*.java</include>
Michael Lando451a3402017-02-19 10:28:42 +0200321 <include>**/*.ts</include>
322 </includes>
AviZi280f8012017-06-09 02:39:56 +0300323 <excludes>
324 <exclude>**/*.d.ts</exclude>
325 </excludes>
Michael Lando451a3402017-02-19 10:28:42 +0200326 <roots>
327 <root>src</root>
328 <root>app</root>
329 <root>server-mock</root>
330 <root>typings</root>
331 </roots>
AviZi280f8012017-06-09 02:39:56 +0300332 <extraExtensions>
333 <ts>java</ts>
334 </extraExtensions>
Michael Lando451a3402017-02-19 10:28:42 +0200335 </configuration>
336 <executions>
337 <execution>
338 <id>first</id>
339 <goals>
340 <goal>update-file-header</goal>
341 </goals>
AviZi280f8012017-06-09 02:39:56 +0300342 <!--phase>process-sources</phase -->
Michael Lando451a3402017-02-19 10:28:42 +0200343 </execution>
344 </executions>
345 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300346 </plugins>
347 </build>
Michael Lando451a3402017-02-19 10:28:42 +0200348
AviZi280f8012017-06-09 02:39:56 +0300349 <profiles>
350 <profile>
351 <id>all</id>
352 <activation>
353 <activeByDefault>true</activeByDefault>
354 </activation>
355 <modules>
vempo09d4f062017-08-29 18:15:04 +0300356 <module>build-tools</module>
AviZi280f8012017-06-09 02:39:56 +0300357 <module>onboarding</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300358 <module>security-utils</module>
AviZi280f8012017-06-09 02:39:56 +0300359 <module>common-app-api</module>
360 <module>common-be</module>
361 <module>catalog-dao</module>
362 <module>catalog-model</module>
363 <module>catalog-be</module>
364 <module>asdctool</module>
365 <module>catalog-ui</module>
366 <module>catalog-fe</module>
367 <module>asdc-tests</module>
Michael Lando4d97d5f2017-06-17 22:40:44 +0300368 <module>test-apis-ci</module>
369 <module>ui-ci</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300370 <module>sdc-os-chef</module>
AviZi280f8012017-06-09 02:39:56 +0300371 </modules>
372
373 </profile>
Michael Lando451a3402017-02-19 10:28:42 +0200374
AviZi280f8012017-06-09 02:39:56 +0300375 <profile>
376 <id>catalog</id>
377 <activation>
378 <activeByDefault>false</activeByDefault>
379 </activation>
380 <modules>
381 <module>security-utils</module>
382 <module>common-app-api</module>
383 <module>common-be</module>
384 <module>catalog-dao</module>
385 <module>catalog-model</module>
386 <module>catalog-be</module>
387 <module>asdctool</module>
388 <module>catalog-ui</module>
389 <module>catalog-fe</module>
390 <module>asdc-tests</module>
391 <module>test-apis-ci</module>
392 <module>ui-ci</module>
Michael Landoc61d2242017-06-20 11:07:13 +0300393 </modules>
394
395 <properties>
396 <ecomp.version>1.2.7</ecomp.version>
Idan Amit6cc9a112017-09-13 17:21:33 +0300397 <artifact-generator-api.version>1710.0.0</artifact-generator-api.version>
398 <artifact-generator-core.version>1710.0.0</artifact-generator-core.version>
399 <dox-common-lib.version>1710.0.0</dox-common-lib.version>
Tal Gitelmaned7e1c32017-06-29 19:30:00 +0300400 <sdc-tosca-parser.version>1.1.14</sdc-tosca-parser.version>
Michael Lando8a817492017-09-26 12:37:31 +0300401 </properties>
Michael Landoc61d2242017-06-20 11:07:13 +0300402 </profile>
AviZi280f8012017-06-09 02:39:56 +0300403
404 <profile>
405 <id>onboarding</id>
406 <activation>
407 <activeByDefault>false</activeByDefault>
408 </activation>
409 <modules>
410 <module>onboarding</module>
411 </modules>
412 </profile>
AviZi280f8012017-06-09 02:39:56 +0300413 </profiles>
414
415 <repositories>
Tal Gitelmane2391b82017-08-03 15:53:48 +0300416 <!-- LF repositories -->
AviZi280f8012017-06-09 02:39:56 +0300417 <repository>
418 <id>ecomp-releases</id>
419 <name>Release Repository</name>
420 <url>${nexus.proxy}/content/repositories/releases/</url>
421 </repository>
422 <repository>
423 <id>ecomp-staging</id>
424 <name>Staging Repository</name>
425 <url>${nexus.proxy}/content/repositories/staging/</url>
426 </repository>
427 <repository>
428 <id>ecomp-snapshots</id>
429 <name>Snapshots Repository</name>
430 <url>${nexus.proxy}/content/repositories/snapshots/</url>
431 </repository>
Idan Amit317e3bc2017-08-16 10:26:17 +0300432 <repository>
433 <id>ecomp-public</id>
434 <name>Public Repository</name>
435 <url>${nexus.proxy}/content/repositories/public/</url>
436 </repository>
Tal Gitelmane2391b82017-08-03 15:53:48 +0300437 <!-- LF repositories END-->
AviZi280f8012017-06-09 02:39:56 +0300438 </repositories>
439
440 <distributionManagement>
441
442 <repository>
443 <id>ecomp-releases</id>
444 <name>Release Repository</name>
445 <url>${nexus.proxy}/content/repositories/releases/</url>
446 </repository>
447 <snapshotRepository>
448 <id>ecomp-snapshots</id>
449 <name>Snapshot Repository</name>
450 <url>${nexus.proxy}/content/repositories/snapshots/</url>
451 </snapshotRepository>
452 <site>
453 <id>ecomp-site</id>
454 <url>dav:${nexus.proxy}${sitePath}</url>
455 </site>
456 </distributionManagement>
457</project>
Michael Lando451a3402017-02-19 10:28:42 +0200458