blob: bd7bb2a457bf3bb83896b9e999f5e9ad869dc3ff [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 Lando0ad3c802017-09-19 16:32:59 +03007 <version>1.2.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
Tal Gitelman51d50f02017-12-10 18:55:03 +020012 <maven.compiler.source>1.8</maven.compiler.source>
13 <maven.compiler.target>1.8</maven.compiler.target>
14
Michael Lando451a3402017-02-19 10:28:42 +020015 <!-- ==================== -->
16 <!-- Generic properties -->
17 <!-- ==================== -->
Michael Lando9db40522017-07-22 17:10:02 +030018 <build.type>-SNAPSHOT</build.type>
Michael Lando451a3402017-02-19 10:28:42 +020019 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Michael Lando75aacbb2017-07-17 21:12:03 +030020 <sprint.number>74</sprint.number>
Michael Lando451a3402017-02-19 10:28:42 +020021
22 <!-- 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 <spring-boot.version>1.1.6.RELEASE</spring-boot.version>
27 <spring.version>4.3.4.RELEASE</spring.version>
28 <spring.security.version>3.2.3.RELEASE</spring.security.version>
29 <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
AviZi280f8012017-06-09 02:39:56 +030030 <jersey-bom.version>2.24</jersey-bom.version>
31 <servlet-api.version>2.5</servlet-api.version>
32
Yuli Shlosberg9dde9262017-09-12 14:11:48 +030033 <artifact-generator-api.version>${project.version}</artifact-generator-api.version>
34 <artifact-generator-core.version>${project.version}</artifact-generator-core.version>
Avi Ziv11c43842017-07-16 15:21:15 +030035 <ecomp.version>1.1.0</ecomp.version>
Yuli Shlosberg9dde9262017-09-12 14:11:48 +030036 <dox-common-lib.version>${project.version}</dox-common-lib.version>
Michael Lando451a3402017-02-19 10:28:42 +020037
Michael Lando451a3402017-02-19 10:28:42 +020038 <!-- Elastic Search mapper (reference the elastic search version actually). -->
39 <elastic-search.version>2.1.0</elastic-search.version>
Tal Gitelman51d50f02017-12-10 18:55:03 +020040 <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
41 <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
Michael Lando451a3402017-02-19 10:28:42 +020042 <jetty.version>9.2.10.v20150310</jetty.version>
43
44 <!-- JSON and YAML Parsing -->
45 <jackson.version>2.6.2</jackson.version>
Michael Landob3d48982017-06-11 14:22:02 +030046 <jackson.yaml.version>2.8.1</jackson.yaml.version>
Michael Lando451a3402017-02-19 10:28:42 +020047 <jackson.annotations.version>2.6.0</jackson.annotations.version>
48
49 <!-- Yaml for properties -->
AviZi280f8012017-06-09 02:39:56 +030050 <snakeyaml.version>1.14</snakeyaml.version>
51 <functionaljava.version>4.4</functionaljava.version>
Michael Lando451a3402017-02-19 10:28:42 +020052 <httpclient.version>4.4.1</httpclient.version>
53 <httpcore.version>4.4.1</httpcore.version>
54 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030055
Michael Lando451a3402017-02-19 10:28:42 +020056
57 <!-- Logging start -->
58 <!-- logback -->
AviZi280f8012017-06-09 02:39:56 +030059 <logback.version>1.1.2</logback.version>
60 <slf4j-api.version>1.7.10</slf4j-api.version>
61 <commons-codec>1.10</commons-codec>
62 <commons-logging>1.2</commons-logging>
Michael Lando451a3402017-02-19 10:28:42 +020063 <groovy.version>2.3.5</groovy.version>
64 <janino.version>3.0.6</janino.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030065
Michael Lando451a3402017-02-19 10:28:42 +020066 <!-- aspects -->
67 <jcabi.version>0.20.1</jcabi.version>
68 <aspectjrt.version>1.8.4</aspectjrt.version>
AviZi280f8012017-06-09 02:39:56 +030069 <aspectj.version>1.7.4</aspectj.version>
Michael Lando451a3402017-02-19 10:28:42 +020070 <jcabi.plugin.version>0.13.2</jcabi.plugin.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030071
Michael Lando451a3402017-02-19 10:28:42 +020072 <!-- Logging end -->
73 <!-- System Metrics -->
74 <sigar.version>1.6.4</sigar.version>
75
AviZi280f8012017-06-09 02:39:56 +030076 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +020077
AviZi280f8012017-06-09 02:39:56 +030078 <codehaus.jackson.core>1.9.2</codehaus.jackson.core>
79
80 <!--GSON-->
81 <gson.version>2.3.1</gson.version>
82
83 <!--listen to file changes-->
84 <commons-jci-core.version>1.1</commons-jci-core.version>
85
86 <!--TESTING-->
Tal Gitelman51d50f02017-12-10 18:55:03 +020087 <mockito.version>2.12.0</mockito.version>
AviZi280f8012017-06-09 02:39:56 +030088 <junit.version>4.12</junit.version>
89 <testng.version>6.9.10</testng.version>
90 <extentreports.version>3.0.3</extentreports.version>
Tal Gitelmanffdda7d2017-07-02 15:33:25 +030091
Tal Gitelmaned7e1c32017-06-29 19:30:00 +030092 <!-- parser-->
Tal Gitelman51d50f02017-12-10 18:55:03 +020093 <sdc-tosca-parser.version>1.1.56-SNAPSHOT</sdc-tosca-parser.version>
Tal Gitelmanffdda7d2017-07-02 15:33:25 +030094
Michael Lando451a3402017-02-19 10:28:42 +020095 <!--JaCoCO -->
96 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
Tal Gitelman51d50f02017-12-10 18:55:03 +020097 <sonar.jacoco.reportPath>${project.basedir}/../target/jacoco.exec</sonar.jacoco.reportPath>
98 <sonar.jacoco.itReportPath>${project.basedir}/../target/it-jacoco.exec</sonar.jacoco.itReportPath>
AviZi280f8012017-06-09 02:39:56 +030099 <sonar.language>java</sonar.language>
Michael Lando451a3402017-02-19 10:28:42 +0200100 <!-- Sonar properties -->
Michael Lando451a3402017-02-19 10:28:42 +0200101 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
Michael Lando451a3402017-02-19 10:28:42 +0200102 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
ml636rd0214c72017-02-22 11:36:55 +0200103 <sonar.sources>.</sonar.sources>
ml636r72e56e42017-02-27 12:36:59 +0200104 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
ml636rd0214c72017-02-22 11:36:55 +0200105 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
106 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
Michael Landoe2598f02017-10-18 02:01:08 +0300107 <sonar.branch>${project.version}</sonar.branch>
ml636rd0214c72017-02-22 11:36:55 +0200108
Tal Gitelman51d50f02017-12-10 18:55:03 +0200109 <assertj.version>3.8.0</assertj.version>
110
111 <!--cassandra -->
112 <cassandra.driver.version>3.0.0</cassandra.driver.version>
113 <!-- maven central (Nexus) -->
114 <nexus.id.release>nexus</nexus.id.release>
115 <nexus.id.snapshot>nexus</nexus.id.snapshot>
116
117 <assertj.version>3.8.0</assertj.version>
118
119 <!--cassandra -->
120 <cassandra.driver.version>3.0.0</cassandra.driver.version>
121 <!-- maven central (Nexus) -->
122 <nexus.id.release>nexus</nexus.id.release>
123 <nexus.id.snapshot>nexus</nexus.id.snapshot>
124
ml636rd0214c72017-02-22 11:36:55 +0200125 <!--nexus-->
Andrew Grimberge636a202017-03-29 13:11:14 -0700126 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
ig6133a16ca442017-04-05 16:10:49 +0300127 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
ml636rd0214c72017-02-22 11:36:55 +0200128 <staging.profile.id>176c31dfe190a</staging.profile.id>
Michael Lando5e3ea6a2017-03-15 22:15:17 +0200129 <!--maven-->
130 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
Michael Lando451a3402017-02-19 10:28:42 +0200131 </properties>
132
Tal Gitelman51d50f02017-12-10 18:55:03 +0200133 <dependencyManagement>
134 <dependencies>
135 <dependency>
136 <groupId>org.assertj</groupId>
137 <artifactId>assertj-core</artifactId>
138 <version>${assertj.version}</version>
139 </dependency>
140
141 <dependency>
142 <groupId>org.mockito</groupId>
143 <artifactId>mockito-core</artifactId>
144 <version>${mockito.version}</version>
145 </dependency>
146 </dependencies>
147 </dependencyManagement>
148
Michael Lando451a3402017-02-19 10:28:42 +0200149 <reporting>
150 <plugins>
151 <plugin>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-javadoc-plugin</artifactId>
vempofcfaa3e2017-10-10 15:50:37 +0000154 <version>3.0.0-M1</version>
Michael Lando451a3402017-02-19 10:28:42 +0200155 <configuration>
156 <failOnError>false</failOnError>
157 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
158 <docletArtifact>
159 <groupId>org.umlgraph</groupId>
160 <artifactId>umlgraph</artifactId>
161 <version>5.6</version>
162 </docletArtifact>
163 <additionalparam>-views</additionalparam>
164 <useStandardDocletOptions>true</useStandardDocletOptions>
165 </configuration>
166 </plugin>
167 </plugins>
168 </reporting>
169
Michael Lando451a3402017-02-19 10:28:42 +0200170 <build>
171 <pluginManagement>
172 <plugins>
173
174 <plugin>
175 <groupId>org.apache.maven.plugins</groupId>
176 <artifactId>maven-site-plugin</artifactId>
177 <version>3.4</version>
178 <dependencies>
179 <dependency>
180 <groupId>org.apache.maven.wagon</groupId>
181 <artifactId>wagon-webdav-jackrabbit</artifactId>
182 <version>2.10</version>
183 </dependency>
184 </dependencies>
185 </plugin>
186
187
188 <plugin>
189 <groupId>org.apache.maven.plugins</groupId>
190 <artifactId>maven-assembly-plugin</artifactId>
191 <version>2.6</version>
192 </plugin>
193
194 <plugin>
195 <groupId>org.codehaus.mojo</groupId>
196 <artifactId>exec-maven-plugin</artifactId>
197 <version>1.4.0</version>
198 </plugin>
199 <plugin>
200 <groupId>org.sonarsource.scanner.maven</groupId>
201 <artifactId>sonar-maven-plugin</artifactId>
202 <version>3.0.2</version>
203 </plugin>
204 </plugins>
205 </pluginManagement>
206
207 <plugins>
Michael Lando546f7cf2017-09-23 00:05:17 +0300208
209 <!-- Staging Plugin -->
210 <plugin>
211 <groupId>org.sonatype.plugins</groupId>
212 <artifactId>nexus-staging-maven-plugin</artifactId>
213 <version>1.6.7</version>
214 <extensions>true</extensions>
215 <configuration>
216 <nexusUrl>${nexus.proxy}</nexusUrl>
217 <stagingProfileId>${staging.profile.id}</stagingProfileId>
218 <serverId>ecomp-staging</serverId>
219 </configuration>
220 </plugin>
221
Michael Lando451a3402017-02-19 10:28:42 +0200222 <plugin>
223 <artifactId>maven-surefire-plugin</artifactId>
224 <version>2.19.1</version>
225 <configuration>
226 <systemPropertyVariables>
227 <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
228 </systemPropertyVariables>
229 </configuration>
230 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300231 <!-- plugin for parsing the project version -->
232 <plugin>
233 <groupId>org.codehaus.mojo</groupId>
234 <artifactId>build-helper-maven-plugin</artifactId>
235 <version>1.8</version>
236 <executions>
237 <execution>
238 <id>parse-version</id>
239 <goals>
240 <goal>parse-version</goal>
241 </goals>
242 </execution>
243 </executions>
244 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200245
Michael Lando451a3402017-02-19 10:28:42 +0200246 <!-- Java Code Coverage -->
Michael Lando451a3402017-02-19 10:28:42 +0200247 <plugin>
248 <groupId>org.jacoco</groupId>
249 <artifactId>jacoco-maven-plugin</artifactId>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200250 <version>0.7.9</version>
251 <configuration>
252 <append>true</append>
253 <destFile>${sonar.jacoco.reportPath}</destFile>
254 <dataFile>${sonar.jacoco.reportPath}</dataFile>
255 </configuration>
Michael Lando451a3402017-02-19 10:28:42 +0200256 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200257 <execution>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200258 <id>default-prepare-agent</id>
Michael Lando451a3402017-02-19 10:28:42 +0200259 <goals>
260 <goal>prepare-agent</goal>
261 </goals>
Michael Lando451a3402017-02-19 10:28:42 +0200262 </execution>
Michael Lando451a3402017-02-19 10:28:42 +0200263 <execution>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200264 <id>default-report</id>
Michael Lando451a3402017-02-19 10:28:42 +0200265 <goals>
266 <goal>report</goal>
267 </goals>
Michael Lando451a3402017-02-19 10:28:42 +0200268 </execution>
269 </executions>
270 </plugin>
Idan Amit86e98e72017-10-03 14:29:28 +0300271
272 <plugin>
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-site-plugin</artifactId>
Idan Amit86e98e72017-10-03 14:29:28 +0300275 <dependencies>
276 <dependency>
277 <groupId>org.apache.maven.wagon</groupId>
278 <artifactId>wagon-webdav-jackrabbit</artifactId>
279 <version>2.10</version>
280 </dependency>
281 </dependencies>
282 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200283
Michael Lando451a3402017-02-19 10:28:42 +0200284 <!-- Set the deployment repositories properties. -->
Michael Lando451a3402017-02-19 10:28:42 +0200285 <plugin>
286 <groupId>org.codehaus.gmaven</groupId>
287 <artifactId>gmaven-plugin</artifactId>
288 <version>1.4</version>
289 <executions>
290 <execution>
291 <inherited>false</inherited>
292 <phase>integration-test</phase>
293 <goals>
294 <goal>execute</goal>
295 </goals>
296 <configuration>
297 <source>
298 pom.properties['deploy.url']=
299 pom.version.contains('-SNAPSHOT') ?
300 project.distributionManagement.snapshotRepository.url :
301 project.distributionManagement.repository.url;
302 pom.properties['repo.id']= pom.version.contains('-SNAPSHOT') ?
303 project.distributionManagement.snapshotRepository.id :
304 project.distributionManagement.repository.id;
305 </source>
306 </configuration>
307 </execution>
308 </executions>
309 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300310 </plugins>
311 </build>
Michael Lando451a3402017-02-19 10:28:42 +0200312
AviZi280f8012017-06-09 02:39:56 +0300313 <profiles>
314 <profile>
315 <id>all</id>
316 <activation>
317 <activeByDefault>true</activeByDefault>
318 </activation>
319 <modules>
vempo09d4f062017-08-29 18:15:04 +0300320 <module>build-tools</module>
AviZi280f8012017-06-09 02:39:56 +0300321 <module>onboarding</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300322 <module>security-utils</module>
AviZi280f8012017-06-09 02:39:56 +0300323 <module>common-app-api</module>
324 <module>common-be</module>
325 <module>catalog-dao</module>
326 <module>catalog-model</module>
327 <module>catalog-be</module>
328 <module>asdctool</module>
329 <module>catalog-ui</module>
330 <module>catalog-fe</module>
331 <module>asdc-tests</module>
Michael Lando4d97d5f2017-06-17 22:40:44 +0300332 <module>test-apis-ci</module>
333 <module>ui-ci</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300334 <module>sdc-os-chef</module>
AviZi280f8012017-06-09 02:39:56 +0300335 </modules>
336
337 </profile>
Michael Lando451a3402017-02-19 10:28:42 +0200338
AviZi280f8012017-06-09 02:39:56 +0300339 <profile>
340 <id>catalog</id>
341 <activation>
342 <activeByDefault>false</activeByDefault>
343 </activation>
344 <modules>
345 <module>security-utils</module>
346 <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>
355 <module>test-apis-ci</module>
356 <module>ui-ci</module>
Michael Landoc61d2242017-06-20 11:07:13 +0300357 </modules>
358
359 <properties>
360 <ecomp.version>1.2.7</ecomp.version>
Idan Amit6cc9a112017-09-13 17:21:33 +0300361 <artifact-generator-api.version>1710.0.0</artifact-generator-api.version>
362 <artifact-generator-core.version>1710.0.0</artifact-generator-core.version>
363 <dox-common-lib.version>1710.0.0</dox-common-lib.version>
Tal Gitelmana20a3a02017-11-01 14:40:02 +0200364 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
Michael Lando546f7cf2017-09-23 00:05:17 +0300365 </properties>
Michael Landoc61d2242017-06-20 11:07:13 +0300366 </profile>
AviZi280f8012017-06-09 02:39:56 +0300367
368 <profile>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200369 <id>catalog-be</id>
370 <activation>
371 <activeByDefault>false</activeByDefault>
372 </activation>
373 <modules>
374 <module>security-utils</module>
375 <module>common-app-api</module>
376 <module>common-be</module>
377 <module>catalog-dao</module>
378 <module>catalog-model</module>
379 <module>catalog-be</module>
380 </modules>
381 <properties>
382 <ecomp.version>1.2.7</ecomp.version>
383 <artifact-generator-api.version>1710.0.0</artifact-generator-api.version>
384 <artifact-generator-core.version>1710.0.0</artifact-generator-core.version>
385 <dox-common-lib.version>1710.0.0</dox-common-lib.version>
386 <sdc-tosca-parser.version>1.1.14</sdc-tosca-parser.version>
387 </properties>
388 </profile>
389 <profile>
AviZi280f8012017-06-09 02:39:56 +0300390 <id>onboarding</id>
391 <activation>
392 <activeByDefault>false</activeByDefault>
393 </activation>
394 <modules>
vempoab2b6de2017-09-18 18:42:12 +0300395 <module>build-tools</module>
AviZi280f8012017-06-09 02:39:56 +0300396 <module>onboarding</module>
397 </modules>
398 </profile>
AviZi280f8012017-06-09 02:39:56 +0300399 </profiles>
400
401 <repositories>
Tal Gitelmane2391b82017-08-03 15:53:48 +0300402 <!-- LF repositories -->
AviZi280f8012017-06-09 02:39:56 +0300403 <repository>
404 <id>ecomp-releases</id>
405 <name>Release Repository</name>
406 <url>${nexus.proxy}/content/repositories/releases/</url>
407 </repository>
408 <repository>
409 <id>ecomp-staging</id>
410 <name>Staging Repository</name>
411 <url>${nexus.proxy}/content/repositories/staging/</url>
412 </repository>
413 <repository>
414 <id>ecomp-snapshots</id>
415 <name>Snapshots Repository</name>
416 <url>${nexus.proxy}/content/repositories/snapshots/</url>
417 </repository>
Idan Amit317e3bc2017-08-16 10:26:17 +0300418 <repository>
419 <id>ecomp-public</id>
420 <name>Public Repository</name>
421 <url>${nexus.proxy}/content/repositories/public/</url>
422 </repository>
Tal Gitelmane2391b82017-08-03 15:53:48 +0300423 <!-- LF repositories END-->
AviZi280f8012017-06-09 02:39:56 +0300424 </repositories>
425
426 <distributionManagement>
427
428 <repository>
429 <id>ecomp-releases</id>
430 <name>Release Repository</name>
431 <url>${nexus.proxy}/content/repositories/releases/</url>
432 </repository>
433 <snapshotRepository>
434 <id>ecomp-snapshots</id>
435 <name>Snapshot Repository</name>
436 <url>${nexus.proxy}/content/repositories/snapshots/</url>
437 </snapshotRepository>
438 <site>
439 <id>ecomp-site</id>
440 <url>dav:${nexus.proxy}${sitePath}</url>
441 </site>
442 </distributionManagement>
443</project>
Michael Lando451a3402017-02-19 10:28:42 +0200444