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