blob: 26e44db760cec6e6d7181684616c30d1010fe6bd [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
133 <reporting>
134 <plugins>
135 <plugin>
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-javadoc-plugin</artifactId>
vempofcfaa3e2017-10-10 15:50:37 +0000138 <version>3.0.0-M1</version>
Michael Lando451a3402017-02-19 10:28:42 +0200139 <configuration>
140 <failOnError>false</failOnError>
141 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
142 <docletArtifact>
143 <groupId>org.umlgraph</groupId>
144 <artifactId>umlgraph</artifactId>
145 <version>5.6</version>
146 </docletArtifact>
147 <additionalparam>-views</additionalparam>
148 <useStandardDocletOptions>true</useStandardDocletOptions>
149 </configuration>
150 </plugin>
151 </plugins>
152 </reporting>
153
Michael Lando451a3402017-02-19 10:28:42 +0200154 <build>
155 <pluginManagement>
156 <plugins>
157
158 <plugin>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-site-plugin</artifactId>
161 <version>3.4</version>
162 <dependencies>
163 <dependency>
164 <groupId>org.apache.maven.wagon</groupId>
165 <artifactId>wagon-webdav-jackrabbit</artifactId>
166 <version>2.10</version>
167 </dependency>
168 </dependencies>
169 </plugin>
170
171
172 <plugin>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-assembly-plugin</artifactId>
175 <version>2.6</version>
176 </plugin>
177
178 <plugin>
179 <groupId>org.codehaus.mojo</groupId>
180 <artifactId>exec-maven-plugin</artifactId>
181 <version>1.4.0</version>
182 </plugin>
183 <plugin>
184 <groupId>org.sonarsource.scanner.maven</groupId>
185 <artifactId>sonar-maven-plugin</artifactId>
186 <version>3.0.2</version>
187 </plugin>
188 </plugins>
189 </pluginManagement>
190
191 <plugins>
Michael Lando546f7cf2017-09-23 00:05:17 +0300192
193 <!-- Staging Plugin -->
194 <plugin>
195 <groupId>org.sonatype.plugins</groupId>
196 <artifactId>nexus-staging-maven-plugin</artifactId>
197 <version>1.6.7</version>
198 <extensions>true</extensions>
199 <configuration>
200 <nexusUrl>${nexus.proxy}</nexusUrl>
201 <stagingProfileId>${staging.profile.id}</stagingProfileId>
202 <serverId>ecomp-staging</serverId>
203 </configuration>
204 </plugin>
205
Michael Lando451a3402017-02-19 10:28:42 +0200206 <plugin>
207 <artifactId>maven-surefire-plugin</artifactId>
208 <version>2.19.1</version>
209 <configuration>
210 <systemPropertyVariables>
211 <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
212 </systemPropertyVariables>
213 </configuration>
214 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300215 <!-- plugin for parsing the project version -->
216 <plugin>
217 <groupId>org.codehaus.mojo</groupId>
218 <artifactId>build-helper-maven-plugin</artifactId>
219 <version>1.8</version>
220 <executions>
221 <execution>
222 <id>parse-version</id>
223 <goals>
224 <goal>parse-version</goal>
225 </goals>
226 </execution>
227 </executions>
228 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200229
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>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200234 <version>0.7.9</version>
235 <configuration>
236 <append>true</append>
237 <destFile>${sonar.jacoco.reportPath}</destFile>
238 <dataFile>${sonar.jacoco.reportPath}</dataFile>
239 </configuration>
Michael Lando451a3402017-02-19 10:28:42 +0200240 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200241 <execution>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200242 <id>default-prepare-agent</id>
Michael Lando451a3402017-02-19 10:28:42 +0200243 <goals>
244 <goal>prepare-agent</goal>
245 </goals>
Michael Lando451a3402017-02-19 10:28:42 +0200246 </execution>
Michael Lando451a3402017-02-19 10:28:42 +0200247 <execution>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200248 <id>default-report</id>
Michael Lando451a3402017-02-19 10:28:42 +0200249 <goals>
250 <goal>report</goal>
251 </goals>
Michael Lando451a3402017-02-19 10:28:42 +0200252 </execution>
253 </executions>
254 </plugin>
Idan Amit86e98e72017-10-03 14:29:28 +0300255
256 <plugin>
257 <groupId>org.apache.maven.plugins</groupId>
258 <artifactId>maven-site-plugin</artifactId>
Idan Amit86e98e72017-10-03 14:29:28 +0300259 <dependencies>
260 <dependency>
261 <groupId>org.apache.maven.wagon</groupId>
262 <artifactId>wagon-webdav-jackrabbit</artifactId>
263 <version>2.10</version>
264 </dependency>
265 </dependencies>
266 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200267
Michael Lando451a3402017-02-19 10:28:42 +0200268 <!-- Set the deployment repositories properties. -->
Michael Lando451a3402017-02-19 10:28:42 +0200269 <plugin>
270 <groupId>org.codehaus.gmaven</groupId>
271 <artifactId>gmaven-plugin</artifactId>
272 <version>1.4</version>
273 <executions>
274 <execution>
275 <inherited>false</inherited>
276 <phase>integration-test</phase>
277 <goals>
278 <goal>execute</goal>
279 </goals>
280 <configuration>
281 <source>
282 pom.properties['deploy.url']=
283 pom.version.contains('-SNAPSHOT') ?
284 project.distributionManagement.snapshotRepository.url :
285 project.distributionManagement.repository.url;
286 pom.properties['repo.id']= pom.version.contains('-SNAPSHOT') ?
287 project.distributionManagement.snapshotRepository.id :
288 project.distributionManagement.repository.id;
289 </source>
290 </configuration>
291 </execution>
292 </executions>
293 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300294 </plugins>
295 </build>
Michael Lando451a3402017-02-19 10:28:42 +0200296
AviZi280f8012017-06-09 02:39:56 +0300297 <profiles>
298 <profile>
299 <id>all</id>
300 <activation>
301 <activeByDefault>true</activeByDefault>
302 </activation>
303 <modules>
vempo09d4f062017-08-29 18:15:04 +0300304 <module>build-tools</module>
AviZi280f8012017-06-09 02:39:56 +0300305 <module>onboarding</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300306 <module>security-utils</module>
AviZi280f8012017-06-09 02:39:56 +0300307 <module>common-app-api</module>
308 <module>common-be</module>
309 <module>catalog-dao</module>
310 <module>catalog-model</module>
311 <module>catalog-be</module>
312 <module>asdctool</module>
313 <module>catalog-ui</module>
314 <module>catalog-fe</module>
315 <module>asdc-tests</module>
Michael Lando4d97d5f2017-06-17 22:40:44 +0300316 <module>test-apis-ci</module>
317 <module>ui-ci</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300318 <module>sdc-os-chef</module>
AviZi280f8012017-06-09 02:39:56 +0300319 </modules>
320
321 </profile>
Michael Lando451a3402017-02-19 10:28:42 +0200322
AviZi280f8012017-06-09 02:39:56 +0300323 <profile>
324 <id>catalog</id>
325 <activation>
326 <activeByDefault>false</activeByDefault>
327 </activation>
328 <modules>
329 <module>security-utils</module>
330 <module>common-app-api</module>
331 <module>common-be</module>
332 <module>catalog-dao</module>
333 <module>catalog-model</module>
334 <module>catalog-be</module>
335 <module>asdctool</module>
336 <module>catalog-ui</module>
337 <module>catalog-fe</module>
338 <module>asdc-tests</module>
339 <module>test-apis-ci</module>
340 <module>ui-ci</module>
Michael Landoc61d2242017-06-20 11:07:13 +0300341 </modules>
342
343 <properties>
344 <ecomp.version>1.2.7</ecomp.version>
Idan Amit6cc9a112017-09-13 17:21:33 +0300345 <artifact-generator-api.version>1710.0.0</artifact-generator-api.version>
346 <artifact-generator-core.version>1710.0.0</artifact-generator-core.version>
347 <dox-common-lib.version>1710.0.0</dox-common-lib.version>
Tal Gitelmana20a3a02017-11-01 14:40:02 +0200348 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
Michael Lando546f7cf2017-09-23 00:05:17 +0300349 </properties>
Michael Landoc61d2242017-06-20 11:07:13 +0300350 </profile>
AviZi280f8012017-06-09 02:39:56 +0300351
352 <profile>
353 <id>onboarding</id>
354 <activation>
355 <activeByDefault>false</activeByDefault>
356 </activation>
357 <modules>
vempoab2b6de2017-09-18 18:42:12 +0300358 <module>build-tools</module>
AviZi280f8012017-06-09 02:39:56 +0300359 <module>onboarding</module>
360 </modules>
361 </profile>
sheetalm64ffbe22017-12-13 15:25:05 +0530362
363 <profile>
364 <id>dev-integ</id>
365 <activation>
366 <activeByDefault>false</activeByDefault>
367 </activation>
368 <dependencies>
369 <dependency>
370 <groupId>org.togglz</groupId>
371 <artifactId>togglz-console</artifactId>
372 <version>${togglz.version}</version>
373 </dependency>
374 </dependencies>
375 </profile>
AviZi280f8012017-06-09 02:39:56 +0300376 </profiles>
377
378 <repositories>
Tal Gitelmane2391b82017-08-03 15:53:48 +0300379 <!-- LF repositories -->
AviZi280f8012017-06-09 02:39:56 +0300380 <repository>
381 <id>ecomp-releases</id>
382 <name>Release Repository</name>
383 <url>${nexus.proxy}/content/repositories/releases/</url>
384 </repository>
385 <repository>
386 <id>ecomp-staging</id>
387 <name>Staging Repository</name>
388 <url>${nexus.proxy}/content/repositories/staging/</url>
389 </repository>
390 <repository>
391 <id>ecomp-snapshots</id>
392 <name>Snapshots Repository</name>
393 <url>${nexus.proxy}/content/repositories/snapshots/</url>
394 </repository>
Idan Amit317e3bc2017-08-16 10:26:17 +0300395 <repository>
396 <id>ecomp-public</id>
397 <name>Public Repository</name>
398 <url>${nexus.proxy}/content/repositories/public/</url>
399 </repository>
Tal Gitelmane2391b82017-08-03 15:53:48 +0300400 <!-- LF repositories END-->
AviZi280f8012017-06-09 02:39:56 +0300401 </repositories>
402
403 <distributionManagement>
404
405 <repository>
406 <id>ecomp-releases</id>
407 <name>Release Repository</name>
408 <url>${nexus.proxy}/content/repositories/releases/</url>
409 </repository>
410 <snapshotRepository>
411 <id>ecomp-snapshots</id>
412 <name>Snapshot Repository</name>
413 <url>${nexus.proxy}/content/repositories/snapshots/</url>
414 </snapshotRepository>
415 <site>
416 <id>ecomp-site</id>
417 <url>dav:${nexus.proxy}${sitePath}</url>
418 </site>
419 </distributionManagement>
420</project>
Michael Lando451a3402017-02-19 10:28:42 +0200421