Sync Integ to Master
[sdc.git] / pom.xml
1 <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>
7         <version>1.2.0-SNAPSHOT</version>
8         <packaging>pom</packaging>
9         <name>sdc</name>        
10         <properties>
11
12                 <maven.compiler.source>1.8</maven.compiler.source>
13                 <maven.compiler.target>1.8</maven.compiler.target>
14
15                 <!-- ==================== -->
16                 <!-- Generic properties -->
17                 <!-- ==================== -->
18                 <build.type>-SNAPSHOT</build.type>
19                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20                 <sprint.number>74</sprint.number>
21
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.13.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>
30         <jersey-bom.version>2.26</jersey-bom.version>
31         <servlet-api.version>2.5</servlet-api.version>
32                 <wire-mock.version>2.11.0</wire-mock.version>
33
34                 <artifact-generator-api.version>${project.version}</artifact-generator-api.version>
35                 <artifact-generator-core.version>${project.version}</artifact-generator-core.version>
36                 <ecomp.version>1.1.0</ecomp.version>
37                 <dox-common-lib.version>${project.version}</dox-common-lib.version>
38
39                 <!-- Elastic Search mapper (reference the elastic search version actually). -->
40                 <elastic-search.version>2.4.0</elastic-search.version>
41                 <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
42                 <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
43                 <jetty.version>9.2.10.v20150310</jetty.version>
44
45                 <!-- JSON and YAML Parsing -->
46                 <jackson.version>2.8.4</jackson.version>
47                 <jackson.yaml.version>2.8.1</jackson.yaml.version>
48                 <jackson.annotations.version>2.8.4</jackson.annotations.version>
49
50                 <!-- Yaml for properties -->
51                 <snakeyaml.version>1.14</snakeyaml.version>
52                 <functionaljava.version>4.4</functionaljava.version>
53                 <httpclient.version>4.4.1</httpclient.version>
54                 <httpcore.version>4.4.1</httpcore.version>
55                 <json-simple.version>1.1</json-simple.version>
56
57
58                 <!-- Logging start -->
59                 <!-- logback -->
60         <logback.version>1.1.2</logback.version>
61         <slf4j-api.version>1.7.10</slf4j-api.version>
62         <commons-codec>1.10</commons-codec>
63         <commons-logging>1.2</commons-logging>
64                 <groovy.version>2.3.5</groovy.version>
65                 <janino.version>3.0.6</janino.version>
66
67                 <!-- aspects -->
68                 <jcabi.version>0.20.1</jcabi.version>
69                 <aspectjrt.version>1.8.4</aspectjrt.version>
70                 <aspectj.version>1.7.4</aspectj.version>
71                 <jcabi.plugin.version>0.13.2</jcabi.plugin.version>
72
73                 <!-- Logging end -->
74                 <!-- System Metrics -->
75                 <sigar.version>1.6.4</sigar.version>
76
77                 <regex.version>3.0.3</regex.version>
78
79                 <!--GSON-->
80                 <gson.version>2.3.1</gson.version>
81
82         <!--listen to file changes-->
83         <commons-jci-core.version>1.1</commons-jci-core.version>
84
85                 <!--TESTING-->
86                 <mockito.version>2.12.0</mockito.version>
87                 <junit.version>4.12</junit.version>
88                 <assertj.version>3.8.0</assertj.version>
89                 <testng.version>6.9.10</testng.version>
90                 <extentreports.version>3.0.3</extentreports.version>
91                 <cucumber.version>2.3.1</cucumber.version>
92
93                 <!-- parser-->
94                 <sdc-tosca-parser.version>1.2.3-SNAPSHOT</sdc-tosca-parser.version>
95
96                 <!--JaCoCO -->
97                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
98                 <sonar.jacoco.reportPath>${project.basedir}/../target/jacoco.exec</sonar.jacoco.reportPath>
99                 <sonar.jacoco.itReportPath>${project.basedir}/../target/it-jacoco.exec</sonar.jacoco.itReportPath>
100                 <sonar.language>java</sonar.language>
101                 <!-- Sonar properties -->
102                 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
103                 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
104                 <sonar.branch>${project.version}</sonar.branch>
105
106                 <!--cassandra -->
107                 <cassandra.driver.version>3.0.0</cassandra.driver.version>
108                 <!-- maven central (Nexus) -->
109                 <nexus.id.release>nexus</nexus.id.release>
110                 <nexus.id.snapshot>nexus</nexus.id.snapshot>
111
112                 <!--nexus-->
113                 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
114                 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
115                 <staging.profile.id>176c31dfe190a</staging.profile.id>
116                 <!--maven-->
117                 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
118                 <!--io.fabric8-->
119                 <fabric8.version>0.23.0</fabric8.version>
120                 <!--docker tags-->
121                 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
122                 <docker.latest.tag>${project.version}-latest</docker.latest.tag>
123
124         </properties>
125
126         <dependencyManagement>
127                 <dependencies>
128                         <dependency>
129                                 <groupId>org.glassfish.jersey.ext</groupId>
130                                 <artifactId>jersey-bean-validation</artifactId>
131                                 <version>${jersey-bom.version}</version>
132                         </dependency>
133
134                         <dependency>
135                                 <groupId>org.glassfish.hk2.external</groupId>
136                                 <artifactId>asm-all-repackaged</artifactId>
137                                 <version>2.4.0</version>
138                         </dependency>
139
140                         <dependency>
141                                 <groupId>org.assertj</groupId>
142                                 <artifactId>assertj-core</artifactId>
143                                 <version>${assertj.version}</version>
144                         </dependency>
145
146                         <dependency>
147                                 <groupId>org.mockito</groupId>
148                                 <artifactId>mockito-core</artifactId>
149                                 <version>${mockito.version}</version>
150                         </dependency>
151
152                         <dependency>
153                                 <groupId>com.github.tomakehurst</groupId>
154                                 <artifactId>wiremock</artifactId>
155                                 <version>${wire-mock.version}</version>
156                         </dependency>
157
158             <dependency>
159                 <groupId>io.cucumber</groupId>
160                 <artifactId>cucumber-java</artifactId>
161                 <version>${cucumber.version}</version>
162             </dependency>
163
164             <dependency>
165                 <groupId>io.cucumber</groupId>
166                 <artifactId>cucumber-junit</artifactId>
167                 <version>${cucumber.version}</version>
168             </dependency>
169                 </dependencies>
170         </dependencyManagement>
171
172         <reporting>
173                 <plugins>
174                         <plugin>
175                                 <groupId>org.apache.maven.plugins</groupId>
176                                 <artifactId>maven-javadoc-plugin</artifactId>
177                                 <version>3.0.0-M1</version>
178                                 <configuration>
179                                         <failOnError>false</failOnError>
180                                         <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
181                                         <docletArtifact>
182                                                 <groupId>org.umlgraph</groupId>
183                                                 <artifactId>umlgraph</artifactId>
184                                                 <version>5.6</version>
185                                         </docletArtifact>
186                                         <additionalparam>-views</additionalparam>
187                                         <useStandardDocletOptions>true</useStandardDocletOptions>
188                                 </configuration>
189                         </plugin>
190                 </plugins>
191         </reporting>
192
193         <build>
194                 <pluginManagement>
195                         <plugins>
196
197                                 <plugin>
198                                         <groupId>org.apache.maven.plugins</groupId>
199                                         <artifactId>maven-site-plugin</artifactId>
200                                         <version>3.4</version>
201                                         <dependencies>
202                                                 <dependency>
203                                                         <groupId>org.apache.maven.wagon</groupId>
204                                                         <artifactId>wagon-webdav-jackrabbit</artifactId>
205                                                         <version>2.10</version>
206                                                 </dependency>
207                                         </dependencies>
208                                 </plugin>
209
210
211                                 <plugin>
212                                         <groupId>org.apache.maven.plugins</groupId>
213                                         <artifactId>maven-assembly-plugin</artifactId>
214                                         <version>2.6</version>
215                                 </plugin>
216
217                                 <plugin>
218                                         <groupId>org.codehaus.mojo</groupId>
219                                         <artifactId>exec-maven-plugin</artifactId>
220                                         <version>1.4.0</version>
221                                 </plugin>
222                                 <plugin>
223                                         <groupId>org.sonarsource.scanner.maven</groupId>
224                                         <artifactId>sonar-maven-plugin</artifactId>
225                                         <version>3.0.2</version>
226                                 </plugin>
227                         </plugins>
228                 </pluginManagement>
229
230                 <plugins>
231
232                         <!-- Staging Plugin -->
233                         <plugin>
234                                  <groupId>org.sonatype.plugins</groupId>
235                                  <artifactId>nexus-staging-maven-plugin</artifactId>
236                                  <version>1.6.7</version>
237                                  <extensions>true</extensions>
238                                  <configuration>
239                                                  <nexusUrl>${nexus.proxy}</nexusUrl>
240                                                  <stagingProfileId>${staging.profile.id}</stagingProfileId>
241                                                  <serverId>ecomp-staging</serverId>
242                                  </configuration>
243                         </plugin>
244
245                         <plugin>
246                                 <artifactId>maven-surefire-plugin</artifactId>
247                                 <version>2.19.1</version>
248                                 <configuration>
249                                         <systemPropertyVariables>
250                                                 <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
251                                         </systemPropertyVariables>
252                                 </configuration>
253                         </plugin>
254                         <!-- plugin for parsing the project version -->
255                         <plugin>
256                                 <groupId>org.codehaus.mojo</groupId>
257                                 <artifactId>build-helper-maven-plugin</artifactId>
258                                 <version>1.8</version>
259                                 <executions>
260                                         <execution>
261                                                 <id>parse-version</id>
262                                                 <goals>
263                                                         <goal>parse-version</goal>
264                                                 </goals>
265                                         </execution>
266                                 </executions>
267                         </plugin>
268
269                         <!-- Java Code Coverage -->
270                         <plugin>
271                                 <groupId>org.jacoco</groupId>
272                                 <artifactId>jacoco-maven-plugin</artifactId>
273                                 <version>0.7.9</version>
274                                 <configuration>
275                                         <append>true</append>
276                                         <destFile>${sonar.jacoco.reportPath}</destFile>
277                                         <dataFile>${sonar.jacoco.reportPath}</dataFile>
278                                 </configuration>
279                                 <executions>
280                                         <execution>
281                                                 <id>default-prepare-agent</id>
282                                                 <goals>
283                                                         <goal>prepare-agent</goal>
284                                                 </goals>
285                                         </execution>
286                                         <execution>
287                                                 <id>default-report</id>
288                                                 <goals>
289                                                         <goal>report</goal>
290                                                 </goals>
291                                         </execution>
292                                 </executions>
293                         </plugin>
294                         
295                         <plugin>
296                                 <groupId>org.apache.maven.plugins</groupId>
297                                 <artifactId>maven-site-plugin</artifactId>
298                                 <dependencies>
299                                         <dependency>
300                                                 <groupId>org.apache.maven.wagon</groupId>
301                                                 <artifactId>wagon-webdav-jackrabbit</artifactId>
302                                                 <version>2.10</version>
303                                         </dependency>
304                                 </dependencies>
305                         </plugin>
306
307                         <!-- Set the deployment repositories properties. -->
308                         <plugin>
309                                 <groupId>org.codehaus.gmaven</groupId>
310                                 <artifactId>gmaven-plugin</artifactId>
311                                 <version>1.4</version>
312                                 <executions>
313                                         <execution>
314                                                 <inherited>false</inherited>
315                                                 <phase>integration-test</phase>
316                                                 <goals>
317                                                         <goal>execute</goal>
318                                                 </goals>
319                                                 <configuration>
320                                                         <source>
321                                                                 pom.properties['deploy.url']=
322                                                                 pom.version.contains('-SNAPSHOT') ?
323                                                                 project.distributionManagement.snapshotRepository.url :
324                                                                 project.distributionManagement.repository.url;
325                                                                 pom.properties['repo.id']= pom.version.contains('-SNAPSHOT') ?
326                                                                 project.distributionManagement.snapshotRepository.id :
327                                                                 project.distributionManagement.repository.id;
328                                                         </source>
329                                                 </configuration>
330                                         </execution>
331                                 </executions>
332                         </plugin>
333
334                         <!-- license plugin -->
335                         <plugin>
336                                 <groupId>org.codehaus.mojo</groupId>
337                                 <artifactId>license-maven-plugin</artifactId>
338                                 <version>1.10</version>
339                                 <configuration>
340                                         <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
341                                         <processStartTag>============LICENSE_START=======================================================</processStartTag>
342                                         <processEndTag>============LICENSE_END=========================================================</processEndTag>
343                                         <sectionDelimiter>================================================================================</sectionDelimiter>
344                                         <licenseName>apache_v2</licenseName>
345                                         <inceptionYear>2017</inceptionYear>
346                                         <organizationName>AT&amp;T Intellectual Property. All rights
347                                                 reserved.</organizationName>
348                                         <projectName>SDC</projectName>
349                                         <canUpdateCopyright>true</canUpdateCopyright>
350                                         <canUpdateDescription>true</canUpdateDescription>
351                                         <canUpdateLicense>true</canUpdateLicense>
352                                         <emptyLineAfterHeader>true</emptyLineAfterHeader>
353                                         <verbose>false</verbose>
354                                         <includes>
355                                                 <include>**/*.java</include>
356                                                 <include>**/*.ts</include>
357                                         </includes>
358                                         <excludes>
359                                                 <exclude>**/*.d.ts</exclude>
360                                         </excludes>
361                                         <roots>
362                                                 <root>src</root>
363                                                 <root>app</root>
364                                                 <root>server-mock</root>
365                                                 <root>typings</root>
366                                         </roots>
367                                         <extraExtensions>
368                                                 <ts>java</ts>
369                                         </extraExtensions>
370                                 </configuration>
371                                 <executions>
372                                         <execution>
373                                                 <id>first</id>
374                                                 <goals>
375                                                         <goal>update-file-header</goal>
376                                                 </goals>
377                                                 <!--phase>process-sources</phase -->
378                                         </execution>
379                                 </executions>
380                         </plugin>
381                 </plugins>
382         </build>
383
384         <profiles>
385                 <profile>
386                         <id>all</id>
387                         <activation>
388                                 <activeByDefault>true</activeByDefault>
389                         </activation>
390                         <modules>
391                                 <module>build-tools</module>
392                                 <module>onboarding</module>
393                                 <module>security-utils</module>
394                                 <module>common-app-api</module>
395                                 <module>common-be</module>
396                                 <module>catalog-dao</module>
397                                 <module>catalog-model</module>
398                                 <module>catalog-be</module>
399                                 <module>asdctool</module>
400                                 <module>catalog-ui</module>
401                                 <module>catalog-fe</module>
402                                 <module>test-apis-ci</module>
403                                 <module>ui-ci</module>
404                                 <module>sdc-os-chef</module>
405                         </modules>
406
407                 </profile>
408
409                 <profile>
410                         <id>catalog</id>
411                         <activation>
412                                 <activeByDefault>false</activeByDefault>
413                         </activation>
414                         <modules>
415                                 <module>security-utils</module>
416                                 <module>common-app-api</module>
417                                 <module>common-be</module>
418                                 <module>catalog-dao</module>
419                                 <module>catalog-model</module>
420                                 <module>catalog-be</module>
421                                 <module>asdctool</module>
422                                 <module>catalog-ui</module>
423                                 <module>catalog-fe</module>
424                                 <module>test-apis-ci</module>
425                                 <module>ui-ci</module>
426                         </modules>                      
427                         
428                         <properties>
429                                 <ecomp.version>1.2.7</ecomp.version>
430                                 <artifact-generator-api.version>1802.0.1.167</artifact-generator-api.version>
431                                 <artifact-generator-core.version>1802.0.1.167</artifact-generator-core.version>
432                                 <dox-common-lib.version>1802.0.1.167</dox-common-lib.version>
433                                 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
434                         </properties>   
435                 </profile>
436
437                 <profile>
438                         <id>onboarding</id>
439                         <activation>
440                                 <activeByDefault>false</activeByDefault>
441                         </activation>
442                         <modules>
443                                 <module>onboarding</module>
444                         </modules>
445                 </profile>
446         </profiles>
447
448         <repositories>
449                 <!-- LF repositories -->
450                 <repository>
451                         <id>ecomp-releases</id>
452                         <name>Release Repository</name>
453                         <url>${nexus.proxy}/content/repositories/releases/</url>
454                 </repository>
455                 <repository>
456                         <id>ecomp-staging</id>
457                         <name>Staging Repository</name>
458                         <url>${nexus.proxy}/content/repositories/staging/</url>
459                 </repository>
460                 <repository>
461                         <id>ecomp-snapshots</id>
462                         <name>Snapshots Repository</name>
463                         <url>${nexus.proxy}/content/repositories/snapshots/</url>
464                 </repository>
465                 <repository>
466                         <id>ecomp-public</id>
467                         <name>Public Repository</name>
468                         <url>${nexus.proxy}/content/repositories/public/</url>
469                 </repository>
470                 <!-- LF repositories END-->
471         </repositories>
472
473         <distributionManagement>
474                 <repository>
475                         <id>ecomp-releases</id>
476                         <name>Release Repository</name>
477                         <url>${nexus.proxy}/content/repositories/releases/</url>
478                 </repository>
479                 <snapshotRepository>
480                         <id>ecomp-snapshots</id>
481                         <name>Snapshot Repository</name>
482                         <url>${nexus.proxy}/content/repositories/snapshots/</url>
483                 </snapshotRepository>
484                 <site>
485                         <id>ecomp-site</id>
486                         <url>dav:${nexus.proxy}${sitePath}</url>
487                 </site>
488         </distributionManagement>
489 </project>