blob: 51e2a6e5af6417f29dfc653f26236c20d036bc1a [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>
170
171 <!-- Sonar properties -->
172 <sonar.login>sonaruser</sonar.login>
173 <sonar.password>us7USi0Htu93nFY91DPuQLFo6ebKcKXv</sonar.password>
174 <sonar.host.url>http://104.239.145.8:9000</sonar.host.url>
175 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
176 <sonar.skipDesign>true</sonar.skipDesign>
177 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
178 <sonar.sources>.</sonar.sources>
179 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
180 <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 </properties>
186
187 <reporting>
188 <plugins>
189 <plugin>
190 <groupId>org.apache.maven.plugins</groupId>
191 <artifactId>maven-javadoc-plugin</artifactId>
192 <version>2.10.4</version>
193 <configuration>
194 <failOnError>false</failOnError>
195 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
196 <docletArtifact>
197 <groupId>org.umlgraph</groupId>
198 <artifactId>umlgraph</artifactId>
199 <version>5.6</version>
200 </docletArtifact>
201 <additionalparam>-views</additionalparam>
202 <useStandardDocletOptions>true</useStandardDocletOptions>
203 </configuration>
204 </plugin>
205 </plugins>
206 </reporting>
207
208
209 <dependencyManagement>
210 <dependencies>
211 <dependency>
212 <groupId>org.codehaus.mojo</groupId>
213 <artifactId>wagon-maven-plugin</artifactId>
214 <version>1.0</version>
215 </dependency>
216
217 <dependency>
218 <groupId>org.codehaus.mojo</groupId>
219 <artifactId>exec-maven-plugin</artifactId>
220 <version>1.4.0</version>
221 </dependency>
222
223 <dependency>
224 <groupId>com.google.guava</groupId>
225 <artifactId>guava</artifactId>
226 <version>${guava.version}</version>
227 </dependency>
228
229 <dependency>
230 <groupId>org.apache.commons</groupId>
231 <artifactId>commons-lang3</artifactId>
232 <version>${lang3.version}</version>
233 </dependency>
234
235 <dependency>
236 <groupId>org.elasticsearch</groupId>
237 <artifactId>elasticsearch</artifactId>
238 <version>${elastic-search.version}</version>
239 </dependency>
240
241 <dependency>
242 <groupId>org.eclipse.jetty</groupId>
243 <artifactId>jetty-maven-plugin</artifactId>
244 <version>9.2.10.v20150310</version>
245 </dependency>
246
247 <dependency>
248 <groupId>org.eclipse.jetty</groupId>
249 <artifactId>jetty-servlet</artifactId>
250 <version>9.2.10.v20150310</version>
251 </dependency>
252
253 <dependency>
254 <groupId>org.eclipse.jetty</groupId>
255 <artifactId>jetty-webapp</artifactId>
256 <version>9.2.10.v20150310</version>
257 </dependency>
258
259 <dependency>
260 <groupId>org.glassfish.jersey</groupId>
261 <artifactId>jersey-bom</artifactId>
262 <version>2.24</version>
263 <type>pom</type>
264 <scope>import</scope>
265 </dependency>
266
267 <dependency>
268 <groupId>org.slf4j</groupId>
269 <artifactId>slf4j-api</artifactId>
270 <version>1.7.10</version>
271 </dependency>
272
273 <dependency>
274 <groupId>javax.servlet</groupId>
275 <artifactId>servlet-api</artifactId>
276 <version>2.5</version>
277 <scope>provided</scope>
278 </dependency>
279
280 <dependency>
281 <groupId>org.glassfish.jersey.containers</groupId>
282 <artifactId>jersey-container-servlet</artifactId>
283 <version>2.24</version>
284 <scope>provided</scope>
285 </dependency>
286
287 <dependency>
288 <groupId>org.glassfish.jersey.media</groupId>
289 <artifactId>jersey-media-json-jackson</artifactId>
290 <version>2.24</version>
291 <scope>compile</scope>
292 </dependency>
293
294 <dependency>
295 <groupId>org.glassfish.jersey.media</groupId>
296 <artifactId>jersey-media-moxy</artifactId>
297 <version>2.24</version>
298 <scope>compile</scope>
299 </dependency>
300
301 <!-- yaml to object converter -->
302 <dependency>
303 <groupId>org.yaml</groupId>
304 <artifactId>snakeyaml</artifactId>
305 <version>1.14</version>
306 <scope>provided</scope>
307 </dependency>
308
309 <!-- listen to file changes -->
310 <dependency>
311 <groupId>org.apache.commons</groupId>
312 <artifactId>commons-jci-core</artifactId>
313 <version>1.1</version>
314 <scope>provided</scope>
315 </dependency>
316
317 <!-- Gson -->
318 <dependency>
319 <groupId>com.google.code.gson</groupId>
320 <artifactId>gson</artifactId>
321 <version>2.3.1</version>
322 <scope>provided</scope>
323 </dependency>
324
325 <!-- http client -->
326 <dependency>
327 <groupId>org.apache.httpcomponents</groupId>
328 <artifactId>httpclient</artifactId>
329 <version>${httpclient.version}</version>
330 <scope>provided</scope>
331 </dependency>
332
333 <dependency>
334 <groupId>org.apache.httpcomponents</groupId>
335 <artifactId>httpmime</artifactId>
336 <version>${httpclient.version}</version>
337 <scope>provided</scope>
338 </dependency>
339
340 <dependency>
341 <groupId>org.apache.httpcomponents</groupId>
342 <artifactId>httpcore</artifactId>
343 <version>${httpcore.version}</version>
344 <scope>provided</scope>
345 </dependency>
346
347 <dependency>
348 <groupId>ch.qos.logback</groupId>
349 <artifactId>logback-classic</artifactId>
350 <version>1.1.2</version>
351 <scope>provided</scope>
352 </dependency>
353
354 <dependency>
355 <groupId>ch.qos.logback</groupId>
356 <artifactId>logback-core</artifactId>
357 <version>1.1.2</version>
358 <scope>provided</scope>
359 </dependency>
360
361 <!-- Logback extensions -->
362 <dependency>
363 <groupId>org.codehaus.groovy</groupId>
364 <artifactId>groovy-all</artifactId>
365 <version>${groovy.version}</version>
366 <scope>provided</scope>
367 </dependency>
368
369 <dependency>
370 <groupId>org.codehaus.janino</groupId>
371 <artifactId>janino</artifactId>
372 <version>${janino.version}</version>
373 <scope>provided</scope>
374 </dependency>
375
376 <dependency>
377 <groupId>commons-logging</groupId>
378 <artifactId>commons-logging</artifactId>
379 <version>1.2.1-SNAPSHOT</version>
380 <scope>provided</scope>
381 </dependency>
382
383 <dependency>
384 <groupId>commons-codec</groupId>
385 <artifactId>commons-codec</artifactId>
386 <version>2.0-SNAPSHOT</version>
387 <scope>provided</scope>
388 </dependency>
389
390 <dependency>
391 <groupId>junit</groupId>
392 <artifactId>junit</artifactId>
393 <version>4.12</version>
394 <scope>test</scope>
395 </dependency>
396
397 <dependency>
398 <groupId>org.testng</groupId>
399 <artifactId>testng</artifactId>
400 <version>6.9.10</version>
401 <scope>test</scope>
402 </dependency>
403 <dependency>
404 <groupId>com.relevantcodes</groupId>
405 <artifactId>extentreports</artifactId>
406 <version>2.41.0</version>
407 </dependency>
408
409 <dependency>
410 <groupId>org.mockito</groupId>
411 <artifactId>mockito-all</artifactId>
412 <version>1.10.19</version>
413 <scope>provided</scope>
414 </dependency>
415
416 <dependency>
417 <groupId>com.googlecode.json-simple</groupId>
418 <artifactId>json-simple</artifactId>
419 <version>${json-simple.version}</version>
420 <scope>provided</scope>
421 </dependency>
422
423 <dependency>
424 <groupId>org.springframework</groupId>
425 <artifactId>spring-core</artifactId>
426 <version>${spring.version}</version>
427 <scope>provided</scope>
428 </dependency>
429
430 <dependency>
431 <groupId>org.springframework</groupId>
432 <artifactId>spring-beans</artifactId>
433 <version>${spring.version}</version>
434 <scope>provided</scope>
435 </dependency>
436
437 <dependency>
438 <groupId>org.springframework</groupId>
439 <artifactId>spring-context</artifactId>
440 <version>${spring.version}</version>
441 <scope>provided</scope>
442 </dependency>
443
444 <dependency>
445 <groupId>org.springframework</groupId>
446 <artifactId>spring-context-support</artifactId>
447 <version>${spring.version}</version>
448 <scope>provided</scope>
449 </dependency>
450
451 <dependency>
452 <groupId>org.springframework</groupId>
453 <artifactId>spring-messaging</artifactId>
454 <version>${spring.version}</version>
455 <scope>provided</scope>
456 </dependency>
457
458 <dependency>
459 <groupId>org.springframework</groupId>
460 <artifactId>spring-web</artifactId>
461 <version>${spring.version}</version>
462 <scope>provided</scope>
463 </dependency>
464
465 <dependency>
466 <groupId>org.springframework</groupId>
467 <artifactId>spring-webmvc</artifactId>
468 <version>${spring.version}</version>
469 <scope>provided</scope>
470 </dependency>
471
472 <dependency>
473 <groupId>org.springframework</groupId>
474 <artifactId>spring-aop</artifactId>
475 <version>${spring.version}</version>
476 <scope>provided</scope>
477 </dependency>
478
479 <dependency>
480 <groupId>org.springframework</groupId>
481 <artifactId>spring-aspects</artifactId>
482 <version>${spring.version}</version>
483 <scope>provided</scope>
484 </dependency>
485
486 <dependency>
487 <groupId>org.springframework</groupId>
488 <artifactId>spring-test</artifactId>
489 <version>${spring.version}</version>
490 <scope>test</scope>
491 </dependency>
492
493 <dependency>
494 <groupId>org.springframework</groupId>
495 <artifactId>spring-expression</artifactId>
496 <version>${spring.version}</version>
497 <scope>test</scope>
498 </dependency>
499
500 <dependency>
501 <groupId>com.fasterxml.jackson.dataformat</groupId>
502 <artifactId>jackson-dataformat-yaml</artifactId>
503 <version>${jackson.version}</version>
504 <scope>provided</scope>
505 </dependency>
506
507 <dependency>
508 <groupId>com.fasterxml.jackson.core</groupId>
509 <artifactId>jackson-databind</artifactId>
510 <version>${jackson.version}</version>
511 <scope>provided</scope>
512 </dependency>
513
514 <dependency>
515 <groupId>com.fasterxml.jackson.core</groupId>
516 <artifactId>jackson-core</artifactId>
517 <version>${jackson.version}</version>
518 <scope>provided</scope>
519 </dependency>
520
521 <dependency>
522 <groupId>com.fasterxml.jackson.core</groupId>
523 <artifactId>jackson-annotations</artifactId>
524 <version>${jackson.annotations.version}</version>
525 <scope>provided</scope>
526 </dependency>
527
528 <!-- functional java -->
529 <dependency>
530 <groupId>org.functionaljava</groupId>
531 <artifactId>functionaljava</artifactId>
532 <version>${functionaljava.version}</version>
533 <scope>provided</scope>
534 </dependency>
535
536 <!-- Aspects -->
537 <dependency>
538 <groupId>com.jcabi</groupId>
539 <artifactId>jcabi-aspects</artifactId>
540 <version>${jcabi.version}</version>
541 <scope>provided</scope>
542 </dependency>
543 <dependency>
544 <groupId>org.aspectj</groupId>
545 <artifactId>aspectjrt</artifactId>
546 <version>${aspectjrt.version}</version>
547 <scope>provided</scope>
548 </dependency>
549
550 <!-- System metrics -->
551 <dependency>
552 <groupId>org.fusesource</groupId>
553 <artifactId>sigar</artifactId>
554 <version>${sigar.version}</version>
555 </dependency>
556 </dependencies>
557
558 </dependencyManagement>
559
560
561
562
563 <build>
564 <pluginManagement>
565 <plugins>
566
567 <plugin>
568 <groupId>org.apache.maven.plugins</groupId>
569 <artifactId>maven-site-plugin</artifactId>
570 <version>3.4</version>
571 <dependencies>
572 <dependency>
573 <groupId>org.apache.maven.wagon</groupId>
574 <artifactId>wagon-webdav-jackrabbit</artifactId>
575 <version>2.10</version>
576 </dependency>
577 </dependencies>
578 </plugin>
579
580
581 <plugin>
582 <groupId>org.apache.maven.plugins</groupId>
583 <artifactId>maven-assembly-plugin</artifactId>
584 <version>2.6</version>
585 </plugin>
586
587 <plugin>
588 <groupId>org.codehaus.mojo</groupId>
589 <artifactId>exec-maven-plugin</artifactId>
590 <version>1.4.0</version>
591 </plugin>
592 <plugin>
593 <groupId>org.sonarsource.scanner.maven</groupId>
594 <artifactId>sonar-maven-plugin</artifactId>
595 <version>3.0.2</version>
596 </plugin>
597 </plugins>
598 </pluginManagement>
599
600 <plugins>
601
602 <plugin>
603 <artifactId>maven-surefire-plugin</artifactId>
604 <version>2.19.1</version>
605 <configuration>
606 <systemPropertyVariables>
607 <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
608 </systemPropertyVariables>
609 </configuration>
610 </plugin>
611
612 <!-- ================================================== -->
613 <!-- Set the JDK compiler version. -->
614 <!-- ================================================== -->
615 <plugin>
616 <groupId>org.apache.maven.plugins</groupId>
617 <artifactId>maven-compiler-plugin</artifactId>
618 <version>2.5.1</version>
619 <inherited>true</inherited>
620 <configuration>
621 <source>1.8</source>
622 <target>1.8</target>
623 </configuration>
624 </plugin>
625
626 <!-- ============================================= -->
627 <!-- Java Code Coverage -->
628 <!-- ============================================= -->
629 <plugin>
630 <groupId>org.jacoco</groupId>
631 <artifactId>jacoco-maven-plugin</artifactId>
632 <version>0.7.1.201405082137</version>
633 <inherited>True</inherited>
634
635 <executions>
636
637 <!-- Unit-Tests -->
638 <execution>
639 <id>prepare-agent</id>
640 <goals>
641 <goal>prepare-agent</goal>
642 </goals>
643 <configuration>
644 <destFile>${sonar.jacoco.reportPath}</destFile>
645 </configuration>
646 </execution>
647
648
649 <execution>
650 <id>report</id>
651 <goals>
652 <goal>report</goal>
653 </goals>
654 <configuration>
655 <dataFile>${sonar.jacoco.reportPath}</dataFile>
656 <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory>
657 </configuration>
658 </execution>
659
660 <!-- Integration Tests (Only report goal) -->
661 <execution>
662 <id>report-integration</id>
663 <goals>
664 <goal>report-integration</goal>
665 </goals>
666 <configuration>
667 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
668 <outputDirectory>${project.basedir}/target/site/it-jacoco</outputDirectory>
669 </configuration>
670 </execution>
671 </executions>
672 </plugin>
673
674
675
676 <!-- ================================================== -->
677 <!-- Set the deployment repositories properties. -->
678 <!-- ================================================== -->
679 <plugin>
680 <groupId>org.codehaus.gmaven</groupId>
681 <artifactId>gmaven-plugin</artifactId>
682 <version>1.4</version>
683 <executions>
684 <execution>
685 <inherited>false</inherited>
686 <phase>integration-test</phase>
687 <goals>
688 <goal>execute</goal>
689 </goals>
690 <configuration>
691 <source>
692 pom.properties['deploy.url']=
693 pom.version.contains('-SNAPSHOT') ?
694 project.distributionManagement.snapshotRepository.url :
695 project.distributionManagement.repository.url;
696 pom.properties['repo.id']= pom.version.contains('-SNAPSHOT') ?
697 project.distributionManagement.snapshotRepository.id :
698 project.distributionManagement.repository.id;
699 </source>
700 </configuration>
701 </execution>
702 </executions>
703 </plugin>
704
705
706
707
708 <!-- license plugin -->
709 <plugin>
710 <groupId>org.codehaus.mojo</groupId>
711 <artifactId>license-maven-plugin</artifactId>
712 <version>1.10</version>
713 <configuration>
714 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
715 <processStartTag>============LICENSE_START=======================================================</processStartTag>
716 <processEndTag>============LICENSE_END=========================================================</processEndTag>
717 <sectionDelimiter>================================================================================</sectionDelimiter>
718 <licenseName>apache_v2</licenseName>
719 <inceptionYear>2017</inceptionYear>
720 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
721 <projectName>SDC</projectName>
722 <canUpdateCopyright>true</canUpdateCopyright>
723 <canUpdateDescription>true</canUpdateDescription>
724 <canUpdateLicense>true</canUpdateLicense>
725 <emptyLineAfterHeader>true</emptyLineAfterHeader>
726 <verbose>false</verbose>
727 <includes>
728 <include>**/*.java</include>
729 <include>**/*.js</include>
730 <include>**/*.ts</include>
731 </includes>
732 <roots>
733 <root>src</root>
734 <root>app</root>
735 <root>server-mock</root>
736 <root>typings</root>
737 </roots>
738 </configuration>
739 <executions>
740 <execution>
741 <id>first</id>
742 <goals>
743 <goal>update-file-header</goal>
744 </goals>
745 <!--phase>process-sources</phase-->
746 </execution>
747 </executions>
748 </plugin>
749
750 <!-- blackduck maven plugin -->
751 <!-- <plugin>
752 <groupId>com.blackducksoftware.integration</groupId>
753 <artifactId>hub-maven-plugin</artifactId>
754 <version>1.0.4</version>
755 <inherited>false</inherited>
756 <configuration>
757 <target>${project.basedir}</target>
758 </configuration>
759 <executions>
760 <execution>
761 <id>create-bdio-file</id>
762 <phase>package</phase>
763 <goals>
764 <goal>createHubOutput</goal>
765 </goals>
766 </execution>
767 </executions>
768 </plugin> -->
769 </plugins>
770 </build>
771
772
773
774 <repositories>
775 <repository>
776 <id>virtuos</id>
777 <name>Virtuos</name>
778 <url>http://nexus.virtuos.uos.de/nexus/content/repositories/public/</url>
779 <layout>default</layout>
780 </repository>
781 <repository>
782 <id>apache-public</id>
783 <name>Apache-Public</name>
784 <url>https://repository.apache.org/content/groups/public/</url>
785 <layout>default</layout>
786 </repository>
787 <repository>
788 <id>elasticsearch-releases</id>
789 <url>https://maven.elasticsearch.org/releases</url>
790 <releases>
791 <enabled>true</enabled>
792 </releases>
793 <snapshots>
794 <enabled>false</enabled>
795 </snapshots>
796 </repository>
797 <repository>
798 <id>central</id>
799 <name>Official Maven repository</name>
800 <url>http://repo2.maven.org/maven2/</url>
801 </repository>
802 <repository>
803 <id>ecomp-releases</id>
804 <name>Release Repository</name>
805 <url>${nexus.proxy}/content/repositories/releases/</url>
806 </repository>
807 <repository>
808 <id>ecomp-staging</id>
809 <name>Staging Repository</name>
810 <url>${nexus.proxy}/content/repositories/staging/</url>
811 </repository>
812 <repository>
813 <id>ecomp-snapshots</id>
814 <name>Snapshots Repository</name>
815 <url>${nexus.proxy}/content/repositories/snapshots/</url>
816 </repository>
817 </repositories>
818
819 <distributionManagement>
820
821 <repository>
822 <id>ecomp-releases</id>
823 <name>Release Repository</name>
824 <url>${nexus.proxy}/content/repositories/releases/</url>
825 </repository>
826 <snapshotRepository>
827 <id>ecomp-snapshots</id>
828 <name>Snapshot Repository</name>
829 <url>${nexus.proxy}/content/repositories/snapshots/</url>
830 </snapshotRepository>
831
832 </distributionManagement>
833</project>
834