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