blob: 50fa98ca83c6422716cf0a33c3acae66a1090a47 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001<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.0.0-SNAPSHOT</version>
8 <packaging>pom</packaging>
9
10
11
12 <modules>
13 <module>security-utils</module>
14 <module>common-app-api</module>
15 <module>common-be</module>
16 <module>catalog-dao</module>
17 <module>catalog-model</module>
18 <module>catalog-be</module>
19 <module>asdctool</module>
20 <module>catalog-ui</module>
21 <module>catalog-fe</module>
22 <module>asdc-tests</module>
23 <module>ui-ci</module>
ml636r5d2f54c2017-02-19 23:56:00 +020024
Michael Landof5f13c42017-02-19 12:35:04 +020025 <module>openecomp-be</module>
Michael Landoefa037d2017-02-19 12:57:33 +020026 <module>openecomp-ui</module>
Michael Lando451a3402017-02-19 10:28:42 +020027
ml636r5d2f54c2017-02-19 23:56:00 +020028 <module>sdc-os-chef</module>
Michael Lando9dd269d2017-02-20 01:04:22 +020029
Michael Lando451a3402017-02-19 10:28:42 +020030 </modules>
31
32
33
34 <properties>
35
36 <!-- ==================== -->
37 <!-- Generic properties -->
38 <!-- ==================== -->
39 <build.type>-SNAPSHOT</build.type>
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41
42
43 <!-- ==================== -->
44 <!-- Versions -->
45 <!-- ==================== -->
46 <!-- Global project version -->
47 <asdc.major.version>1610</asdc.major.version>
48 <asdc.minor.version>0</asdc.minor.version>
49 <asdc.servicepack.version>2</asdc.servicepack.version>
50 <sprint.number>33</sprint.number>
51 <asdc.full.version>${project.version}</asdc.full.version>
52
53 <!-- BE -->
54 <catalog-be.major.version>${asdc.major.version}</catalog-be.major.version>
55 <catalog-be.minor.version>${asdc.minor.version}</catalog-be.minor.version>
56 <catalog-be.servicepack.version>${asdc.servicepack.version}</catalog-be.servicepack.version>
57 <catalog-be.full.version>${catalog-be.major.version}.${catalog-be.minor.version}.${catalog-be.servicepack.version}${build.type}</catalog-be.full.version>
58
59 <!-- FE -->
60 <catalog-fe.major.version>${asdc.major.version}</catalog-fe.major.version>
61 <catalog-fe.minor.version>${asdc.minor.version}</catalog-fe.minor.version>
62 <catalog-fe.servicepack.version>${asdc.servicepack.version}</catalog-fe.servicepack.version>
63 <catalog-fe.full.version>${catalog-fe.major.version}.${catalog-fe.minor.version}.${catalog-fe.servicepack.version}${build.type}</catalog-fe.full.version>
64
65 <!-- CI -->
66 <catalog-ci.major.version>${asdc.major.version}</catalog-ci.major.version>
67 <catalog-ci.minor.version>${asdc.minor.version}</catalog-ci.minor.version>
68 <catalog-ci.servicepack.version>${asdc.servicepack.version}</catalog-ci.servicepack.version>
69 <catalog-ci.full.version>${catalog-ci.major.version}.${catalog-ci.minor.version}.${catalog-ci.servicepack.version}${build.type}</catalog-ci.full.version>
70
71 <!-- UI -->
72 <catalog-ui.major.version>${asdc.major.version}</catalog-ui.major.version>
73 <catalog-ui.minor.version>${asdc.minor.version}</catalog-ui.minor.version>
74 <catalog-ui.servicepack.version>${asdc.servicepack.version}</catalog-ui.servicepack.version>
75 <catalog-ui.full.version>${catalog-ui.major.version}.${catalog-ui.minor.version}.${catalog-ui.servicepack.version}${build.type}</catalog-ui.full.version>
76
77 <!-- Model -->
78 <catalog-model.major.version>${asdc.major.version}</catalog-model.major.version>
79 <catalog-model.minor.version>${asdc.minor.version}</catalog-model.minor.version>
80 <catalog-model.servicepack.version>${asdc.servicepack.version}</catalog-model.servicepack.version>
81 <catalog-model.full.version>${catalog-model.major.version}.${catalog-model.minor.version}.${catalog-model.servicepack.version}${build.type}</catalog-model.full.version>
82
83 <!-- CHEF -->
84 <asdc-chef.major.version>${asdc.major.version}</asdc-chef.major.version>
85 <asdc-chef.minor.version>${asdc.minor.version}</asdc-chef.minor.version>
86 <asdc-chef.servicepack.version>${asdc.servicepack.version}</asdc-chef.servicepack.version>
87 <asdc-chef.full.version>${asdc-chef.major.version}.${asdc-chef.minor.version}.${asdc-chef.servicepack.version}${build.type}</asdc-chef.full.version>
88
89 <!-- TESTS -->
90 <sdnc-tests.major.version>${asdc.major.version}</sdnc-tests.major.version>
91 <sdnc-tests.minor.version>${asdc.minor.version}</sdnc-tests.minor.version>
92 <sdnc-tests.servicepack.version>${asdc.servicepack.version}</sdnc-tests.servicepack.version>
93 <sdnc-tests.full.version>${sdnc-tests.major.version}.${sdnc-tests.minor.version}.${sdnc-tests.servicepack.version}${build.type}</sdnc-tests.full.version>
94
95 <!-- TESTS2 -->
96 <asdc-tests.major.version>${asdc.major.version}</asdc-tests.major.version>
97 <asdc-tests.minor.version>${asdc.minor.version}</asdc-tests.minor.version>
98 <asdc-tests.servicepack.version>${asdc.servicepack.version}</asdc-tests.servicepack.version>
99 <asdc-tests.full.version>${asdc-tests.major.version}.${asdc-tests.minor.version}.${asdc-tests.servicepack.version}${build.type}</asdc-tests.full.version>
100
101
102 <!-- Sub modules versioning -->
103 <sdnc-tests.version>${asdc.full.version}</sdnc-tests.version>
104 <asdc-tests.version>${asdc.full.version}</asdc-tests.version>
105 <catalog-dao.version>${asdc.full.version}</catalog-dao.version>
106 <catalog-model.version>${asdc.full.version}</catalog-model.version>
107 <common-app-api.version>${asdc.full.version}</common-app-api.version>
108 <common-be.version>${asdc.full.version}</common-be.version>
109 <security-utils.version>${asdc.full.version}</security-utils.version>
110 <asdctool.version>${asdc.full.version}</asdctool.version>
111
112
113 <!-- 3rd parties versions -->
114 <lang3.version>3.3.2</lang3.version>
115 <guava.version>18.0</guava.version>
116 <titan.version>1.0.0</titan.version>
117 <spring-boot.version>1.1.6.RELEASE</spring-boot.version>
118 <spring.version>4.3.4.RELEASE</spring.version>
119 <spring.security.version>3.2.3.RELEASE</spring.security.version>
120 <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
121 <mockito.version>1.9.0</mockito.version>
122 <ecomp.version>1.0.0-SNAPSHOT</ecomp.version>
123 <artefact-gen-api.version>1.0.0-SNAPSHOT</artefact-gen-api.version>
124 <artefact-gen-core.version>1.0.0-SNAPSHOT</artefact-gen-core.version>
125 <dox-common-lib.version>1.0.0-SNAPSHOT</dox-common-lib.version>
126
127
128 <!-- Elastic Search mapper (reference the elastic search version actually). -->
129 <elastic-search.version>2.1.0</elastic-search.version>
130 <springockito.version>1.0.4</springockito.version>
131 <alien4cloud.version>1.0.0-SM19</alien4cloud.version>
132 <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
133 <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
134 <jetty.version>9.2.10.v20150310</jetty.version>
135
136 <!-- JSON and YAML Parsing -->
137 <jackson.version>2.6.2</jackson.version>
138 <jackson.annotations.version>2.6.0</jackson.annotations.version>
139
140 <!-- Yaml for properties -->
141 <snakeyaml.version>1.12</snakeyaml.version>
142 <functionaljava.version>4.2</functionaljava.version>
143 <httpclient.version>4.4.1</httpclient.version>
144 <httpcore.version>4.4.1</httpcore.version>
145 <json-simple.version>1.1</json-simple.version>
146 <jetty.servlets.version>9.2.10.v20150310</jetty.servlets.version>
147
148 <!-- Logging start -->
149 <!-- logback -->
150 <groovy.version>2.3.5</groovy.version>
151 <janino.version>3.0.6</janino.version>
152 <!-- aspects -->
153 <jcabi.version>0.20.1</jcabi.version>
154 <aspectjrt.version>1.8.4</aspectjrt.version>
155 <jcabi.plugin.version>0.13.2</jcabi.plugin.version>
156 <!-- Logging end -->
157 <!-- System Metrics -->
158 <sigar.version>1.6.4</sigar.version>
159
160
161 <!--JaCoCO -->
162 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
163 <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
164 <sonar.jacoco.itReportPath>${project.basedir}/target/it-jacoco.exec</sonar.jacoco.itReportPath>
165 <!--sonar.language>java</sonar.language-->
166 <sonar.version>${asdc.major.version}</sonar.version>
167
168 <!--cassandra -->
169 <cassandra.driver.version>3.0.0</cassandra.driver.version>
ml636rd0214c72017-02-22 11:36:55 +0200170
Michael Lando451a3402017-02-19 10:28:42 +0200171 <!-- Sonar properties -->
ml636rd0214c72017-02-22 11:36:55 +0200172 <!-- <sonar.login>sonaruser</sonar.login>
Michael Lando451a3402017-02-19 10:28:42 +0200173 <sonar.password>us7USi0Htu93nFY91DPuQLFo6ebKcKXv</sonar.password>
ml636rd0214c72017-02-22 11:36:55 +0200174 <sonar.host.url>http://104.239.145.8:9000</sonar.host.url> -->
Michael Lando451a3402017-02-19 10:28:42 +0200175 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
176 <sonar.skipDesign>true</sonar.skipDesign>
177 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
ml636rd0214c72017-02-22 11:36:55 +0200178 <sonar.sources>.</sonar.sources>
Michael Lando451a3402017-02-19 10:28:42 +0200179 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
ml636rd0214c72017-02-22 11:36:55 +0200180 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
181 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
182
183 <!--nexus-->
184 <nexus.proxy>https://nexus.openecomp.org</nexus.proxy>
185 <staging.profile.id>176c31dfe190a</staging.profile.id>
Michael Lando451a3402017-02-19 10:28:42 +0200186 </properties>
187
188 <reporting>
189 <plugins>
190 <plugin>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-javadoc-plugin</artifactId>
193 <version>2.10.4</version>
194 <configuration>
195 <failOnError>false</failOnError>
196 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
197 <docletArtifact>
198 <groupId>org.umlgraph</groupId>
199 <artifactId>umlgraph</artifactId>
200 <version>5.6</version>
201 </docletArtifact>
202 <additionalparam>-views</additionalparam>
203 <useStandardDocletOptions>true</useStandardDocletOptions>
204 </configuration>
205 </plugin>
206 </plugins>
207 </reporting>
208
209
210 <dependencyManagement>
211 <dependencies>
212 <dependency>
213 <groupId>org.codehaus.mojo</groupId>
214 <artifactId>wagon-maven-plugin</artifactId>
215 <version>1.0</version>
216 </dependency>
217
218 <dependency>
219 <groupId>org.codehaus.mojo</groupId>
220 <artifactId>exec-maven-plugin</artifactId>
221 <version>1.4.0</version>
222 </dependency>
223
224 <dependency>
225 <groupId>com.google.guava</groupId>
226 <artifactId>guava</artifactId>
227 <version>${guava.version}</version>
228 </dependency>
229
230 <dependency>
231 <groupId>org.apache.commons</groupId>
232 <artifactId>commons-lang3</artifactId>
233 <version>${lang3.version}</version>
234 </dependency>
235
236 <dependency>
237 <groupId>org.elasticsearch</groupId>
238 <artifactId>elasticsearch</artifactId>
239 <version>${elastic-search.version}</version>
240 </dependency>
241
242 <dependency>
243 <groupId>org.eclipse.jetty</groupId>
244 <artifactId>jetty-maven-plugin</artifactId>
245 <version>9.2.10.v20150310</version>
246 </dependency>
247
248 <dependency>
249 <groupId>org.eclipse.jetty</groupId>
250 <artifactId>jetty-servlet</artifactId>
251 <version>9.2.10.v20150310</version>
252 </dependency>
253
254 <dependency>
255 <groupId>org.eclipse.jetty</groupId>
256 <artifactId>jetty-webapp</artifactId>
257 <version>9.2.10.v20150310</version>
258 </dependency>
259
260 <dependency>
261 <groupId>org.glassfish.jersey</groupId>
262 <artifactId>jersey-bom</artifactId>
263 <version>2.24</version>
264 <type>pom</type>
265 <scope>import</scope>
266 </dependency>
267
268 <dependency>
269 <groupId>org.slf4j</groupId>
270 <artifactId>slf4j-api</artifactId>
271 <version>1.7.10</version>
272 </dependency>
273
274 <dependency>
275 <groupId>javax.servlet</groupId>
276 <artifactId>servlet-api</artifactId>
277 <version>2.5</version>
278 <scope>provided</scope>
279 </dependency>
280
281 <dependency>
282 <groupId>org.glassfish.jersey.containers</groupId>
283 <artifactId>jersey-container-servlet</artifactId>
284 <version>2.24</version>
285 <scope>provided</scope>
286 </dependency>
287
288 <dependency>
289 <groupId>org.glassfish.jersey.media</groupId>
290 <artifactId>jersey-media-json-jackson</artifactId>
291 <version>2.24</version>
292 <scope>compile</scope>
293 </dependency>
294
295 <dependency>
296 <groupId>org.glassfish.jersey.media</groupId>
297 <artifactId>jersey-media-moxy</artifactId>
298 <version>2.24</version>
299 <scope>compile</scope>
300 </dependency>
301
302 <!-- yaml to object converter -->
303 <dependency>
304 <groupId>org.yaml</groupId>
305 <artifactId>snakeyaml</artifactId>
306 <version>1.14</version>
307 <scope>provided</scope>
308 </dependency>
309
310 <!-- listen to file changes -->
311 <dependency>
312 <groupId>org.apache.commons</groupId>
313 <artifactId>commons-jci-core</artifactId>
314 <version>1.1</version>
315 <scope>provided</scope>
316 </dependency>
317
318 <!-- Gson -->
319 <dependency>
320 <groupId>com.google.code.gson</groupId>
321 <artifactId>gson</artifactId>
322 <version>2.3.1</version>
323 <scope>provided</scope>
324 </dependency>
325
326 <!-- http client -->
327 <dependency>
328 <groupId>org.apache.httpcomponents</groupId>
329 <artifactId>httpclient</artifactId>
330 <version>${httpclient.version}</version>
331 <scope>provided</scope>
332 </dependency>
333
334 <dependency>
335 <groupId>org.apache.httpcomponents</groupId>
336 <artifactId>httpmime</artifactId>
337 <version>${httpclient.version}</version>
338 <scope>provided</scope>
339 </dependency>
340
341 <dependency>
342 <groupId>org.apache.httpcomponents</groupId>
343 <artifactId>httpcore</artifactId>
344 <version>${httpcore.version}</version>
345 <scope>provided</scope>
346 </dependency>
347
348 <dependency>
349 <groupId>ch.qos.logback</groupId>
350 <artifactId>logback-classic</artifactId>
351 <version>1.1.2</version>
352 <scope>provided</scope>
353 </dependency>
354
355 <dependency>
356 <groupId>ch.qos.logback</groupId>
357 <artifactId>logback-core</artifactId>
358 <version>1.1.2</version>
359 <scope>provided</scope>
360 </dependency>
361
362 <!-- Logback extensions -->
363 <dependency>
364 <groupId>org.codehaus.groovy</groupId>
365 <artifactId>groovy-all</artifactId>
366 <version>${groovy.version}</version>
367 <scope>provided</scope>
368 </dependency>
369
370 <dependency>
371 <groupId>org.codehaus.janino</groupId>
372 <artifactId>janino</artifactId>
373 <version>${janino.version}</version>
374 <scope>provided</scope>
375 </dependency>
376
377 <dependency>
378 <groupId>commons-logging</groupId>
379 <artifactId>commons-logging</artifactId>
380 <version>1.2.1-SNAPSHOT</version>
381 <scope>provided</scope>
382 </dependency>
383
384 <dependency>
385 <groupId>commons-codec</groupId>
386 <artifactId>commons-codec</artifactId>
387 <version>2.0-SNAPSHOT</version>
388 <scope>provided</scope>
389 </dependency>
390
391 <dependency>
392 <groupId>junit</groupId>
393 <artifactId>junit</artifactId>
394 <version>4.12</version>
395 <scope>test</scope>
396 </dependency>
397
398 <dependency>
399 <groupId>org.testng</groupId>
400 <artifactId>testng</artifactId>
401 <version>6.9.10</version>
402 <scope>test</scope>
403 </dependency>
404 <dependency>
405 <groupId>com.relevantcodes</groupId>
406 <artifactId>extentreports</artifactId>
407 <version>2.41.0</version>
408 </dependency>
409
410 <dependency>
411 <groupId>org.mockito</groupId>
412 <artifactId>mockito-all</artifactId>
413 <version>1.10.19</version>
414 <scope>provided</scope>
415 </dependency>
416
417 <dependency>
418 <groupId>com.googlecode.json-simple</groupId>
419 <artifactId>json-simple</artifactId>
420 <version>${json-simple.version}</version>
421 <scope>provided</scope>
422 </dependency>
423
424 <dependency>
425 <groupId>org.springframework</groupId>
426 <artifactId>spring-core</artifactId>
427 <version>${spring.version}</version>
428 <scope>provided</scope>
429 </dependency>
430
431 <dependency>
432 <groupId>org.springframework</groupId>
433 <artifactId>spring-beans</artifactId>
434 <version>${spring.version}</version>
435 <scope>provided</scope>
436 </dependency>
437
438 <dependency>
439 <groupId>org.springframework</groupId>
440 <artifactId>spring-context</artifactId>
441 <version>${spring.version}</version>
442 <scope>provided</scope>
443 </dependency>
444
445 <dependency>
446 <groupId>org.springframework</groupId>
447 <artifactId>spring-context-support</artifactId>
448 <version>${spring.version}</version>
449 <scope>provided</scope>
450 </dependency>
451
452 <dependency>
453 <groupId>org.springframework</groupId>
454 <artifactId>spring-messaging</artifactId>
455 <version>${spring.version}</version>
456 <scope>provided</scope>
457 </dependency>
458
459 <dependency>
460 <groupId>org.springframework</groupId>
461 <artifactId>spring-web</artifactId>
462 <version>${spring.version}</version>
463 <scope>provided</scope>
464 </dependency>
465
466 <dependency>
467 <groupId>org.springframework</groupId>
468 <artifactId>spring-webmvc</artifactId>
469 <version>${spring.version}</version>
470 <scope>provided</scope>
471 </dependency>
472
473 <dependency>
474 <groupId>org.springframework</groupId>
475 <artifactId>spring-aop</artifactId>
476 <version>${spring.version}</version>
477 <scope>provided</scope>
478 </dependency>
479
480 <dependency>
481 <groupId>org.springframework</groupId>
482 <artifactId>spring-aspects</artifactId>
483 <version>${spring.version}</version>
484 <scope>provided</scope>
485 </dependency>
486
487 <dependency>
488 <groupId>org.springframework</groupId>
489 <artifactId>spring-test</artifactId>
490 <version>${spring.version}</version>
491 <scope>test</scope>
492 </dependency>
493
494 <dependency>
495 <groupId>org.springframework</groupId>
496 <artifactId>spring-expression</artifactId>
497 <version>${spring.version}</version>
498 <scope>test</scope>
499 </dependency>
500
501 <dependency>
502 <groupId>com.fasterxml.jackson.dataformat</groupId>
503 <artifactId>jackson-dataformat-yaml</artifactId>
504 <version>${jackson.version}</version>
505 <scope>provided</scope>
506 </dependency>
507
508 <dependency>
509 <groupId>com.fasterxml.jackson.core</groupId>
510 <artifactId>jackson-databind</artifactId>
511 <version>${jackson.version}</version>
512 <scope>provided</scope>
513 </dependency>
514
515 <dependency>
516 <groupId>com.fasterxml.jackson.core</groupId>
517 <artifactId>jackson-core</artifactId>
518 <version>${jackson.version}</version>
519 <scope>provided</scope>
520 </dependency>
521
522 <dependency>
523 <groupId>com.fasterxml.jackson.core</groupId>
524 <artifactId>jackson-annotations</artifactId>
525 <version>${jackson.annotations.version}</version>
526 <scope>provided</scope>
527 </dependency>
528
529 <!-- functional java -->
530 <dependency>
531 <groupId>org.functionaljava</groupId>
532 <artifactId>functionaljava</artifactId>
533 <version>${functionaljava.version}</version>
534 <scope>provided</scope>
535 </dependency>
536
537 <!-- Aspects -->
538 <dependency>
539 <groupId>com.jcabi</groupId>
540 <artifactId>jcabi-aspects</artifactId>
541 <version>${jcabi.version}</version>
542 <scope>provided</scope>
543 </dependency>
544 <dependency>
545 <groupId>org.aspectj</groupId>
546 <artifactId>aspectjrt</artifactId>
547 <version>${aspectjrt.version}</version>
548 <scope>provided</scope>
549 </dependency>
550
551 <!-- System metrics -->
552 <dependency>
553 <groupId>org.fusesource</groupId>
554 <artifactId>sigar</artifactId>
555 <version>${sigar.version}</version>
556 </dependency>
557 </dependencies>
558
559 </dependencyManagement>
560
561
562
563
564 <build>
565 <pluginManagement>
566 <plugins>
567
568 <plugin>
569 <groupId>org.apache.maven.plugins</groupId>
570 <artifactId>maven-site-plugin</artifactId>
571 <version>3.4</version>
572 <dependencies>
573 <dependency>
574 <groupId>org.apache.maven.wagon</groupId>
575 <artifactId>wagon-webdav-jackrabbit</artifactId>
576 <version>2.10</version>
577 </dependency>
578 </dependencies>
579 </plugin>
580
ml636rd0214c72017-02-22 11:36:55 +0200581 <plugin>
582 <groupId>io.wcm.maven.plugins</groupId>
583 <artifactId>nodejs-maven-plugin</artifactId>
584 <configuration>
585 <npmVersion>4.3.0</npmVersion>
586 <nodeJsVersion>7.5.0</nodeJsVersion>
587 <nodeJsDirectory>/tmp/nodejs</nodeJsDirectory>
588 </configuration>
589 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200590
591 <plugin>
592 <groupId>org.apache.maven.plugins</groupId>
593 <artifactId>maven-assembly-plugin</artifactId>
594 <version>2.6</version>
595 </plugin>
596
597 <plugin>
598 <groupId>org.codehaus.mojo</groupId>
599 <artifactId>exec-maven-plugin</artifactId>
600 <version>1.4.0</version>
601 </plugin>
602 <plugin>
603 <groupId>org.sonarsource.scanner.maven</groupId>
604 <artifactId>sonar-maven-plugin</artifactId>
605 <version>3.0.2</version>
606 </plugin>
607 </plugins>
608 </pluginManagement>
609
610 <plugins>
611
612 <plugin>
613 <artifactId>maven-surefire-plugin</artifactId>
614 <version>2.19.1</version>
615 <configuration>
616 <systemPropertyVariables>
617 <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
618 </systemPropertyVariables>
619 </configuration>
620 </plugin>
621
622 <!-- ================================================== -->
623 <!-- Set the JDK compiler version. -->
624 <!-- ================================================== -->
625 <plugin>
626 <groupId>org.apache.maven.plugins</groupId>
627 <artifactId>maven-compiler-plugin</artifactId>
628 <version>2.5.1</version>
629 <inherited>true</inherited>
630 <configuration>
631 <source>1.8</source>
632 <target>1.8</target>
633 </configuration>
634 </plugin>
635
636 <!-- ============================================= -->
637 <!-- Java Code Coverage -->
638 <!-- ============================================= -->
639 <plugin>
640 <groupId>org.jacoco</groupId>
641 <artifactId>jacoco-maven-plugin</artifactId>
642 <version>0.7.1.201405082137</version>
643 <inherited>True</inherited>
644
645 <executions>
646
647 <!-- Unit-Tests -->
648 <execution>
649 <id>prepare-agent</id>
650 <goals>
651 <goal>prepare-agent</goal>
652 </goals>
653 <configuration>
654 <destFile>${sonar.jacoco.reportPath}</destFile>
655 </configuration>
656 </execution>
657
658
659 <execution>
660 <id>report</id>
661 <goals>
662 <goal>report</goal>
663 </goals>
664 <configuration>
665 <dataFile>${sonar.jacoco.reportPath}</dataFile>
666 <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory>
667 </configuration>
668 </execution>
669
670 <!-- Integration Tests (Only report goal) -->
671 <execution>
672 <id>report-integration</id>
673 <goals>
674 <goal>report-integration</goal>
675 </goals>
676 <configuration>
677 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
678 <outputDirectory>${project.basedir}/target/site/it-jacoco</outputDirectory>
679 </configuration>
680 </execution>
681 </executions>
682 </plugin>
683
684
685
686 <!-- ================================================== -->
687 <!-- Set the deployment repositories properties. -->
688 <!-- ================================================== -->
689 <plugin>
690 <groupId>org.codehaus.gmaven</groupId>
691 <artifactId>gmaven-plugin</artifactId>
692 <version>1.4</version>
693 <executions>
694 <execution>
695 <inherited>false</inherited>
696 <phase>integration-test</phase>
697 <goals>
698 <goal>execute</goal>
699 </goals>
700 <configuration>
701 <source>
702 pom.properties['deploy.url']=
703 pom.version.contains('-SNAPSHOT') ?
704 project.distributionManagement.snapshotRepository.url :
705 project.distributionManagement.repository.url;
706 pom.properties['repo.id']= pom.version.contains('-SNAPSHOT') ?
707 project.distributionManagement.snapshotRepository.id :
708 project.distributionManagement.repository.id;
709 </source>
710 </configuration>
711 </execution>
712 </executions>
713 </plugin>
714
ml636rd0214c72017-02-22 11:36:55 +0200715 <!-- Staging Plugin -->
716 <plugin>
717 <groupId>org.sonatype.plugins</groupId>
718 <artifactId>nexus-staging-maven-plugin</artifactId>
719 <version>1.6.7</version>
720 <extensions>true</extensions>
721 <configuration>
722 <nexusUrl>${nexus.proxy}</nexusUrl>
723 <stagingProfileId>${staging.profile.id}</stagingProfileId>
724 <serverId>ecomp-staging</serverId>
725 </configuration>
726 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200727
728 <!-- license plugin -->
729 <plugin>
730 <groupId>org.codehaus.mojo</groupId>
731 <artifactId>license-maven-plugin</artifactId>
732 <version>1.10</version>
733 <configuration>
734 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
735 <processStartTag>============LICENSE_START=======================================================</processStartTag>
736 <processEndTag>============LICENSE_END=========================================================</processEndTag>
737 <sectionDelimiter>================================================================================</sectionDelimiter>
738 <licenseName>apache_v2</licenseName>
739 <inceptionYear>2017</inceptionYear>
740 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
741 <projectName>SDC</projectName>
742 <canUpdateCopyright>true</canUpdateCopyright>
743 <canUpdateDescription>true</canUpdateDescription>
744 <canUpdateLicense>true</canUpdateLicense>
745 <emptyLineAfterHeader>true</emptyLineAfterHeader>
746 <verbose>false</verbose>
747 <includes>
748 <include>**/*.java</include>
749 <include>**/*.js</include>
750 <include>**/*.ts</include>
751 </includes>
752 <roots>
753 <root>src</root>
754 <root>app</root>
755 <root>server-mock</root>
756 <root>typings</root>
757 </roots>
758 </configuration>
759 <executions>
760 <execution>
761 <id>first</id>
762 <goals>
763 <goal>update-file-header</goal>
764 </goals>
765 <!--phase>process-sources</phase-->
766 </execution>
767 </executions>
768 </plugin>
769
770 <!-- blackduck maven plugin -->
771 <!-- <plugin>
772 <groupId>com.blackducksoftware.integration</groupId>
773 <artifactId>hub-maven-plugin</artifactId>
774 <version>1.0.4</version>
775 <inherited>false</inherited>
776 <configuration>
777 <target>${project.basedir}</target>
778 </configuration>
779 <executions>
780 <execution>
781 <id>create-bdio-file</id>
782 <phase>package</phase>
783 <goals>
784 <goal>createHubOutput</goal>
785 </goals>
786 </execution>
787 </executions>
788 </plugin> -->
789 </plugins>
790 </build>
791
792
793
ml636rd0214c72017-02-22 11:36:55 +0200794 <repositories>
795 <repository>
796 <id>virtuos</id>
797 <name>Virtuos</name>
798 <url>http://nexus.virtuos.uos.de/nexus/content/repositories/public/</url>
799 <layout>default</layout>
800 </repository>
801 <repository>
802 <id>apache-public</id>
803 <name>Apache-Public</name>
804 <url>https://repository.apache.org/content/groups/public/</url>
805 <layout>default</layout>
806 </repository>
807 <repository>
808 <id>elasticsearch-releases</id>
809 <url>https://maven.elasticsearch.org/releases</url>
810 <releases>
811 <enabled>true</enabled>
812 </releases>
813 <snapshots>
814 <enabled>false</enabled>
815 </snapshots>
816 </repository>
817 <repository>
818 <id>central</id>
819 <name>Official Maven repository</name>
820 <url>http://repo2.maven.org/maven2/</url>
821 </repository>
822 <repository>
823 <id>ecomp-releases</id>
824 <name>Release Repository</name>
825 <url>${nexus.proxy}/content/repositories/releases/</url>
826 </repository>
827 <repository>
828 <id>ecomp-staging</id>
829 <name>Staging Repository</name>
830 <url>${nexus.proxy}/content/repositories/staging/</url>
831 </repository>
832 <repository>
833 <id>ecomp-snapshots</id>
834 <name>Snapshots Repository</name>
835 <url>${nexus.proxy}/content/repositories/snapshots/</url>
836 </repository>
837 <repository>
838 <id>node</id>
839 <name>Node</name>
840 <url>https://maven-nodejs-proxy.pvtool.org/</url>
841 </repository>
842 </repositories>
Michael Lando451a3402017-02-19 10:28:42 +0200843
ml636rd0214c72017-02-22 11:36:55 +0200844 <distributionManagement>
Michael Lando451a3402017-02-19 10:28:42 +0200845
ml636rd0214c72017-02-22 11:36:55 +0200846 <repository>
847 <id>ecomp-releases</id>
848 <name>Release Repository</name>
849 <url>${nexus.proxy}/content/repositories/releases/</url>
850 </repository>
851 <snapshotRepository>
852 <id>ecomp-snapshots</id>
853 <name>Snapshot Repository</name>
854 <url>${nexus.proxy}/content/repositories/snapshots/</url>
855 </snapshotRepository>
Michael Lando451a3402017-02-19 10:28:42 +0200856
ml636rd0214c72017-02-22 11:36:55 +0200857 </distributionManagement>
858 </project>
Michael Lando451a3402017-02-19 10:28:42 +0200859