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