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