blob: 582261bf7abe0b10e44b1ce8a27cbb9c209f908b [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
12 <!-- ==================== -->
13 <!-- Generic properties -->
14 <!-- ==================== -->
Michael Lando9db40522017-07-22 17:10:02 +030015 <build.type>-SNAPSHOT</build.type>
Michael Lando451a3402017-02-19 10:28:42 +020016 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Michael Lando75aacbb2017-07-17 21:12:03 +030017 <sprint.number>74</sprint.number>
Michael Lando451a3402017-02-19 10:28:42 +020018
19 <!-- 3rd parties versions -->
20 <lang3.version>3.3.2</lang3.version>
21 <guava.version>18.0</guava.version>
22 <titan.version>1.0.0</titan.version>
23 <spring-boot.version>1.1.6.RELEASE</spring-boot.version>
24 <spring.version>4.3.4.RELEASE</spring.version>
25 <spring.security.version>3.2.3.RELEASE</spring.security.version>
26 <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
AviZi280f8012017-06-09 02:39:56 +030027 <jersey-bom.version>2.24</jersey-bom.version>
28 <servlet-api.version>2.5</servlet-api.version>
29
Yuli Shlosberg9dde9262017-09-12 14:11:48 +030030 <artifact-generator-api.version>${project.version}</artifact-generator-api.version>
31 <artifact-generator-core.version>${project.version}</artifact-generator-core.version>
Avi Ziv11c43842017-07-16 15:21:15 +030032 <ecomp.version>1.1.0</ecomp.version>
Yuli Shlosberg9dde9262017-09-12 14:11:48 +030033 <dox-common-lib.version>${project.version}</dox-common-lib.version>
Michael Lando451a3402017-02-19 10:28:42 +020034
Michael Lando451a3402017-02-19 10:28:42 +020035 <!-- Elastic Search mapper (reference the elastic search version actually). -->
36 <elastic-search.version>2.1.0</elastic-search.version>
Michael Lando451a3402017-02-19 10:28:42 +020037 <jetty.version>9.2.10.v20150310</jetty.version>
38
39 <!-- JSON and YAML Parsing -->
40 <jackson.version>2.6.2</jackson.version>
Michael Landob3d48982017-06-11 14:22:02 +030041 <jackson.yaml.version>2.8.1</jackson.yaml.version>
Michael Lando451a3402017-02-19 10:28:42 +020042 <jackson.annotations.version>2.6.0</jackson.annotations.version>
43
44 <!-- Yaml for properties -->
AviZi280f8012017-06-09 02:39:56 +030045 <snakeyaml.version>1.14</snakeyaml.version>
46 <functionaljava.version>4.4</functionaljava.version>
Michael Lando451a3402017-02-19 10:28:42 +020047 <httpclient.version>4.4.1</httpclient.version>
48 <httpcore.version>4.4.1</httpcore.version>
49 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030050
Michael Lando451a3402017-02-19 10:28:42 +020051
52 <!-- Logging start -->
53 <!-- logback -->
AviZi280f8012017-06-09 02:39:56 +030054 <logback.version>1.1.2</logback.version>
55 <slf4j-api.version>1.7.10</slf4j-api.version>
56 <commons-codec>1.10</commons-codec>
57 <commons-logging>1.2</commons-logging>
Michael Lando451a3402017-02-19 10:28:42 +020058 <groovy.version>2.3.5</groovy.version>
59 <janino.version>3.0.6</janino.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030060
Michael Lando451a3402017-02-19 10:28:42 +020061 <!-- aspects -->
62 <jcabi.version>0.20.1</jcabi.version>
63 <aspectjrt.version>1.8.4</aspectjrt.version>
AviZi280f8012017-06-09 02:39:56 +030064 <aspectj.version>1.7.4</aspectj.version>
Michael Lando451a3402017-02-19 10:28:42 +020065 <jcabi.plugin.version>0.13.2</jcabi.plugin.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030066
Michael Lando451a3402017-02-19 10:28:42 +020067 <!-- Logging end -->
68 <!-- System Metrics -->
69 <sigar.version>1.6.4</sigar.version>
70
AviZi280f8012017-06-09 02:39:56 +030071 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +020072
AviZi280f8012017-06-09 02:39:56 +030073 <codehaus.jackson.core>1.9.2</codehaus.jackson.core>
74
75 <!--GSON-->
76 <gson.version>2.3.1</gson.version>
77
78 <!--listen to file changes-->
79 <commons-jci-core.version>1.1</commons-jci-core.version>
80
81 <!--TESTING-->
82 <mockito.version>1.10.19</mockito.version>
83 <junit.version>4.12</junit.version>
84 <testng.version>6.9.10</testng.version>
85 <extentreports.version>3.0.3</extentreports.version>
Tal Gitelmanffdda7d2017-07-02 15:33:25 +030086
Tal Gitelmaned7e1c32017-06-29 19:30:00 +030087 <!-- parser-->
Tal Gitelmana20a3a02017-11-01 14:40:02 +020088 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
Tal Gitelmanffdda7d2017-07-02 15:33:25 +030089
Michael Lando451a3402017-02-19 10:28:42 +020090 <!--JaCoCO -->
91 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
92 <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
93 <sonar.jacoco.itReportPath>${project.basedir}/target/it-jacoco.exec</sonar.jacoco.itReportPath>
AviZi280f8012017-06-09 02:39:56 +030094 <sonar.language>java</sonar.language>
95 <sonar.version>${project.version}</sonar.version>
Michael Lando451a3402017-02-19 10:28:42 +020096
97 <!--cassandra -->
98 <cassandra.driver.version>3.0.0</cassandra.driver.version>
AviZi280f8012017-06-09 02:39:56 +030099 <!-- maven central (Nexus) -->
100 <nexus.id.release>nexus</nexus.id.release>
101 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Michael Lando451a3402017-02-19 10:28:42 +0200102 <!-- Sonar properties -->
Michael Lando451a3402017-02-19 10:28:42 +0200103 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
104 <sonar.skipDesign>true</sonar.skipDesign>
105 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
ml636rd0214c72017-02-22 11:36:55 +0200106 <sonar.sources>.</sonar.sources>
ml636r72e56e42017-02-27 12:36:59 +0200107 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
ml636rd0214c72017-02-22 11:36:55 +0200108 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
109 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
Michael Landoe2598f02017-10-18 02:01:08 +0300110 <sonar.branch>${project.version}</sonar.branch>
ml636rd0214c72017-02-22 11:36:55 +0200111
112 <!--nexus-->
Andrew Grimberge636a202017-03-29 13:11:14 -0700113 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
ig6133a16ca442017-04-05 16:10:49 +0300114 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
ml636rd0214c72017-02-22 11:36:55 +0200115 <staging.profile.id>176c31dfe190a</staging.profile.id>
Michael Lando5e3ea6a2017-03-15 22:15:17 +0200116 <!--maven-->
117 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
Michael Lando451a3402017-02-19 10:28:42 +0200118 </properties>
119
120 <reporting>
121 <plugins>
122 <plugin>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-javadoc-plugin</artifactId>
vempofcfaa3e2017-10-10 15:50:37 +0000125 <version>3.0.0-M1</version>
Michael Lando451a3402017-02-19 10:28:42 +0200126 <configuration>
127 <failOnError>false</failOnError>
128 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
129 <docletArtifact>
130 <groupId>org.umlgraph</groupId>
131 <artifactId>umlgraph</artifactId>
132 <version>5.6</version>
133 </docletArtifact>
134 <additionalparam>-views</additionalparam>
135 <useStandardDocletOptions>true</useStandardDocletOptions>
136 </configuration>
137 </plugin>
138 </plugins>
139 </reporting>
140
Michael Lando451a3402017-02-19 10:28:42 +0200141 <build>
142 <pluginManagement>
143 <plugins>
144
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-site-plugin</artifactId>
148 <version>3.4</version>
149 <dependencies>
150 <dependency>
151 <groupId>org.apache.maven.wagon</groupId>
152 <artifactId>wagon-webdav-jackrabbit</artifactId>
153 <version>2.10</version>
154 </dependency>
155 </dependencies>
156 </plugin>
157
158
159 <plugin>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-assembly-plugin</artifactId>
162 <version>2.6</version>
163 </plugin>
164
165 <plugin>
166 <groupId>org.codehaus.mojo</groupId>
167 <artifactId>exec-maven-plugin</artifactId>
168 <version>1.4.0</version>
169 </plugin>
170 <plugin>
171 <groupId>org.sonarsource.scanner.maven</groupId>
172 <artifactId>sonar-maven-plugin</artifactId>
173 <version>3.0.2</version>
174 </plugin>
175 </plugins>
176 </pluginManagement>
177
178 <plugins>
Michael Lando546f7cf2017-09-23 00:05:17 +0300179
180 <!-- Staging Plugin -->
181 <plugin>
182 <groupId>org.sonatype.plugins</groupId>
183 <artifactId>nexus-staging-maven-plugin</artifactId>
184 <version>1.6.7</version>
185 <extensions>true</extensions>
186 <configuration>
187 <nexusUrl>${nexus.proxy}</nexusUrl>
188 <stagingProfileId>${staging.profile.id}</stagingProfileId>
189 <serverId>ecomp-staging</serverId>
190 </configuration>
191 </plugin>
192
Michael Lando451a3402017-02-19 10:28:42 +0200193 <plugin>
194 <artifactId>maven-surefire-plugin</artifactId>
195 <version>2.19.1</version>
196 <configuration>
197 <systemPropertyVariables>
198 <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
199 </systemPropertyVariables>
200 </configuration>
201 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300202 <!-- plugin for parsing the project version -->
203 <plugin>
204 <groupId>org.codehaus.mojo</groupId>
205 <artifactId>build-helper-maven-plugin</artifactId>
206 <version>1.8</version>
207 <executions>
208 <execution>
209 <id>parse-version</id>
210 <goals>
211 <goal>parse-version</goal>
212 </goals>
213 </execution>
214 </executions>
215 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200216
Michael Lando451a3402017-02-19 10:28:42 +0200217 <!-- Set the JDK compiler version. -->
Michael Lando451a3402017-02-19 10:28:42 +0200218 <plugin>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-compiler-plugin</artifactId>
221 <version>2.5.1</version>
222 <inherited>true</inherited>
223 <configuration>
224 <source>1.8</source>
225 <target>1.8</target>
226 </configuration>
227 </plugin>
228
Michael Lando451a3402017-02-19 10:28:42 +0200229 <!-- Java Code Coverage -->
Michael Lando451a3402017-02-19 10:28:42 +0200230 <plugin>
231 <groupId>org.jacoco</groupId>
232 <artifactId>jacoco-maven-plugin</artifactId>
233 <version>0.7.1.201405082137</version>
234 <inherited>True</inherited>
Michael Lando451a3402017-02-19 10:28:42 +0200235 <executions>
Michael Lando451a3402017-02-19 10:28:42 +0200236 <!-- Unit-Tests -->
237 <execution>
238 <id>prepare-agent</id>
239 <goals>
240 <goal>prepare-agent</goal>
241 </goals>
242 <configuration>
243 <destFile>${sonar.jacoco.reportPath}</destFile>
244 </configuration>
245 </execution>
Michael Lando451a3402017-02-19 10:28:42 +0200246 <execution>
247 <id>report</id>
248 <goals>
249 <goal>report</goal>
250 </goals>
251 <configuration>
252 <dataFile>${sonar.jacoco.reportPath}</dataFile>
253 <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory>
254 </configuration>
255 </execution>
256
257 <!-- Integration Tests (Only report goal) -->
258 <execution>
259 <id>report-integration</id>
260 <goals>
261 <goal>report-integration</goal>
262 </goals>
263 <configuration>
264 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
265 <outputDirectory>${project.basedir}/target/site/it-jacoco</outputDirectory>
266 </configuration>
267 </execution>
268 </executions>
269 </plugin>
Idan Amit86e98e72017-10-03 14:29:28 +0300270
271 <plugin>
272 <groupId>org.apache.maven.plugins</groupId>
273 <artifactId>maven-site-plugin</artifactId>
Idan Amit86e98e72017-10-03 14:29:28 +0300274 <dependencies>
275 <dependency>
276 <groupId>org.apache.maven.wagon</groupId>
277 <artifactId>wagon-webdav-jackrabbit</artifactId>
278 <version>2.10</version>
279 </dependency>
280 </dependencies>
281 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200282
Michael Lando451a3402017-02-19 10:28:42 +0200283 <!-- Set the deployment repositories properties. -->
Michael Lando451a3402017-02-19 10:28:42 +0200284 <plugin>
285 <groupId>org.codehaus.gmaven</groupId>
286 <artifactId>gmaven-plugin</artifactId>
287 <version>1.4</version>
288 <executions>
289 <execution>
290 <inherited>false</inherited>
291 <phase>integration-test</phase>
292 <goals>
293 <goal>execute</goal>
294 </goals>
295 <configuration>
296 <source>
297 pom.properties['deploy.url']=
298 pom.version.contains('-SNAPSHOT') ?
299 project.distributionManagement.snapshotRepository.url :
300 project.distributionManagement.repository.url;
301 pom.properties['repo.id']= pom.version.contains('-SNAPSHOT') ?
302 project.distributionManagement.snapshotRepository.id :
303 project.distributionManagement.repository.id;
304 </source>
305 </configuration>
306 </execution>
307 </executions>
308 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300309 </plugins>
310 </build>
Michael Lando451a3402017-02-19 10:28:42 +0200311
AviZi280f8012017-06-09 02:39:56 +0300312 <profiles>
313 <profile>
314 <id>all</id>
315 <activation>
316 <activeByDefault>true</activeByDefault>
317 </activation>
318 <modules>
vempo09d4f062017-08-29 18:15:04 +0300319 <module>build-tools</module>
AviZi280f8012017-06-09 02:39:56 +0300320 <module>onboarding</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300321 <module>security-utils</module>
AviZi280f8012017-06-09 02:39:56 +0300322 <module>common-app-api</module>
323 <module>common-be</module>
324 <module>catalog-dao</module>
325 <module>catalog-model</module>
326 <module>catalog-be</module>
327 <module>asdctool</module>
328 <module>catalog-ui</module>
329 <module>catalog-fe</module>
330 <module>asdc-tests</module>
Michael Lando4d97d5f2017-06-17 22:40:44 +0300331 <module>test-apis-ci</module>
332 <module>ui-ci</module>
Michael Landoed64b5e2017-06-09 03:19:04 +0300333 <module>sdc-os-chef</module>
AviZi280f8012017-06-09 02:39:56 +0300334 </modules>
335
336 </profile>
Michael Lando451a3402017-02-19 10:28:42 +0200337
AviZi280f8012017-06-09 02:39:56 +0300338 <profile>
339 <id>catalog</id>
340 <activation>
341 <activeByDefault>false</activeByDefault>
342 </activation>
343 <modules>
344 <module>security-utils</module>
345 <module>common-app-api</module>
346 <module>common-be</module>
347 <module>catalog-dao</module>
348 <module>catalog-model</module>
349 <module>catalog-be</module>
350 <module>asdctool</module>
351 <module>catalog-ui</module>
352 <module>catalog-fe</module>
353 <module>asdc-tests</module>
354 <module>test-apis-ci</module>
355 <module>ui-ci</module>
Michael Landoc61d2242017-06-20 11:07:13 +0300356 </modules>
357
358 <properties>
359 <ecomp.version>1.2.7</ecomp.version>
Idan Amit6cc9a112017-09-13 17:21:33 +0300360 <artifact-generator-api.version>1710.0.0</artifact-generator-api.version>
361 <artifact-generator-core.version>1710.0.0</artifact-generator-core.version>
362 <dox-common-lib.version>1710.0.0</dox-common-lib.version>
Tal Gitelmana20a3a02017-11-01 14:40:02 +0200363 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
Michael Lando546f7cf2017-09-23 00:05:17 +0300364 </properties>
Michael Landoc61d2242017-06-20 11:07:13 +0300365 </profile>
AviZi280f8012017-06-09 02:39:56 +0300366
367 <profile>
368 <id>onboarding</id>
369 <activation>
370 <activeByDefault>false</activeByDefault>
371 </activation>
372 <modules>
vempoab2b6de2017-09-18 18:42:12 +0300373 <module>build-tools</module>
AviZi280f8012017-06-09 02:39:56 +0300374 <module>onboarding</module>
375 </modules>
376 </profile>
AviZi280f8012017-06-09 02:39:56 +0300377 </profiles>
378
379 <repositories>
Tal Gitelmane2391b82017-08-03 15:53:48 +0300380 <!-- LF repositories -->
AviZi280f8012017-06-09 02:39:56 +0300381 <repository>
382 <id>ecomp-releases</id>
383 <name>Release Repository</name>
384 <url>${nexus.proxy}/content/repositories/releases/</url>
385 </repository>
386 <repository>
387 <id>ecomp-staging</id>
388 <name>Staging Repository</name>
389 <url>${nexus.proxy}/content/repositories/staging/</url>
390 </repository>
391 <repository>
392 <id>ecomp-snapshots</id>
393 <name>Snapshots Repository</name>
394 <url>${nexus.proxy}/content/repositories/snapshots/</url>
395 </repository>
Idan Amit317e3bc2017-08-16 10:26:17 +0300396 <repository>
397 <id>ecomp-public</id>
398 <name>Public Repository</name>
399 <url>${nexus.proxy}/content/repositories/public/</url>
400 </repository>
Tal Gitelmane2391b82017-08-03 15:53:48 +0300401 <!-- LF repositories END-->
AviZi280f8012017-06-09 02:39:56 +0300402 </repositories>
403
404 <distributionManagement>
405
406 <repository>
407 <id>ecomp-releases</id>
408 <name>Release Repository</name>
409 <url>${nexus.proxy}/content/repositories/releases/</url>
410 </repository>
411 <snapshotRepository>
412 <id>ecomp-snapshots</id>
413 <name>Snapshot Repository</name>
414 <url>${nexus.proxy}/content/repositories/snapshots/</url>
415 </snapshotRepository>
416 <site>
417 <id>ecomp-site</id>
418 <url>dav:${nexus.proxy}${sitePath}</url>
419 </site>
420 </distributionManagement>
421</project>
Michael Lando451a3402017-02-19 10:28:42 +0200422