blob: 77b678d8bc8fe49646083a7aafb8569f99371143 [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>
Michael Lando451a3402017-02-19 10:28:42 +020040 <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-->
Tal Gitelman51d50f02017-12-10 18:55:03 +020085 <mockito.version>2.12.0</mockito.version>
AviZi280f8012017-06-09 02:39:56 +030086 <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-->
Tal Gitelman51d50f02017-12-10 18:55:03 +020091 <sdc-tosca-parser.version>1.1.56-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>
Michael Lando16f5d022017-12-31 13:26:46 +020095 <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>
Michael Lando451a3402017-02-19 10:28:42 +020098 <!-- Sonar properties -->
Michael Lando451a3402017-02-19 10:28:42 +020099 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
Michael Lando451a3402017-02-19 10:28:42 +0200100 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
ml636rd0214c72017-02-22 11:36:55 +0200101 <sonar.sources>.</sonar.sources>
ml636r72e56e42017-02-27 12:36:59 +0200102 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
ml636rd0214c72017-02-22 11:36:55 +0200103 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
104 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
Michael Landoe2598f02017-10-18 02:01:08 +0300105 <sonar.branch>${project.version}</sonar.branch>
ml636rd0214c72017-02-22 11:36:55 +0200106
Tal Gitelman51d50f02017-12-10 18:55:03 +0200107 <assertj.version>3.8.0</assertj.version>
108
109 <!--cassandra -->
110 <cassandra.driver.version>3.0.0</cassandra.driver.version>
111 <!-- maven central (Nexus) -->
112 <nexus.id.release>nexus</nexus.id.release>
113 <nexus.id.snapshot>nexus</nexus.id.snapshot>
114
115 <assertj.version>3.8.0</assertj.version>
116
117 <!--cassandra -->
118 <cassandra.driver.version>3.0.0</cassandra.driver.version>
119 <!-- maven central (Nexus) -->
120 <nexus.id.release>nexus</nexus.id.release>
121 <nexus.id.snapshot>nexus</nexus.id.snapshot>
122
ml636rd0214c72017-02-22 11:36:55 +0200123 <!--nexus-->
Andrew Grimberge636a202017-03-29 13:11:14 -0700124 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
ig6133a16ca442017-04-05 16:10:49 +0300125 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
ml636rd0214c72017-02-22 11:36:55 +0200126 <staging.profile.id>176c31dfe190a</staging.profile.id>
Michael Lando5e3ea6a2017-03-15 22:15:17 +0200127 <!--maven-->
128 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200129 <!--docker tags-->
130 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
131 <docker.latest.tag>${project.version}-latest</docker.latest.tag>
132
Michael Lando451a3402017-02-19 10:28:42 +0200133 </properties>
134
135 <reporting>
136 <plugins>
137 <plugin>
138 <groupId>org.apache.maven.plugins</groupId>
139 <artifactId>maven-javadoc-plugin</artifactId>
vempofcfaa3e2017-10-10 15:50:37 +0000140 <version>3.0.0-M1</version>
Michael Lando451a3402017-02-19 10:28:42 +0200141 <configuration>
142 <failOnError>false</failOnError>
143 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
144 <docletArtifact>
145 <groupId>org.umlgraph</groupId>
146 <artifactId>umlgraph</artifactId>
147 <version>5.6</version>
148 </docletArtifact>
149 <additionalparam>-views</additionalparam>
150 <useStandardDocletOptions>true</useStandardDocletOptions>
151 </configuration>
152 </plugin>
153 </plugins>
154 </reporting>
155
Michael Lando451a3402017-02-19 10:28:42 +0200156 <build>
157 <pluginManagement>
158 <plugins>
159
160 <plugin>
161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-site-plugin</artifactId>
163 <version>3.4</version>
164 <dependencies>
165 <dependency>
166 <groupId>org.apache.maven.wagon</groupId>
167 <artifactId>wagon-webdav-jackrabbit</artifactId>
168 <version>2.10</version>
169 </dependency>
170 </dependencies>
171 </plugin>
172
173
174 <plugin>
175 <groupId>org.apache.maven.plugins</groupId>
176 <artifactId>maven-assembly-plugin</artifactId>
177 <version>2.6</version>
178 </plugin>
179
180 <plugin>
181 <groupId>org.codehaus.mojo</groupId>
182 <artifactId>exec-maven-plugin</artifactId>
183 <version>1.4.0</version>
184 </plugin>
185 <plugin>
186 <groupId>org.sonarsource.scanner.maven</groupId>
187 <artifactId>sonar-maven-plugin</artifactId>
188 <version>3.0.2</version>
189 </plugin>
190 </plugins>
191 </pluginManagement>
192
193 <plugins>
Michael Lando546f7cf2017-09-23 00:05:17 +0300194
195 <!-- Staging Plugin -->
196 <plugin>
197 <groupId>org.sonatype.plugins</groupId>
198 <artifactId>nexus-staging-maven-plugin</artifactId>
199 <version>1.6.7</version>
200 <extensions>true</extensions>
201 <configuration>
202 <nexusUrl>${nexus.proxy}</nexusUrl>
203 <stagingProfileId>${staging.profile.id}</stagingProfileId>
204 <serverId>ecomp-staging</serverId>
205 </configuration>
206 </plugin>
207
Michael Lando451a3402017-02-19 10:28:42 +0200208 <plugin>
209 <artifactId>maven-surefire-plugin</artifactId>
210 <version>2.19.1</version>
211 <configuration>
212 <systemPropertyVariables>
213 <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
214 </systemPropertyVariables>
215 </configuration>
216 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300217 <!-- plugin for parsing the project version -->
218 <plugin>
219 <groupId>org.codehaus.mojo</groupId>
220 <artifactId>build-helper-maven-plugin</artifactId>
221 <version>1.8</version>
222 <executions>
223 <execution>
224 <id>parse-version</id>
225 <goals>
226 <goal>parse-version</goal>
227 </goals>
228 </execution>
229 </executions>
230 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200231
Michael Lando451a3402017-02-19 10:28:42 +0200232 <!-- Java Code Coverage -->
Michael Lando451a3402017-02-19 10:28:42 +0200233 <plugin>
234 <groupId>org.jacoco</groupId>
235 <artifactId>jacoco-maven-plugin</artifactId>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200236 <version>0.7.9</version>
237 <configuration>
238 <append>true</append>
239 <destFile>${sonar.jacoco.reportPath}</destFile>
240 <dataFile>${sonar.jacoco.reportPath}</dataFile>
241 </configuration>
Michael Lando451a3402017-02-19 10:28:42 +0200242 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200243 <execution>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200244 <id>default-prepare-agent</id>
Michael Lando451a3402017-02-19 10:28:42 +0200245 <goals>
246 <goal>prepare-agent</goal>
247 </goals>
Michael Lando451a3402017-02-19 10:28:42 +0200248 </execution>
Michael Lando451a3402017-02-19 10:28:42 +0200249 <execution>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200250 <id>default-report</id>
Michael Lando451a3402017-02-19 10:28:42 +0200251 <goals>
252 <goal>report</goal>
253 </goals>
Michael Lando451a3402017-02-19 10:28:42 +0200254 </execution>
255 </executions>
256 </plugin>
Idan Amit86e98e72017-10-03 14:29:28 +0300257
258 <plugin>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-site-plugin</artifactId>
Idan Amit86e98e72017-10-03 14:29:28 +0300261 <dependencies>
262 <dependency>
263 <groupId>org.apache.maven.wagon</groupId>
264 <artifactId>wagon-webdav-jackrabbit</artifactId>
265 <version>2.10</version>
266 </dependency>
267 </dependencies>
268 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200269
Michael Lando451a3402017-02-19 10:28:42 +0200270 <!-- Set the deployment repositories properties. -->
Michael Lando451a3402017-02-19 10:28:42 +0200271 <plugin>
272 <groupId>org.codehaus.gmaven</groupId>
273 <artifactId>gmaven-plugin</artifactId>
274 <version>1.4</version>
275 <executions>
276 <execution>
277 <inherited>false</inherited>
278 <phase>integration-test</phase>
279 <goals>
280 <goal>execute</goal>
281 </goals>
282 <configuration>
283 <source>
284 pom.properties['deploy.url']=
285 pom.version.contains('-SNAPSHOT') ?
286 project.distributionManagement.snapshotRepository.url :
287 project.distributionManagement.repository.url;
288 pom.properties['repo.id']= pom.version.contains('-SNAPSHOT') ?
289 project.distributionManagement.snapshotRepository.id :
290 project.distributionManagement.repository.id;
291 </source>
292 </configuration>
293 </execution>
294 </executions>
295 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300296 </plugins>
297 </build>
Michael Lando451a3402017-02-19 10:28:42 +0200298
AviZi280f8012017-06-09 02:39:56 +0300299 <profiles>
300 <profile>
301 <id>all</id>
302 <activation>
303 <activeByDefault>true</activeByDefault>
304 </activation>
305 <modules>
vempo09d4f062017-08-29 18:15:04 +0300306 <module>build-tools</module>
AviZi280f8012017-06-09 02:39:56 +0300307 <module>onboarding</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300308 <module>security-utils</module>
AviZi280f8012017-06-09 02:39:56 +0300309 <module>common-app-api</module>
310 <module>common-be</module>
311 <module>catalog-dao</module>
312 <module>catalog-model</module>
313 <module>catalog-be</module>
314 <module>asdctool</module>
315 <module>catalog-ui</module>
316 <module>catalog-fe</module>
317 <module>asdc-tests</module>
Michael Lando4d97d5f2017-06-17 22:40:44 +0300318 <module>test-apis-ci</module>
319 <module>ui-ci</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300320 <module>sdc-os-chef</module>
AviZi280f8012017-06-09 02:39:56 +0300321 </modules>
322
323 </profile>
Michael Lando451a3402017-02-19 10:28:42 +0200324
AviZi280f8012017-06-09 02:39:56 +0300325 <profile>
326 <id>catalog</id>
327 <activation>
328 <activeByDefault>false</activeByDefault>
329 </activation>
330 <modules>
331 <module>security-utils</module>
332 <module>common-app-api</module>
333 <module>common-be</module>
334 <module>catalog-dao</module>
335 <module>catalog-model</module>
336 <module>catalog-be</module>
337 <module>asdctool</module>
338 <module>catalog-ui</module>
339 <module>catalog-fe</module>
340 <module>asdc-tests</module>
341 <module>test-apis-ci</module>
342 <module>ui-ci</module>
Michael Landoc61d2242017-06-20 11:07:13 +0300343 </modules>
344
345 <properties>
346 <ecomp.version>1.2.7</ecomp.version>
Idan Amit6cc9a112017-09-13 17:21:33 +0300347 <artifact-generator-api.version>1710.0.0</artifact-generator-api.version>
348 <artifact-generator-core.version>1710.0.0</artifact-generator-core.version>
349 <dox-common-lib.version>1710.0.0</dox-common-lib.version>
Tal Gitelmana20a3a02017-11-01 14:40:02 +0200350 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
Michael Lando546f7cf2017-09-23 00:05:17 +0300351 </properties>
Michael Landoc61d2242017-06-20 11:07:13 +0300352 </profile>
AviZi280f8012017-06-09 02:39:56 +0300353
354 <profile>
355 <id>onboarding</id>
356 <activation>
357 <activeByDefault>false</activeByDefault>
358 </activation>
359 <modules>
vempoab2b6de2017-09-18 18:42:12 +0300360 <module>build-tools</module>
AviZi280f8012017-06-09 02:39:56 +0300361 <module>onboarding</module>
362 </modules>
363 </profile>
sheetalm64ffbe22017-12-13 15:25:05 +0530364
365 <profile>
366 <id>dev-integ</id>
367 <activation>
368 <activeByDefault>false</activeByDefault>
369 </activation>
370 <dependencies>
371 <dependency>
372 <groupId>org.togglz</groupId>
373 <artifactId>togglz-console</artifactId>
374 <version>${togglz.version}</version>
375 </dependency>
376 </dependencies>
377 </profile>
AviZi280f8012017-06-09 02:39:56 +0300378 </profiles>
379
380 <repositories>
Tal Gitelmane2391b82017-08-03 15:53:48 +0300381 <!-- LF repositories -->
AviZi280f8012017-06-09 02:39:56 +0300382 <repository>
383 <id>ecomp-releases</id>
384 <name>Release Repository</name>
385 <url>${nexus.proxy}/content/repositories/releases/</url>
386 </repository>
387 <repository>
388 <id>ecomp-staging</id>
389 <name>Staging Repository</name>
390 <url>${nexus.proxy}/content/repositories/staging/</url>
391 </repository>
392 <repository>
393 <id>ecomp-snapshots</id>
394 <name>Snapshots Repository</name>
395 <url>${nexus.proxy}/content/repositories/snapshots/</url>
396 </repository>
Idan Amit317e3bc2017-08-16 10:26:17 +0300397 <repository>
398 <id>ecomp-public</id>
399 <name>Public Repository</name>
400 <url>${nexus.proxy}/content/repositories/public/</url>
401 </repository>
Tal Gitelmane2391b82017-08-03 15:53:48 +0300402 <!-- LF repositories END-->
AviZi280f8012017-06-09 02:39:56 +0300403 </repositories>
404
405 <distributionManagement>
406
407 <repository>
408 <id>ecomp-releases</id>
409 <name>Release Repository</name>
410 <url>${nexus.proxy}/content/repositories/releases/</url>
411 </repository>
412 <snapshotRepository>
413 <id>ecomp-snapshots</id>
414 <name>Snapshot Repository</name>
415 <url>${nexus.proxy}/content/repositories/snapshots/</url>
416 </snapshotRepository>
417 <site>
418 <id>ecomp-site</id>
419 <url>dav:${nexus.proxy}${sitePath}</url>
420 </site>
421 </distributionManagement>
422</project>
Michael Lando451a3402017-02-19 10:28:42 +0200423