Enable debug mode in BE
[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.1-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                 <jetty.version>9.2.10.v20150310</jetty.version>
38
39                 <!-- JSON and YAML Parsing -->
40                 <jackson.version>2.6.2</jackson.version>
41                 <jackson.yaml.version>2.8.1</jackson.yaml.version>
42                 <jackson.annotations.version>2.6.0</jackson.annotations.version>
43
44                 <!-- Yaml for properties -->
45                 <snakeyaml.version>1.14</snakeyaml.version>
46                 <functionaljava.version>4.4</functionaljava.version>
47                 <httpclient.version>4.4.1</httpclient.version>
48                 <httpcore.version>4.4.1</httpcore.version>
49                 <json-simple.version>1.1</json-simple.version>
50
51
52                 <!-- Logging start -->
53                 <!-- logback -->
54         <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>
58                 <groovy.version>2.3.5</groovy.version>
59                 <janino.version>3.0.6</janino.version>
60
61                 <!-- aspects -->
62                 <jcabi.version>0.20.1</jcabi.version>
63                 <aspectjrt.version>1.8.4</aspectjrt.version>
64                 <aspectj.version>1.7.4</aspectj.version>
65                 <jcabi.plugin.version>0.13.2</jcabi.plugin.version>
66
67                 <!-- Logging end -->
68                 <!-- System Metrics -->
69                 <sigar.version>1.6.4</sigar.version>
70
71                 <regex.version>3.0.3</regex.version>
72
73                 <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>
86                 
87                 <!-- parser-->
88                 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
89                 
90                 <!--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>
94                 <sonar.language>java</sonar.language>
95                 <sonar.version>${project.version}</sonar.version>
96
97                 <!--cassandra -->
98                 <cassandra.driver.version>3.0.0</cassandra.driver.version>
99                 <!-- maven central (Nexus) -->
100                 <nexus.id.release>nexus</nexus.id.release>
101                 <nexus.id.snapshot>nexus</nexus.id.snapshot>
102                 <!-- Sonar properties -->
103                 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
104                 <sonar.skipDesign>true</sonar.skipDesign>
105                 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
106                 <sonar.sources>.</sonar.sources>
107                 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
108                 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
109                 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
110                 <sonar.branch>${project.version}</sonar.branch>
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         </properties>
119
120         <reporting>
121                 <plugins>
122                         <plugin>
123                                 <groupId>org.apache.maven.plugins</groupId>
124                                 <artifactId>maven-javadoc-plugin</artifactId>
125                                 <version>3.0.0-M1</version>
126                                 <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
141         <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>
179
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
193                         <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>
202                         <!-- 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>
216
217                         <!-- Set the JDK compiler version. -->
218                         <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
229                         <!-- Java Code Coverage -->
230                         <plugin>
231                                 <groupId>org.jacoco</groupId>
232                                 <artifactId>jacoco-maven-plugin</artifactId>
233                                 <version>0.7.1.201405082137</version>
234                                 <inherited>True</inherited>
235                                 <executions>
236                                         <!-- 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>
246                                         <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>
270                         
271                         <plugin>
272                                 <groupId>org.apache.maven.plugins</groupId>
273                                 <artifactId>maven-site-plugin</artifactId>
274                                 <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>
282
283                         <!-- Set the deployment repositories properties. -->
284                         <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>
309
310                         <!-- license plugin -->
311                         <plugin>
312                                 <groupId>org.codehaus.mojo</groupId>
313                                 <artifactId>license-maven-plugin</artifactId>
314                                 <version>1.10</version>
315                                 <configuration>
316                                         <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
317                                         <processStartTag>============LICENSE_START=======================================================</processStartTag>
318                                         <processEndTag>============LICENSE_END=========================================================</processEndTag>
319                                         <sectionDelimiter>================================================================================</sectionDelimiter>
320                                         <licenseName>apache_v2</licenseName>
321                                         <inceptionYear>2017</inceptionYear>
322                                         <organizationName>AT&amp;T Intellectual Property. All rights
323                                                 reserved.</organizationName>
324                                         <projectName>SDC</projectName>
325                                         <canUpdateCopyright>true</canUpdateCopyright>
326                                         <canUpdateDescription>true</canUpdateDescription>
327                                         <canUpdateLicense>true</canUpdateLicense>
328                                         <emptyLineAfterHeader>true</emptyLineAfterHeader>
329                                         <verbose>false</verbose>
330                                         <includes>
331                                                 <include>**/*.java</include>
332                                                 <include>**/*.ts</include>
333                                         </includes>
334                                         <excludes>
335                                                 <exclude>**/*.d.ts</exclude>
336                                         </excludes>
337                                         <roots>
338                                                 <root>src</root>
339                                                 <root>app</root>
340                                                 <root>server-mock</root>
341                                                 <root>typings</root>
342                                         </roots>
343                                         <extraExtensions>
344                                                 <ts>java</ts>
345                                         </extraExtensions>
346                                 </configuration>
347                                 <executions>
348                                         <execution>
349                                                 <id>first</id>
350                                                 <goals>
351                                                         <goal>update-file-header</goal>
352                                                 </goals>
353                                                 <!--phase>process-sources</phase -->
354                                         </execution>
355                                 </executions>
356                         </plugin>
357                 </plugins>
358         </build>
359
360         <profiles>
361                 <profile>
362                         <id>all</id>
363                         <activation>
364                                 <activeByDefault>true</activeByDefault>
365                         </activation>
366                         <modules>
367                                 <module>build-tools</module>
368                                 <module>onboarding</module>
369                                 <module>security-utils</module>
370                                 <module>common-app-api</module>
371                                 <module>common-be</module>
372                                 <module>catalog-dao</module>
373                                 <module>catalog-model</module>
374                                 <module>catalog-be</module>
375                                 <module>asdctool</module>
376                                 <module>catalog-ui</module>
377                                 <module>catalog-fe</module>
378                                 <module>asdc-tests</module>
379                                 <module>test-apis-ci</module>
380                                 <module>ui-ci</module>
381                                 <module>sdc-os-chef</module>
382                         </modules>
383
384                 </profile>
385
386                 <profile>
387                         <id>catalog</id>
388                         <activation>
389                                 <activeByDefault>false</activeByDefault>
390                         </activation>
391                         <modules>
392                                 <module>security-utils</module>
393                                 <module>common-app-api</module>
394                                 <module>common-be</module>
395                                 <module>catalog-dao</module>
396                                 <module>catalog-model</module>
397                                 <module>catalog-be</module>
398                                 <module>asdctool</module>
399                                 <module>catalog-ui</module>
400                                 <module>catalog-fe</module>
401                                 <module>asdc-tests</module>
402                                 <module>test-apis-ci</module>
403                                 <module>ui-ci</module>
404                         </modules>                      
405                         
406                         <properties>
407                                 <ecomp.version>1.2.7</ecomp.version>
408                                 <artifact-generator-api.version>1710.0.0</artifact-generator-api.version>
409                                 <artifact-generator-core.version>1710.0.0</artifact-generator-core.version>
410                                 <dox-common-lib.version>1710.0.0</dox-common-lib.version>
411                                 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
412                         </properties>
413                 </profile>
414
415                 <profile>
416                         <id>onboarding</id>
417                         <activation>
418                                 <activeByDefault>false</activeByDefault>
419                         </activation>
420                         <modules>
421                                 <module>build-tools</module>
422                                 <module>onboarding</module>
423                         </modules>
424                 </profile>
425         </profiles>
426
427         <repositories>
428                 <!-- LF repositories -->
429                 <repository>
430                         <id>ecomp-releases</id>
431                         <name>Release Repository</name>
432                         <url>${nexus.proxy}/content/repositories/releases/</url>
433                 </repository>
434                 <repository>
435                         <id>ecomp-staging</id>
436                         <name>Staging Repository</name>
437                         <url>${nexus.proxy}/content/repositories/staging/</url>
438                 </repository>
439                 <repository>
440                         <id>ecomp-snapshots</id>
441                         <name>Snapshots Repository</name>
442                         <url>${nexus.proxy}/content/repositories/snapshots/</url>
443                 </repository>
444                 <repository>
445                         <id>ecomp-public</id>
446                         <name>Public Repository</name>
447                         <url>${nexus.proxy}/content/repositories/public/</url>
448                 </repository>
449                 <!-- LF repositories END-->
450         </repositories>
451
452         <distributionManagement>
453
454                 <repository>
455                         <id>ecomp-releases</id>
456                         <name>Release Repository</name>
457                         <url>${nexus.proxy}/content/repositories/releases/</url>
458                 </repository>
459                 <snapshotRepository>
460                         <id>ecomp-snapshots</id>
461                         <name>Snapshot Repository</name>
462                         <url>${nexus.proxy}/content/repositories/snapshots/</url>
463                 </snapshotRepository>
464                 <site>
465                         <id>ecomp-site</id>
466                         <url>dav:${nexus.proxy}${sitePath}</url>
467                 </site>
468         </distributionManagement>
469 </project>
470