blob: 17bf79aba3f6ac1888aba068bb7b165b7ee9bc99 [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>
AviZi280f8012017-06-09 02:39:56 +03009
Michael Lando451a3402017-02-19 10:28:42 +020010
11 <properties>
12
13 <!-- ==================== -->
14 <!-- Generic properties -->
15 <!-- ==================== -->
Michael Lando9db40522017-07-22 17:10:02 +030016 <build.type>-SNAPSHOT</build.type>
Michael Lando451a3402017-02-19 10:28:42 +020017 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Michael Lando75aacbb2017-07-17 21:12:03 +030018 <sprint.number>74</sprint.number>
Michael Lando451a3402017-02-19 10:28:42 +020019
20 <!-- 3rd parties versions -->
21 <lang3.version>3.3.2</lang3.version>
22 <guava.version>18.0</guava.version>
23 <titan.version>1.0.0</titan.version>
24 <spring-boot.version>1.1.6.RELEASE</spring-boot.version>
25 <spring.version>4.3.4.RELEASE</spring.version>
26 <spring.security.version>3.2.3.RELEASE</spring.security.version>
27 <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
AviZi280f8012017-06-09 02:39:56 +030028 <jersey-bom.version>2.24</jersey-bom.version>
29 <servlet-api.version>2.5</servlet-api.version>
30
AviZi280f8012017-06-09 02:39:56 +030031 <artifact-generator-api.version>1.1.0-SNAPSHOT</artifact-generator-api.version>
32 <artifact-generator-core.version>1.1.0-SNAPSHOT</artifact-generator-core.version>
Avi Ziv11c43842017-07-16 15:21:15 +030033 <ecomp.version>1.1.0</ecomp.version>
Michael Landoebd7c8f2017-03-15 20:38:00 +020034 <dox-common-lib.version>1.1.0-SNAPSHOT</dox-common-lib.version>
Michael Lando451a3402017-02-19 10:28:42 +020035
Michael Lando451a3402017-02-19 10:28:42 +020036 <!-- Elastic Search mapper (reference the elastic search version actually). -->
37 <elastic-search.version>2.1.0</elastic-search.version>
Michael Lando451a3402017-02-19 10:28:42 +020038 <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
39 <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
40 <jetty.version>9.2.10.v20150310</jetty.version>
41
42 <!-- JSON and YAML Parsing -->
43 <jackson.version>2.6.2</jackson.version>
Michael Landob3d48982017-06-11 14:22:02 +030044 <jackson.yaml.version>2.8.1</jackson.yaml.version>
Michael Lando451a3402017-02-19 10:28:42 +020045 <jackson.annotations.version>2.6.0</jackson.annotations.version>
46
47 <!-- Yaml for properties -->
AviZi280f8012017-06-09 02:39:56 +030048 <snakeyaml.version>1.14</snakeyaml.version>
49 <functionaljava.version>4.4</functionaljava.version>
Michael Lando451a3402017-02-19 10:28:42 +020050 <httpclient.version>4.4.1</httpclient.version>
51 <httpcore.version>4.4.1</httpcore.version>
52 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030053
Michael Lando451a3402017-02-19 10:28:42 +020054
55 <!-- Logging start -->
56 <!-- logback -->
AviZi280f8012017-06-09 02:39:56 +030057 <logback.version>1.1.2</logback.version>
58 <slf4j-api.version>1.7.10</slf4j-api.version>
59 <commons-codec>1.10</commons-codec>
60 <commons-logging>1.2</commons-logging>
Michael Lando451a3402017-02-19 10:28:42 +020061 <groovy.version>2.3.5</groovy.version>
62 <janino.version>3.0.6</janino.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030063
Michael Lando451a3402017-02-19 10:28:42 +020064 <!-- aspects -->
65 <jcabi.version>0.20.1</jcabi.version>
66 <aspectjrt.version>1.8.4</aspectjrt.version>
AviZi280f8012017-06-09 02:39:56 +030067 <aspectj.version>1.7.4</aspectj.version>
Michael Lando451a3402017-02-19 10:28:42 +020068 <jcabi.plugin.version>0.13.2</jcabi.plugin.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030069
Michael Lando451a3402017-02-19 10:28:42 +020070 <!-- Logging end -->
71 <!-- System Metrics -->
72 <sigar.version>1.6.4</sigar.version>
73
AviZi280f8012017-06-09 02:39:56 +030074 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +020075
AviZi280f8012017-06-09 02:39:56 +030076 <codehaus.jackson.core>1.9.2</codehaus.jackson.core>
77
78 <!--GSON-->
79 <gson.version>2.3.1</gson.version>
80
81 <!--listen to file changes-->
82 <commons-jci-core.version>1.1</commons-jci-core.version>
83
84 <!--TESTING-->
85 <mockito.version>1.10.19</mockito.version>
86 <junit.version>4.12</junit.version>
87 <testng.version>6.9.10</testng.version>
88 <extentreports.version>3.0.3</extentreports.version>
Tal Gitelmanffdda7d2017-07-02 15:33:25 +030089
Tal Gitelmaned7e1c32017-06-29 19:30:00 +030090 <!-- parser-->
91 <sdc-tosca-parser.version>1.1.14-SNAPSHOT</sdc-tosca-parser.version>
Tal Gitelmanffdda7d2017-07-02 15:33:25 +030092
Michael Lando451a3402017-02-19 10:28:42 +020093 <!--JaCoCO -->
94 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
95 <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
96 <sonar.jacoco.itReportPath>${project.basedir}/target/it-jacoco.exec</sonar.jacoco.itReportPath>
AviZi280f8012017-06-09 02:39:56 +030097 <sonar.language>java</sonar.language>
98 <sonar.version>${project.version}</sonar.version>
Michael Lando451a3402017-02-19 10:28:42 +020099
100 <!--cassandra -->
101 <cassandra.driver.version>3.0.0</cassandra.driver.version>
AviZi280f8012017-06-09 02:39:56 +0300102 <!-- maven central (Nexus) -->
103 <nexus.id.release>nexus</nexus.id.release>
104 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Michael Lando451a3402017-02-19 10:28:42 +0200105 <!-- Sonar properties -->
Michael Lando451a3402017-02-19 10:28:42 +0200106 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
107 <sonar.skipDesign>true</sonar.skipDesign>
108 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
ml636rd0214c72017-02-22 11:36:55 +0200109 <sonar.sources>.</sonar.sources>
ml636r72e56e42017-02-27 12:36:59 +0200110 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
ml636rd0214c72017-02-22 11:36:55 +0200111 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
112 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
113
114 <!--nexus-->
Andrew Grimberge636a202017-03-29 13:11:14 -0700115 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
ig6133a16ca442017-04-05 16:10:49 +0300116 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
ml636rd0214c72017-02-22 11:36:55 +0200117 <staging.profile.id>176c31dfe190a</staging.profile.id>
Michael Lando5e3ea6a2017-03-15 22:15:17 +0200118 <!--maven-->
119 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
Michael Lando451a3402017-02-19 10:28:42 +0200120 </properties>
121
122 <reporting>
123 <plugins>
124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-javadoc-plugin</artifactId>
127 <version>2.10.4</version>
128 <configuration>
129 <failOnError>false</failOnError>
130 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
131 <docletArtifact>
132 <groupId>org.umlgraph</groupId>
133 <artifactId>umlgraph</artifactId>
134 <version>5.6</version>
135 </docletArtifact>
136 <additionalparam>-views</additionalparam>
137 <useStandardDocletOptions>true</useStandardDocletOptions>
138 </configuration>
139 </plugin>
140 </plugins>
141 </reporting>
142
Michael Lando451a3402017-02-19 10:28:42 +0200143 <build>
144 <pluginManagement>
145 <plugins>
146
147 <plugin>
148 <groupId>org.apache.maven.plugins</groupId>
149 <artifactId>maven-site-plugin</artifactId>
150 <version>3.4</version>
151 <dependencies>
152 <dependency>
153 <groupId>org.apache.maven.wagon</groupId>
154 <artifactId>wagon-webdav-jackrabbit</artifactId>
155 <version>2.10</version>
156 </dependency>
157 </dependencies>
158 </plugin>
159
160
161 <plugin>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-assembly-plugin</artifactId>
164 <version>2.6</version>
165 </plugin>
166
167 <plugin>
168 <groupId>org.codehaus.mojo</groupId>
169 <artifactId>exec-maven-plugin</artifactId>
170 <version>1.4.0</version>
171 </plugin>
172 <plugin>
173 <groupId>org.sonarsource.scanner.maven</groupId>
174 <artifactId>sonar-maven-plugin</artifactId>
175 <version>3.0.2</version>
176 </plugin>
177 </plugins>
178 </pluginManagement>
179
180 <plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200181 <plugin>
182 <artifactId>maven-surefire-plugin</artifactId>
183 <version>2.19.1</version>
184 <configuration>
185 <systemPropertyVariables>
186 <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
187 </systemPropertyVariables>
188 </configuration>
189 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300190 <!-- plugin for parsing the project version -->
191 <plugin>
192 <groupId>org.codehaus.mojo</groupId>
193 <artifactId>build-helper-maven-plugin</artifactId>
194 <version>1.8</version>
195 <executions>
196 <execution>
197 <id>parse-version</id>
198 <goals>
199 <goal>parse-version</goal>
200 </goals>
201 </execution>
202 </executions>
203 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200204
Michael Lando451a3402017-02-19 10:28:42 +0200205 <!-- Set the JDK compiler version. -->
Michael Lando451a3402017-02-19 10:28:42 +0200206 <plugin>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-compiler-plugin</artifactId>
209 <version>2.5.1</version>
210 <inherited>true</inherited>
211 <configuration>
212 <source>1.8</source>
213 <target>1.8</target>
214 </configuration>
215 </plugin>
216
Michael Lando451a3402017-02-19 10:28:42 +0200217 <!-- Java Code Coverage -->
Michael Lando451a3402017-02-19 10:28:42 +0200218 <plugin>
219 <groupId>org.jacoco</groupId>
220 <artifactId>jacoco-maven-plugin</artifactId>
221 <version>0.7.1.201405082137</version>
222 <inherited>True</inherited>
Michael Lando451a3402017-02-19 10:28:42 +0200223 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200224 <!-- Unit-Tests -->
225 <execution>
226 <id>prepare-agent</id>
227 <goals>
228 <goal>prepare-agent</goal>
229 </goals>
230 <configuration>
231 <destFile>${sonar.jacoco.reportPath}</destFile>
232 </configuration>
233 </execution>
Michael Lando451a3402017-02-19 10:28:42 +0200234 <execution>
235 <id>report</id>
236 <goals>
237 <goal>report</goal>
238 </goals>
239 <configuration>
240 <dataFile>${sonar.jacoco.reportPath}</dataFile>
241 <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory>
242 </configuration>
243 </execution>
244
245 <!-- Integration Tests (Only report goal) -->
246 <execution>
247 <id>report-integration</id>
248 <goals>
249 <goal>report-integration</goal>
250 </goals>
251 <configuration>
252 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
253 <outputDirectory>${project.basedir}/target/site/it-jacoco</outputDirectory>
254 </configuration>
255 </execution>
256 </executions>
257 </plugin>
258
Michael Lando451a3402017-02-19 10:28:42 +0200259 <!-- Set the deployment repositories properties. -->
Michael Lando451a3402017-02-19 10:28:42 +0200260 <plugin>
261 <groupId>org.codehaus.gmaven</groupId>
262 <artifactId>gmaven-plugin</artifactId>
263 <version>1.4</version>
264 <executions>
265 <execution>
266 <inherited>false</inherited>
267 <phase>integration-test</phase>
268 <goals>
269 <goal>execute</goal>
270 </goals>
271 <configuration>
272 <source>
273 pom.properties['deploy.url']=
274 pom.version.contains('-SNAPSHOT') ?
275 project.distributionManagement.snapshotRepository.url :
276 project.distributionManagement.repository.url;
277 pom.properties['repo.id']= pom.version.contains('-SNAPSHOT') ?
278 project.distributionManagement.snapshotRepository.id :
279 project.distributionManagement.repository.id;
280 </source>
281 </configuration>
282 </execution>
283 </executions>
284 </plugin>
285
Michael Lando451a3402017-02-19 10:28:42 +0200286 <!-- license plugin -->
287 <plugin>
288 <groupId>org.codehaus.mojo</groupId>
289 <artifactId>license-maven-plugin</artifactId>
290 <version>1.10</version>
291 <configuration>
292 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
293 <processStartTag>============LICENSE_START=======================================================</processStartTag>
294 <processEndTag>============LICENSE_END=========================================================</processEndTag>
295 <sectionDelimiter>================================================================================</sectionDelimiter>
296 <licenseName>apache_v2</licenseName>
297 <inceptionYear>2017</inceptionYear>
Michael Lando3c3c8332017-07-20 01:29:49 +0300298 <organizationName>AT&amp;T Intellectual Property. All rights
299 reserved.</organizationName>
Michael Lando451a3402017-02-19 10:28:42 +0200300 <projectName>SDC</projectName>
301 <canUpdateCopyright>true</canUpdateCopyright>
302 <canUpdateDescription>true</canUpdateDescription>
303 <canUpdateLicense>true</canUpdateLicense>
304 <emptyLineAfterHeader>true</emptyLineAfterHeader>
305 <verbose>false</verbose>
306 <includes>
307 <include>**/*.java</include>
Michael Lando451a3402017-02-19 10:28:42 +0200308 <include>**/*.ts</include>
309 </includes>
AviZi280f8012017-06-09 02:39:56 +0300310 <excludes>
311 <exclude>**/*.d.ts</exclude>
312 </excludes>
Michael Lando451a3402017-02-19 10:28:42 +0200313 <roots>
314 <root>src</root>
315 <root>app</root>
316 <root>server-mock</root>
317 <root>typings</root>
318 </roots>
AviZi280f8012017-06-09 02:39:56 +0300319 <extraExtensions>
320 <ts>java</ts>
321 </extraExtensions>
Michael Lando451a3402017-02-19 10:28:42 +0200322 </configuration>
323 <executions>
324 <execution>
325 <id>first</id>
326 <goals>
327 <goal>update-file-header</goal>
328 </goals>
AviZi280f8012017-06-09 02:39:56 +0300329 <!--phase>process-sources</phase -->
Michael Lando451a3402017-02-19 10:28:42 +0200330 </execution>
331 </executions>
332 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300333 </plugins>
334 </build>
Michael Lando451a3402017-02-19 10:28:42 +0200335
AviZi280f8012017-06-09 02:39:56 +0300336 <profiles>
337 <profile>
338 <id>all</id>
339 <activation>
340 <activeByDefault>true</activeByDefault>
341 </activation>
342 <modules>
vempo09d4f062017-08-29 18:15:04 +0300343 <module>build-tools</module>
AviZi280f8012017-06-09 02:39:56 +0300344 <module>onboarding</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300345 <module>security-utils</module>
AviZi280f8012017-06-09 02:39:56 +0300346 <module>common-app-api</module>
347 <module>common-be</module>
348 <module>catalog-dao</module>
349 <module>catalog-model</module>
350 <module>catalog-be</module>
351 <module>asdctool</module>
352 <module>catalog-ui</module>
353 <module>catalog-fe</module>
354 <module>asdc-tests</module>
Michael Lando4d97d5f2017-06-17 22:40:44 +0300355 <module>test-apis-ci</module>
356 <module>ui-ci</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300357 <module>sdc-os-chef</module>
AviZi280f8012017-06-09 02:39:56 +0300358 </modules>
359
360 </profile>
Michael Lando451a3402017-02-19 10:28:42 +0200361
AviZi280f8012017-06-09 02:39:56 +0300362 <profile>
363 <id>catalog</id>
364 <activation>
365 <activeByDefault>false</activeByDefault>
366 </activation>
367 <modules>
368 <module>security-utils</module>
369 <module>common-app-api</module>
370 <module>common-be</module>
371 <module>catalog-dao</module>
372 <module>catalog-model</module>
373 <module>catalog-be</module>
374 <module>asdctool</module>
375 <module>catalog-ui</module>
376 <module>catalog-fe</module>
377 <module>asdc-tests</module>
378 <module>test-apis-ci</module>
379 <module>ui-ci</module>
Michael Landoc61d2242017-06-20 11:07:13 +0300380 </modules>
381
382 <properties>
383 <ecomp.version>1.2.7</ecomp.version>
Michael Lando3c3c8332017-07-20 01:29:49 +0300384 <artifact-generator-api.version>1710.0.0-SNAPSHOT</artifact-generator-api.version>
385 <artifact-generator-core.version>1710.0.0-SNAPSHOT</artifact-generator-core.version>
386 <dox-common-lib.version>1710.0.0-SNAPSHOT</dox-common-lib.version>
Tal Gitelmaned7e1c32017-06-29 19:30:00 +0300387 <sdc-tosca-parser.version>1.1.14</sdc-tosca-parser.version>
Michael Landoc61d2242017-06-20 11:07:13 +0300388 </properties>
389
Tal Gitelmaned7e1c32017-06-29 19:30:00 +0300390
Michael Landoc61d2242017-06-20 11:07:13 +0300391 </profile>
392
Michael Lando451a3402017-02-19 10:28:42 +0200393
AviZi280f8012017-06-09 02:39:56 +0300394
395 <profile>
396 <id>onboarding</id>
397 <activation>
398 <activeByDefault>false</activeByDefault>
399 </activation>
400 <modules>
401 <module>onboarding</module>
402 </modules>
403 </profile>
AviZi280f8012017-06-09 02:39:56 +0300404 </profiles>
405
406 <repositories>
Tal Gitelmane2391b82017-08-03 15:53:48 +0300407 <!-- LF repositories -->
AviZi280f8012017-06-09 02:39:56 +0300408 <repository>
409 <id>ecomp-releases</id>
410 <name>Release Repository</name>
411 <url>${nexus.proxy}/content/repositories/releases/</url>
412 </repository>
413 <repository>
414 <id>ecomp-staging</id>
415 <name>Staging Repository</name>
416 <url>${nexus.proxy}/content/repositories/staging/</url>
417 </repository>
418 <repository>
419 <id>ecomp-snapshots</id>
420 <name>Snapshots Repository</name>
421 <url>${nexus.proxy}/content/repositories/snapshots/</url>
422 </repository>
Idan Amit317e3bc2017-08-16 10:26:17 +0300423 <repository>
424 <id>ecomp-public</id>
425 <name>Public Repository</name>
426 <url>${nexus.proxy}/content/repositories/public/</url>
427 </repository>
Tal Gitelmane2391b82017-08-03 15:53:48 +0300428 <!-- LF repositories END-->
AviZi280f8012017-06-09 02:39:56 +0300429 </repositories>
430
431 <distributionManagement>
432
433 <repository>
434 <id>ecomp-releases</id>
435 <name>Release Repository</name>
436 <url>${nexus.proxy}/content/repositories/releases/</url>
437 </repository>
438 <snapshotRepository>
439 <id>ecomp-snapshots</id>
440 <name>Snapshot Repository</name>
441 <url>${nexus.proxy}/content/repositories/snapshots/</url>
442 </snapshotRepository>
443 <site>
444 <id>ecomp-site</id>
445 <url>dav:${nexus.proxy}${sitePath}</url>
446 </site>
447 </distributionManagement>
448</project>
Michael Lando451a3402017-02-19 10:28:42 +0200449