blob: 5e249f01d55a690df03565d5621d62c25046121d [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>
Michael Lando451a3402017-02-19 10:28:42 +0200129 </properties>
130
131 <reporting>
132 <plugins>
133 <plugin>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-javadoc-plugin</artifactId>
vempofcfaa3e2017-10-10 15:50:37 +0000136 <version>3.0.0-M1</version>
Michael Lando451a3402017-02-19 10:28:42 +0200137 <configuration>
138 <failOnError>false</failOnError>
139 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
140 <docletArtifact>
141 <groupId>org.umlgraph</groupId>
142 <artifactId>umlgraph</artifactId>
143 <version>5.6</version>
144 </docletArtifact>
145 <additionalparam>-views</additionalparam>
146 <useStandardDocletOptions>true</useStandardDocletOptions>
147 </configuration>
148 </plugin>
149 </plugins>
150 </reporting>
151
Michael Lando451a3402017-02-19 10:28:42 +0200152 <build>
153 <pluginManagement>
154 <plugins>
155
156 <plugin>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-site-plugin</artifactId>
159 <version>3.4</version>
160 <dependencies>
161 <dependency>
162 <groupId>org.apache.maven.wagon</groupId>
163 <artifactId>wagon-webdav-jackrabbit</artifactId>
164 <version>2.10</version>
165 </dependency>
166 </dependencies>
167 </plugin>
168
169
170 <plugin>
171 <groupId>org.apache.maven.plugins</groupId>
172 <artifactId>maven-assembly-plugin</artifactId>
173 <version>2.6</version>
174 </plugin>
175
176 <plugin>
177 <groupId>org.codehaus.mojo</groupId>
178 <artifactId>exec-maven-plugin</artifactId>
179 <version>1.4.0</version>
180 </plugin>
181 <plugin>
182 <groupId>org.sonarsource.scanner.maven</groupId>
183 <artifactId>sonar-maven-plugin</artifactId>
184 <version>3.0.2</version>
185 </plugin>
186 </plugins>
187 </pluginManagement>
188
189 <plugins>
Michael Lando546f7cf2017-09-23 00:05:17 +0300190
191 <!-- Staging Plugin -->
192 <plugin>
193 <groupId>org.sonatype.plugins</groupId>
194 <artifactId>nexus-staging-maven-plugin</artifactId>
195 <version>1.6.7</version>
196 <extensions>true</extensions>
197 <configuration>
198 <nexusUrl>${nexus.proxy}</nexusUrl>
199 <stagingProfileId>${staging.profile.id}</stagingProfileId>
200 <serverId>ecomp-staging</serverId>
201 </configuration>
202 </plugin>
203
Michael Lando451a3402017-02-19 10:28:42 +0200204 <plugin>
205 <artifactId>maven-surefire-plugin</artifactId>
206 <version>2.19.1</version>
207 <configuration>
208 <systemPropertyVariables>
209 <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
210 </systemPropertyVariables>
211 </configuration>
212 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300213 <!-- plugin for parsing the project version -->
214 <plugin>
215 <groupId>org.codehaus.mojo</groupId>
216 <artifactId>build-helper-maven-plugin</artifactId>
217 <version>1.8</version>
218 <executions>
219 <execution>
220 <id>parse-version</id>
221 <goals>
222 <goal>parse-version</goal>
223 </goals>
224 </execution>
225 </executions>
226 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200227
Michael Lando451a3402017-02-19 10:28:42 +0200228 <!-- Java Code Coverage -->
Michael Lando451a3402017-02-19 10:28:42 +0200229 <plugin>
230 <groupId>org.jacoco</groupId>
231 <artifactId>jacoco-maven-plugin</artifactId>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200232 <version>0.7.9</version>
233 <configuration>
234 <append>true</append>
235 <destFile>${sonar.jacoco.reportPath}</destFile>
236 <dataFile>${sonar.jacoco.reportPath}</dataFile>
237 </configuration>
Michael Lando451a3402017-02-19 10:28:42 +0200238 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200239 <execution>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200240 <id>default-prepare-agent</id>
Michael Lando451a3402017-02-19 10:28:42 +0200241 <goals>
242 <goal>prepare-agent</goal>
243 </goals>
Michael Lando451a3402017-02-19 10:28:42 +0200244 </execution>
Michael Lando451a3402017-02-19 10:28:42 +0200245 <execution>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200246 <id>default-report</id>
Michael Lando451a3402017-02-19 10:28:42 +0200247 <goals>
248 <goal>report</goal>
249 </goals>
Michael Lando451a3402017-02-19 10:28:42 +0200250 </execution>
251 </executions>
252 </plugin>
Idan Amit86e98e72017-10-03 14:29:28 +0300253
254 <plugin>
255 <groupId>org.apache.maven.plugins</groupId>
256 <artifactId>maven-site-plugin</artifactId>
Idan Amit86e98e72017-10-03 14:29:28 +0300257 <dependencies>
258 <dependency>
259 <groupId>org.apache.maven.wagon</groupId>
260 <artifactId>wagon-webdav-jackrabbit</artifactId>
261 <version>2.10</version>
262 </dependency>
263 </dependencies>
264 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200265
Michael Lando451a3402017-02-19 10:28:42 +0200266 <!-- Set the deployment repositories properties. -->
Michael Lando451a3402017-02-19 10:28:42 +0200267 <plugin>
268 <groupId>org.codehaus.gmaven</groupId>
269 <artifactId>gmaven-plugin</artifactId>
270 <version>1.4</version>
271 <executions>
272 <execution>
273 <inherited>false</inherited>
274 <phase>integration-test</phase>
275 <goals>
276 <goal>execute</goal>
277 </goals>
278 <configuration>
279 <source>
280 pom.properties['deploy.url']=
281 pom.version.contains('-SNAPSHOT') ?
282 project.distributionManagement.snapshotRepository.url :
283 project.distributionManagement.repository.url;
284 pom.properties['repo.id']= pom.version.contains('-SNAPSHOT') ?
285 project.distributionManagement.snapshotRepository.id :
286 project.distributionManagement.repository.id;
287 </source>
288 </configuration>
289 </execution>
290 </executions>
291 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300292 </plugins>
293 </build>
Michael Lando451a3402017-02-19 10:28:42 +0200294
AviZi280f8012017-06-09 02:39:56 +0300295 <profiles>
296 <profile>
297 <id>all</id>
298 <activation>
299 <activeByDefault>true</activeByDefault>
300 </activation>
301 <modules>
vempo09d4f062017-08-29 18:15:04 +0300302 <module>build-tools</module>
AviZi280f8012017-06-09 02:39:56 +0300303 <module>onboarding</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300304 <module>security-utils</module>
AviZi280f8012017-06-09 02:39:56 +0300305 <module>common-app-api</module>
306 <module>common-be</module>
307 <module>catalog-dao</module>
308 <module>catalog-model</module>
309 <module>catalog-be</module>
310 <module>asdctool</module>
311 <module>catalog-ui</module>
312 <module>catalog-fe</module>
313 <module>asdc-tests</module>
Michael Lando4d97d5f2017-06-17 22:40:44 +0300314 <module>test-apis-ci</module>
315 <module>ui-ci</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300316 <module>sdc-os-chef</module>
AviZi280f8012017-06-09 02:39:56 +0300317 </modules>
318
319 </profile>
Michael Lando451a3402017-02-19 10:28:42 +0200320
AviZi280f8012017-06-09 02:39:56 +0300321 <profile>
322 <id>catalog</id>
323 <activation>
324 <activeByDefault>false</activeByDefault>
325 </activation>
326 <modules>
327 <module>security-utils</module>
328 <module>common-app-api</module>
329 <module>common-be</module>
330 <module>catalog-dao</module>
331 <module>catalog-model</module>
332 <module>catalog-be</module>
333 <module>asdctool</module>
334 <module>catalog-ui</module>
335 <module>catalog-fe</module>
336 <module>asdc-tests</module>
337 <module>test-apis-ci</module>
338 <module>ui-ci</module>
Michael Landoc61d2242017-06-20 11:07:13 +0300339 </modules>
340
341 <properties>
342 <ecomp.version>1.2.7</ecomp.version>
Idan Amit6cc9a112017-09-13 17:21:33 +0300343 <artifact-generator-api.version>1710.0.0</artifact-generator-api.version>
344 <artifact-generator-core.version>1710.0.0</artifact-generator-core.version>
345 <dox-common-lib.version>1710.0.0</dox-common-lib.version>
Tal Gitelmana20a3a02017-11-01 14:40:02 +0200346 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
Michael Lando546f7cf2017-09-23 00:05:17 +0300347 </properties>
Michael Landoc61d2242017-06-20 11:07:13 +0300348 </profile>
AviZi280f8012017-06-09 02:39:56 +0300349
350 <profile>
351 <id>onboarding</id>
352 <activation>
353 <activeByDefault>false</activeByDefault>
354 </activation>
355 <modules>
vempoab2b6de2017-09-18 18:42:12 +0300356 <module>build-tools</module>
AviZi280f8012017-06-09 02:39:56 +0300357 <module>onboarding</module>
358 </modules>
359 </profile>
sheetalm64ffbe22017-12-13 15:25:05 +0530360
361 <profile>
362 <id>dev-integ</id>
363 <activation>
364 <activeByDefault>false</activeByDefault>
365 </activation>
366 <dependencies>
367 <dependency>
368 <groupId>org.togglz</groupId>
369 <artifactId>togglz-console</artifactId>
370 <version>${togglz.version}</version>
371 </dependency>
372 </dependencies>
373 </profile>
AviZi280f8012017-06-09 02:39:56 +0300374 </profiles>
375
376 <repositories>
Tal Gitelmane2391b82017-08-03 15:53:48 +0300377 <!-- LF repositories -->
AviZi280f8012017-06-09 02:39:56 +0300378 <repository>
379 <id>ecomp-releases</id>
380 <name>Release Repository</name>
381 <url>${nexus.proxy}/content/repositories/releases/</url>
382 </repository>
383 <repository>
384 <id>ecomp-staging</id>
385 <name>Staging Repository</name>
386 <url>${nexus.proxy}/content/repositories/staging/</url>
387 </repository>
388 <repository>
389 <id>ecomp-snapshots</id>
390 <name>Snapshots Repository</name>
391 <url>${nexus.proxy}/content/repositories/snapshots/</url>
392 </repository>
Idan Amit317e3bc2017-08-16 10:26:17 +0300393 <repository>
394 <id>ecomp-public</id>
395 <name>Public Repository</name>
396 <url>${nexus.proxy}/content/repositories/public/</url>
397 </repository>
Tal Gitelmane2391b82017-08-03 15:53:48 +0300398 <!-- LF repositories END-->
AviZi280f8012017-06-09 02:39:56 +0300399 </repositories>
400
401 <distributionManagement>
402
403 <repository>
404 <id>ecomp-releases</id>
405 <name>Release Repository</name>
406 <url>${nexus.proxy}/content/repositories/releases/</url>
407 </repository>
408 <snapshotRepository>
409 <id>ecomp-snapshots</id>
410 <name>Snapshot Repository</name>
411 <url>${nexus.proxy}/content/repositories/snapshots/</url>
412 </snapshotRepository>
413 <site>
414 <id>ecomp-site</id>
415 <url>dav:${nexus.proxy}${sitePath}</url>
416 </site>
417 </distributionManagement>
418</project>
Michael Lando451a3402017-02-19 10:28:42 +0200419