blob: cdffb18a60baec4854d1ea085cf5e8813af25475 [file] [log] [blame]
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
5
6 <modelVersion>4.0.0</modelVersion>
7 <packaging>pom</packaging>
8 <groupId>org.onap.ccsdk.parent</groupId>
9 <artifactId>mdsal-it-parent</artifactId>
Dan Timoney3e77e072018-02-08 15:36:37 -050010 <version>1.0.1-SNAPSHOT</version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050011
12 <parent>
13 <groupId>org.opendaylight.controller</groupId>
14 <artifactId>mdsal-it-parent</artifactId>
15 <version>1.6.1</version>
16 <relativePath />
17 </parent>
18
19
20 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
21 <url>http://wiki.onap.org</url>
22 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
23
24
25 <issueManagement>
26 <system>JIRA</system>
27 <url>https://jira.onap.org/</url>
28 </issueManagement>
29
30 <properties>
31
32 <!--- properties from oparent -->
33 <maven.compiler.source>1.8</maven.compiler.source>
34 <maven.compiler.target>1.8</maven.compiler.target>
35 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
37 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
38 <!-- sitePath may be overridden in the inheriting POM if desired -->
39 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
40 <jacoco.version>0.7.7.201606060606</jacoco.version>
41 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
42 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
43 <!-- Default Sonar configuration -->
44 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
45 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
46 <!-- Note: This list should match jacoco-maven-plugin's exclusion
47 list below -->
48 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
49 <!-- If following file exist, auto-generation of swagger.json will
50 be done -->
51 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
52 <!-- If following file exist, auto-generation of sdk will be done -->
53 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
54 <!--- end of properties from oparent -->
55
56 <!-- ONAP repositories -->
57 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
58 <onap.nexus.port>443</onap.nexus.port>
59 <onap.nexus.protocol>https</onap.nexus.protocol>
60 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
61 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
62 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
63 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
64 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
65 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
66
67
68 <!-- OpenDaylight repositories -->
69 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
70 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
71
72
73 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
74 <java.version.source>1.8</java.version.source>
75 <java.version.target>1.8</java.version.target>
76 <bundle.plugin.version>2.5.0</bundle.plugin.version>
77 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
78 <features.file>features.xml</features.file>
79 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
80 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
81 <checkstyle.skip>true</checkstyle.skip>
82
83
84 <sonar.language>java</sonar.language>
85 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
86 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
87 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
88 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
89 <sonar.projectVersion>${project.version}</sonar.projectVersion>
90
91
92
93
94 <!-- CCSDK component versions -->
Dan Timoney3e77e072018-02-08 15:36:37 -050095 <ccsdk.sli.core.version>0.2.1-SNAPSHOT</ccsdk.sli.core.version>
96 <ccsdk.sli.adaptors.version>0.2.1-SNAPSHOT</ccsdk.sli.adaptors.version>
97 <ccsdk.sli.northbound.version>0.2.1-SNAPSHOT</ccsdk.sli.northbound.version>
98 <ccsdk.sli.plugins.version>0.2.1-SNAPSHOT</ccsdk.sli.plugins.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050099 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
100 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
101 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
102 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
103 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
104
105 <!-- Support libraries used by OpenDaylight -->
106 <!-- Used by aaa, vtn -->
107 <commons.codec.version>1.10</commons.codec.version>
108 <!-- Used by netconf, ovsdb -->
Dan Timoneyf680cc62018-02-15 10:09:28 -0500109 <commons.lang3.version>3.6</commons.lang3.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500110 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
111 <commons.lang.version>2.6</commons.lang.version>
112 <!-- Used by neutron; see also controller, vtn -->
Dan Timoneyf680cc62018-02-15 10:09:28 -0500113 <commons.net.version>3.6</commons.net.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500114 <!-- Used by neutron -->
115 <eclipse.persistence.version>2.6.2</eclipse.persistence.version>
116 <!-- Used by aaa -->
117 <felix.dependencymanager.version>4.3.0</felix.dependencymanager.version>
118 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
Dan Timoneyf680cc62018-02-15 10:09:28 -0500119 <gson.version>2.7</gson.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500120 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
Dan Timoneyf680cc62018-02-15 10:09:28 -0500121 <guava.version>22.0</guava.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500122 <!-- Used by lispflowmapping, sxp, vtn/manager -->
123 <hamcrest.version>1.3</hamcrest.version>
124 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
125 integration/distribution, snmp4sdn, toolkit, ttp -->
126 <jackson.version>2.3.2</jackson.version>
127 <!-- Used by snmp4sdn, yangtools -->
128 <javassist.version>3.20.0-GA</javassist.version>
129
130 <!-- FIXME remove all dependencies for jersey 1.17 after migration
131 all projects -->
132 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity,
133 defense4all, snmp4sdn, toolkit -->
134 <jersey.version>1.17</jersey.version>
135 <!-- Used by sfc -->
136 <jersey.client.version>1.17</jersey.client.version>
137
138 <!-- New packages for jersey migration 1.17 to 2.8 -->
139 <!-- appache.geronimo.bundle for DocGen -->
140 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
141 <org.json.version>20131018</org.json.version>
142
143 <!-- Used by sfc -->
Dan Timoneyf680cc62018-02-15 10:09:28 -0500144 <jettison.version>1.3.7</jettison.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500145 <!-- Used by persistence -->
146 <jsr305.api.version>3.0.0</jsr305.api.version>
147 <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560
148 is fixed (either in PowerMock or with a new JUnit release) -->
149 <!-- Used everywhere -->
150 <junit.version>4.11</junit.version>
151 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity,
152 toolkit -->
Dan Timoneyf680cc62018-02-15 10:09:28 -0500153 <logback.version>1.2.2</logback.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500154 <!-- Used by nic, sfc, sxp, tsdr -->
155 <mockito.version>1.10.19</mockito.version>
156 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
Dan Timoneyf680cc62018-02-15 10:09:28 -0500157 <netty.version>4.1.8.Final</netty.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500158 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also
159 affinity, toolkit -->
160 <slf4j.version>1.7.21</slf4j.version>
161 <!-- Used in integration/distribution; see also affinity, snmp4sdn,
162 toolkit, tsdr, ttp -->
Dan Timoneyf680cc62018-02-15 10:09:28 -0500163 <spring.version>3.2.17.RELEASE</spring.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500164
165
166
167 <!-- Extra support libraries used by SDN-C -->
168 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
169 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
170 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
Dan Timoneyf680cc62018-02-15 10:09:28 -0500171 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
172 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500173 <antlr.version>4.5.1</antlr.version>
174 <mysql.connector.version>5.1.39</mysql.connector.version>
175 <mariadb.connector.version>2.1.1</mariadb.connector.version>
176 <h2database.version>1.4.186</h2database.version>
177
178 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
179 </properties>
180
181
182 <profiles>
183 <!-- Profiles from ONAP oparent -->
184 <profile>
185 <id>generate-json</id>
186 <activation>
187 <file>
188 <exists>${swagger-properties}</exists>
189 </file>
190 <property>
191 <name>swagger-sdk.generate-json</name>
192 </property>
193 </activation>
194 <build>
195 <plugins>
196 <plugin>
197 <groupId>org.codehaus.mojo</groupId>
198 <artifactId>properties-maven-plugin</artifactId>
199 <version>1.0.0</version>
200 <executions>
201 <execution>
202 <phase>initialize</phase>
203 <goals>
204 <goal>read-project-properties</goal>
205 </goals>
206 <configuration>
207 <files>
208 <file>${basedir}/src/main/resources/swagger.properties</file>
209 </files>
210 </configuration>
211 </execution>
212 </executions>
213 </plugin>
214 <plugin>
215 <groupId>com.github.kongchen</groupId>
216 <artifactId>swagger-maven-plugin</artifactId>
217 <version>3.1.4</version>
218 <configuration>
219 <apiSources>
220 <apiSource>
221 <locations>${api-rest-package}</locations>
222 <schemes>http,https</schemes>
223 <host>${api-host-ip}:${api-host-port}</host>
224 <basePath>${api-base-path}</basePath>
225 <info>
226 <title>${api-title}</title>
227 <version>${api-version}</version>
228 <description>${api-description}</description>
229 <license>
230 <name>${api-license}</name>
231 </license>
232 </info>
233 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
234 </apiSource>
235 </apiSources>
236 </configuration>
237 <executions>
238 <execution>
239 <phase>compile</phase>
240 <goals>
241 <goal>generate</goal>
242 </goals>
243 </execution>
244 </executions>
245 </plugin>
246 <plugin>
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-install-plugin</artifactId>
249 <version>2.3.1</version>
250 <executions>
251 <execution>
252 <id>install-file-id</id>
253 <phase>install</phase>
254 <goals>
255 <goal>install-file</goal>
256 </goals>
257 <configuration>
258 <file>${basedir}/src/main/resources/swagger.json</file>
259 <groupId>${project.groupId}</groupId>
260 <artifactId>${project.artifactId}-swagger-schema</artifactId>
261 <version>${project.version}</version>
262 <packaging>json</packaging>
263 </configuration>
264 </execution>
265 </executions>
266 </plugin>
267 </plugins>
268 </build>
269 </profile>
270 <profile>
271 <id>generate-sdk</id>
272 <activation>
273 <file>
274 <exists>${swagger-json}</exists>
275 </file>
276 <property>
277 <name>swagger-sdk.generate-java-sdk</name>
278 </property>
279 </activation>
280 <build>
281 <plugins>
282 <plugin>
283 <groupId>org.apache.maven.plugins</groupId>
284 <artifactId>maven-antrun-plugin</artifactId>
285 <version>1.8</version>
286 <executions>
287 <execution>
288 <phase>initialize</phase>
289 <id>ant-create-script</id>
290 <configuration>
291 <exportAntProperties>true</exportAntProperties>
292 <tasks>
293
294 <taskdef
295 resource="net/sf/antcontrib/antlib.xml"
296 classpathref="maven.plugin.classpath" />
297 <condition property="is_windows"
298 value="true">
299 <os family="windows" />
300 </condition>
301 <condition property="isLinux"
302 value="true">
303 <os family="unix" />
304 </condition>
305 <if>
306 <equals arg1="${is_windows}"
307 arg2="true" />
308 <then>
309 <property
310 name="swagger.sdk.script.file"
311 value="generated-source-script.bat" />
312 <echo
313 file="${project.build.directory}${file.separator}generated-source-script.bat"
314 append="true"
315 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
316 <echo
317 file="${project.build.directory}${file.separator}generated-source-script.bat"
318 append="true"
319 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
320 </then>
321 <else>
322 <property
323 name="swagger.sdk.script.file"
324 value="generated-source-script.sh" />
325 <echo
326 file="${project.build.directory}${file.separator}generated-source-script.sh"
327 append="true"
328 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
329 <echo
330 file="${project.build.directory}${file.separator}generated-source-script.sh"
331 append="true"
332 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
333 <chmod
334 file="${project.build.directory}${file.separator}generated-source-script.sh"
335 perm="755" />
336 </else>
337 </if>
338 </tasks>
339 </configuration>
340 <goals>
341 <goal>run</goal>
342 </goals>
343 </execution>
344 </executions>
345 <dependencies>
346 <dependency>
347 <groupId>ant-contrib</groupId>
348 <artifactId>ant-contrib</artifactId>
349 <version>1.0b3</version>
350 <exclusions>
351 <exclusion>
352 <artifactId>ant</artifactId>
353 <groupId>ant</groupId>
354 </exclusion>
355 </exclusions>
356 </dependency>
357 </dependencies>
358 </plugin>
359 <plugin>
360 <groupId>io.swagger</groupId>
361 <artifactId>swagger-codegen-maven-plugin</artifactId>
362 <version>2.2.1</version>
363 <executions>
364 <execution>
365 <goals>
366 <goal>generate</goal>
367 </goals>
368 <configuration>
369 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
370 <output>${project.build.directory}/generated-sources</output>
371 <language>java</language>
372 <configOptions>
373 <dateLibrary>joda</dateLibrary>
374 </configOptions>
375 <library>jersey2</library>
376 <groupId>${project.groupId}</groupId>
377 <artifactId>${project.artifactId}-java-sdk</artifactId>
378 <artifactVersion>${project.version}</artifactVersion>
379 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
380 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
381 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
382 </configuration>
383 </execution>
384 </executions>
385 </plugin>
386 <plugin>
387 <artifactId>exec-maven-plugin</artifactId>
388 <groupId>org.codehaus.mojo</groupId>
389 <version>1.5.0</version>
390 <executions>
391 <execution>
392 <id>swagger-generate-sources</id>
393 <phase>generate-sources</phase>
394 <goals>
395 <goal>exec</goal>
396 </goals>
397 <configuration>
398 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
399 </configuration>
400 </execution>
401 </executions>
402 </plugin>
403 <plugin>
404 <groupId>org.apache.maven.plugins</groupId>
405 <artifactId>maven-clean-plugin</artifactId>
406 <version>3.0.0</version>
407 <executions>
408 <execution>
409 <id>clean-generated-files</id>
410 <phase>generate-sources</phase>
411 <goals>
412 <goal>clean</goal>
413 </goals>
414 <configuration>
415 <filesets>
416 <fileset>
417 <directory>${project.build.directory}/generated-sources</directory>
418 </fileset>
419 </filesets>
420 </configuration>
421 </execution>
422 </executions>
423 </plugin>
424 </plugins>
425 </build>
426 <dependencies>
427 <dependency>
428 <groupId>org.onap.msb.swagger-sdk</groupId>
429 <artifactId>swagger-sdk</artifactId>
430 <version>1.0.0</version>
431 </dependency>
432 </dependencies>
433 </profile>
434
435 <!-- End of profiles from ONAP oparent -->
436
437 </profiles>
438
439
440 <dependencyManagement>
441 <dependencies>
442 <dependency>
443 <groupId>org.onap.sdnc.core</groupId>
444 <artifactId>sli-common</artifactId>
445 <version>${sdnctl.sli.version}</version>
446 </dependency>
447
448 <dependency>
449 <groupId>org.onap.sdnc.core</groupId>
450 <artifactId>sli-provider</artifactId>
451 <version>${sdnctl.sli.version}</version>
452 </dependency>
453
454 <dependency>
455 <groupId>org.onap.sdnc.core</groupId>
456 <artifactId>aai-service-provider</artifactId>
457 <version>${sdnctl.aai.service.version}</version>
458 </dependency>
459
460 <dependency>
461 <groupId>org.onap.sdnc.core</groupId>
462 <artifactId>dblib-provider</artifactId>
463 <version>${sdnctl.dblib.version}</version>
464 </dependency>
465 </dependencies>
466
467 </dependencyManagement>
468
469
470 <reporting>
471 <plugins>
472 <plugin>
473 <artifactId>maven-javadoc-plugin</artifactId>
474 <version>2.10.4</version>
475 <configuration>
476 <failOnError>false</failOnError>
477 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
478 <docletArtifact>
479 <groupId>org.umlgraph</groupId>
480 <artifactId>umlgraph</artifactId>
481 <version>5.6</version>
482 </docletArtifact>
483 <additionalparam>-views</additionalparam>
484 <useStandardDocletOptions>true</useStandardDocletOptions>
485 <excludePackageNames>org.opendaylight.*</excludePackageNames>
486 <additionalDependencies>
487 <additionalDependency>
488 <groupId>org.slf4j</groupId>
489 <artifactId>slf4j-api</artifactId>
490 <version>${slf4j.version}</version>
491 </additionalDependency>
492 <additionalDependency>
493 <groupId>org.antlr</groupId>
494 <artifactId>antlr4</artifactId>
495 <version>${antlr.version}</version>
496 </additionalDependency>
497 <additionalDependency>
498 <groupId>org.antlr</groupId>
499 <artifactId>antlr4-runtime</artifactId>
500 <version>${antlr.version}</version>
501 </additionalDependency>
502
503 <additionalDependency>
504 <groupId>com.sun.jersey</groupId>
505 <artifactId>jersey-client</artifactId>
506 <version>${jersey.json.version}</version>
507 </additionalDependency>
508 <additionalDependency>
509 <groupId>com.sun.jersey</groupId>
510 <artifactId>jersey-core</artifactId>
511 <version>${jersey.json.version}</version>
512 </additionalDependency>
513 <additionalDependency>
514 <groupId>org.apache.httpcomponents</groupId>
515 <artifactId>httpcore-osgi</artifactId>
516 <version>${apache.httpcomponents.core.version}</version>
517 </additionalDependency>
518 <additionalDependency>
519 <groupId>org.apache.httpcomponents</groupId>
520 <artifactId>httpclient-osgi</artifactId>
521 <version>${apache.httpcomponents.client.version}</version>
522 </additionalDependency>
523 <additionalDependency>
524 <groupId>com.fasterxml.jackson.core</groupId>
525 <artifactId>jackson-databind</artifactId>
526 <version>${fasterxml.jackson.version}</version>
527 </additionalDependency>
528 <additionalDependency>
529 <groupId>com.fasterxml.jackson.core</groupId>
530 <artifactId>jackson-annotations</artifactId>
531 <version>${fasterxml.jackson.version}</version>
532 </additionalDependency>
533 <additionalDependency>
534 <groupId>com.fasterxml.jackson.core</groupId>
535 <artifactId>jackson-core</artifactId>
536 <version>${fasterxml.jackson.version}</version>
537 </additionalDependency>
538 <additionalDependency>
539 <groupId>commons-lang</groupId>
540 <artifactId>commons-lang</artifactId>
541 <version>${commons.lang.version}</version>
542 </additionalDependency>
543 </additionalDependencies>
544 </configuration>
545 <reportSets>
546 <reportSet>
547 <reports>
548 <report>javadoc-no-fork</report>
549 <report>test-javadoc-no-fork</report>
550 </reports>
551 </reportSet>
552 <reportSet>
553 <id>aggregate</id>
554 <reports>
555 <report>aggregate</report>
556 <report>test-aggregate</report>
557 </reports>
558 </reportSet>
559 </reportSets>
560 </plugin>
561 <plugin>
562 <groupId>org.apache.maven.plugins</groupId>
563 <artifactId>maven-jxr-plugin</artifactId>
564 <version>2.3</version>
565 <reportSets>
566 <reportSet>
567 <id>aggregate</id>
568 <reports>
569 <report>aggregate</report>
570 <report>test-aggregate</report>
571 </reports>
572 </reportSet>
573 </reportSets>
574 </plugin>
575
576 <plugin>
577 <artifactId>maven-surefire-plugin</artifactId>
578 <version>2.17</version>
579 </plugin>
580 <plugin>
581 <groupId>org.apache.maven.plugins</groupId>
582 <artifactId>maven-changelog-plugin</artifactId>
583 <version>2.3</version>
584 <reportSets>
585 <reportSet>
586 <id>dual-report</id>
587 <configuration>
588 <type>range</type>
589 <range>30</range>
590 </configuration>
591 <reports>
592 <report>changelog</report>
593 <report>file-activity</report>
594 </reports>
595 </reportSet>
596 </reportSets>
597 </plugin>
598 <plugin>
599 <groupId>org.codehaus.mojo</groupId>
600 <artifactId>taglist-maven-plugin</artifactId>
601 <version>2.4</version>
602 </plugin>
603 </plugins>
604 </reporting>
605
606
607 <pluginRepositories>
608 <pluginRepository>
609 <id>onap-public</id>
610 <url>${onap.nexus.public-url}</url>
611 <releases>
612 <enabled>true</enabled>
613 </releases>
614 <snapshots>
615 <enabled>true</enabled>
616 </snapshots>
617 </pluginRepository>
618 <pluginRepository>
619 <id>onap-snapshot</id>
620 <url>${onap.nexus.snapshot-url}</url>
621 <releases>
622 <enabled>false</enabled>
623 </releases>
624 <snapshots>
625 <enabled>true</enabled>
626 </snapshots>
627 </pluginRepository>
628 <pluginRepository>
629 <id>opendaylight-mirror</id>
630 <name>opendaylight-mirror</name>
631 <url>${opendaylight.nexus.public-url}</url>
632 <releases>
633 <enabled>true</enabled>
634 <updatePolicy>never</updatePolicy>
635 </releases>
636 <snapshots>
637 <enabled>false</enabled>
638 </snapshots>
639 </pluginRepository>
640 <pluginRepository>
641 <id>opendaylight-snapshot</id>
642 <name>opendaylight-snapshot</name>
643 <url>${opendaylight.nexus.snapshot-url}</url>
644 <releases>
645 <enabled>false</enabled>
646 </releases>
647 <snapshots>
648 <enabled>true</enabled>
649 </snapshots>
650 </pluginRepository>
651 <!-- Black Duck plugin dependencies -->
652 <pluginRepository>
653 <id>JCenter</id>
654 <name>JCenter Repository</name>
655 <url>http://jcenter.bintray.com</url>
656 </pluginRepository>
657
658 <pluginRepository>
659 <id>Restlet</id>
660 <name>Restlet Repository</name>
661 <url>http://maven.restlet.com</url>
662 </pluginRepository>
663 </pluginRepositories>
664
665
666 <repositories>
667 <repository>
668 <id>onap-public</id>
669 <url>https://nexus.onap.org/content/groups/public</url>
670 <releases>
671 <enabled>true</enabled>
672 <updatePolicy>never</updatePolicy>
673 </releases>
674 <snapshots>
675 <enabled>true</enabled>
676 <updatePolicy>always</updatePolicy>
677 </snapshots>
678 </repository>
679 <repository>
680 <id>onap-staging</id>
681 <url>https://nexus.onap.org/content/groups/staging</url>
682 <releases>
683 <enabled>true</enabled>
684 <updatePolicy>never</updatePolicy>
685 </releases>
686 <snapshots>
687 <enabled>true</enabled>
688 <updatePolicy>always</updatePolicy>
689 </snapshots>
690 </repository>
691 <repository>
692 <id>ecomp-release</id>
693 <name>onap-repository-releases</name>
694 <url>https://nexus.onap.org/content/repositories/releases</url>
695 <releases>
696 <enabled>true</enabled>
697 <updatePolicy>never</updatePolicy>
698 </releases>
699 <snapshots>
700 <enabled>false</enabled>
701 </snapshots>
702 </repository>
703 <repository>
704 <id>ecomp-snapshot</id>
705 <name>onap-repository-snapshots</name>
706 <url>https://nexus.onap.org/content/repositories/snapshots</url>
707 <releases>
708 <enabled>false</enabled>
709 </releases>
710 <snapshots>
711 <enabled>true</enabled>
712 </snapshots>
713 </repository>
714 <repository>
715 <id>opendaylight-mirror</id>
716 <name>opendaylight-mirror</name>
717 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
718 <releases>
719 <enabled>true</enabled>
720 <updatePolicy>never</updatePolicy>
721 </releases>
722 <snapshots>
723 <enabled>false</enabled>
724 </snapshots>
725 </repository>
726 <repository>
727 <id>opendaylight-snapshot</id>
728 <name>opendaylight-snapshot</name>
729 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
730 <releases>
731 <enabled>false</enabled>
732 </releases>
733 <snapshots>
734 <enabled>true</enabled>
735 </snapshots>
736 </repository>
737
738 </repositories>
739
Dan Timoney45ddb6c2018-02-06 10:19:20 -0500740
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500741 <distributionManagement>
742 <repository>
743 <id>ecomp-releases</id>
Dan Timoney45ddb6c2018-02-06 10:19:20 -0500744 <url>http://nexus.onap.org/content/repositories/releases</url>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500745 </repository>
746 <snapshotRepository>
747 <id>ecomp-snapshots</id>
Dan Timoney45ddb6c2018-02-06 10:19:20 -0500748 <url>http://nexus.onap.org/content/repositories/snapshots</url>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500749 </snapshotRepository>
750 </distributionManagement>
751
752 <build>
753 <pluginManagement>
754 <plugins>
755
756 <!-- Plugins from ONAP oparent -->
757 <plugin>
758 <groupId>org.apache.maven.plugins</groupId>
759 <artifactId>maven-deploy-plugin</artifactId>
760 <!-- This version supports the "deployAtEnd" parameter -->
761 <version>2.8</version>
762 <configuration>
763 <skip />
764 </configuration>
765 </plugin>
766
767 <plugin>
768 <groupId>org.apache.maven.plugins</groupId>
769 <artifactId>maven-site-plugin</artifactId>
770 <version>3.6</version>
771 <dependencies>
772 <dependency>
773 <groupId>org.apache.maven.wagon</groupId>
774 <artifactId>wagon-webdav-jackrabbit</artifactId>
775 <version>2.10</version>
776 </dependency>
777 <dependency>
778 <groupId>org.apache.maven.doxia</groupId>
779 <artifactId>doxia-core</artifactId>
780 <version>1.7</version>
781 </dependency>
782 <dependency>
783 <groupId>org.apache.maven.doxia</groupId>
784 <artifactId>doxia-sink-api</artifactId>
785 <version>1.7</version>
786 </dependency>
787 <dependency>
788 <groupId>org.apache.maven.doxia</groupId>
789 <artifactId>doxia-logging-api</artifactId>
790 <version>1.7</version>
791 </dependency>
792 </dependencies>
793 <executions>
794 <execution>
795 <id>attach-descriptor</id>
796 <goals>
797 <goal>attach-descriptor</goal>
798 </goals>
799 </execution>
800 </executions>
801 </plugin>
802 <plugin>
803 <artifactId>maven-checkstyle-plugin</artifactId>
804 <version>2.17</version>
805 <dependencies>
806 <dependency>
807 <groupId>org.onap.oparent</groupId>
808 <artifactId>checkstyle</artifactId>
809 <version>1.1.0-SNAPSHOT</version>
810 </dependency>
811 </dependencies>
812 <executions>
813 <execution>
814 <id>check-license</id>
815 <goals>
816 <goal>check</goal>
817 </goals>
818 <phase>process-sources</phase>
819 <configuration>
820 <configLocation>onap-checkstyle/check-license.xml</configLocation>
821 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
822 <includeResources>false</includeResources>
823 <includeTestSourceDirectory>true</includeTestSourceDirectory>
824 <includeTestResources>false</includeTestResources>
825 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
826 <excludes>
827 </excludes>
828 <failsOnError>false</failsOnError>
829 <consoleOutput>true</consoleOutput>
830 </configuration>
831 </execution>
832 <execution>
833 <id>check-style</id>
834 <goals>
835 <goal>check</goal>
836 </goals>
837 <phase>process-sources</phase>
838 <configuration>
839 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
840 with minor changes -->
841 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
842 <!-- <sourceDirectory> is needed so that
843 checkstyle ignores the generated sources directory -->
844 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
845 <includeResources>true</includeResources>
846 <includeTestSourceDirectory>true</includeTestSourceDirectory>
847 <includeTestResources>true</includeTestResources>
848 <excludes>
849 </excludes>
850 <failsOnError>false</failsOnError>
851 <consoleOutput>true</consoleOutput>
852 </configuration>
853 </execution>
854 </executions>
855 </plugin>
856 <plugin>
857 <groupId>org.jacoco</groupId>
858 <artifactId>jacoco-maven-plugin</artifactId>
859 <version>${jacoco.version}</version>
860 <configuration>
861 <!-- Note: This exclusion list should match <sonar.exclusions>
862 property above -->
863 <excludes>
864 <exclude>**/gen/**</exclude>
865 <exclude>**/generated-sources/**</exclude>
866 <exclude>**/yang-gen/**</exclude>
867 <exclude>**/pax/**</exclude>
868 </excludes>
869 </configuration>
870 <executions>
871 <!-- Prepares the property pointing to the JaCoCo
872 runtime agent which is passed as VM argument when Maven the Surefire plugin
873 is executed. -->
874 <execution>
875 <id>pre-unit-test</id>
876 <goals>
877 <goal>prepare-agent</goal>
878 </goals>
879 <configuration>
880 <!-- Sets the path to the file which contains
881 the execution data. -->
882 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
883 <!-- Sets the name of the property containing
884 the settings for JaCoCo runtime agent. -->
885 <propertyName>surefireArgLine</propertyName>
886 </configuration>
887 </execution>
888 <!-- Ensures that the code coverage report for unit
889 tests is created after unit tests have been run. -->
890 <execution>
891 <id>post-unit-test</id>
892 <phase>test</phase>
893 <goals>
894 <goal>report</goal>
895 </goals>
896 <configuration>
897 <!-- Sets the path to the file which contains
898 the execution data. -->
899 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
900 <!-- Sets the output directory for the code
901 coverage report. -->
902 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
903 </configuration>
904 </execution>
905 <execution>
906 <id>pre-integration-test</id>
907 <phase>pre-integration-test</phase>
908 <goals>
909 <goal>prepare-agent</goal>
910 </goals>
911 <configuration>
912 <!-- Sets the path to the file which contains
913 the execution data. -->
914 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
915 <!-- Sets the name of the property containing
916 the settings for JaCoCo runtime agent. -->
917 <propertyName>failsafeArgLine</propertyName>
918 </configuration>
919 </execution>
920 <!-- Ensures that the code coverage report for integration
921 tests after integration tests have been run. -->
922 <execution>
923 <id>post-integration-test</id>
924 <phase>post-integration-test</phase>
925 <goals>
926 <goal>report</goal>
927 </goals>
928 <configuration>
929 <!-- Sets the path to the file which contains
930 the execution data. -->
931 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
932 <!-- Sets the output directory for the code
933 coverage report. -->
934 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
935 </configuration>
936 </execution>
937 </executions>
938 </plugin>
939 <plugin>
940 <groupId>org.apache.maven.plugins</groupId>
941 <artifactId>maven-surefire-plugin</artifactId>
942 <version>2.19.1</version>
943 <configuration>
944 <!-- Sets the VM argument line used when unit tests
945 are run. -->
946 <argLine>${surefireArgLine}</argLine>
947 <!-- Excludes integration tests when unit tests are
948 run. -->
949 <excludes>
950 <exclude>**/IT*.java</exclude>
951 </excludes>
952 </configuration>
953 </plugin>
954 <plugin>
955 <groupId>org.apache.maven.plugins</groupId>
956 <artifactId>maven-failsafe-plugin</artifactId>
957 <version>2.19.1</version>
958 <executions>
959 <!-- Ensures that both integration-test and verify
960 goals of the Failsafe Maven plugin are executed. -->
961 <execution>
962 <id>integration-tests</id>
963 <goals>
964 <goal>integration-test</goal>
965 <goal>verify</goal>
966 </goals>
967 <configuration>
968 <!-- Sets the VM argument line used when
969 integration tests are run. -->
970 <argLine>${failsafeArgLine}</argLine>
971 </configuration>
972 </execution>
973 </executions>
974 </plugin>
975 <plugin>
976 <groupId>org.apache.maven.plugins</groupId>
977 <artifactId>maven-compiler-plugin</artifactId>
978 <version>${maven.compile.plugin.version}</version>
979 <configuration>
980 <source>${java.version.source}</source>
981 <target>${java.version.target}</target>
982 </configuration>
983 </plugin>
984 <plugin>
985 <groupId>org.sonarsource.scanner.maven</groupId>
986 <artifactId>sonar-maven-plugin</artifactId>
987 <version>3.3.0.603</version>
988 </plugin>
989
990 <!-- End of plugins from ONAP oparent -->
991
992 <plugin>
993 <groupId>org.apache.maven.plugins</groupId>
994 <artifactId>maven-javadoc-plugin</artifactId>
995 <version>2.10</version>
996 <configuration>
997 <additionalDependencies>
998 <additionalDependency>
999 <groupId>org.slf4j</groupId>
1000 <artifactId>slf4j-api</artifactId>
1001 <version>${slf4j.version}</version>
1002 </additionalDependency>
1003 <additionalDependency>
1004 <groupId>org.antlr</groupId>
1005 <artifactId>antlr4</artifactId>
1006 <version>${antlr.version}</version>
1007 </additionalDependency>
1008 <additionalDependency>
1009 <groupId>org.antlr</groupId>
1010 <artifactId>antlr4-runtime</artifactId>
1011 <version>${antlr.version}</version>
1012 </additionalDependency>
1013
1014 <additionalDependency>
1015 <groupId>com.sun.jersey</groupId>
1016 <artifactId>jersey-client</artifactId>
1017 <version>${jersey.client.version}</version>
1018 </additionalDependency>
1019 <additionalDependency>
1020 <groupId>com.sun.jersey</groupId>
1021 <artifactId>jersey-core</artifactId>
1022 <version>${jersey.version}</version>
1023 </additionalDependency>
1024 <additionalDependency>
1025 <groupId>org.apache.httpcomponents</groupId>
1026 <artifactId>httpcore-osgi</artifactId>
1027 <version>${apache.httpcomponents.core.version}</version>
1028 </additionalDependency>
1029 <additionalDependency>
1030 <groupId>org.apache.httpcomponents</groupId>
1031 <artifactId>httpclient-osgi</artifactId>
1032 <version>${apache.httpcomponents.client.version}</version>
1033 </additionalDependency>
1034 <additionalDependency>
1035 <groupId>com.fasterxml.jackson.core</groupId>
1036 <artifactId>jackson-databind</artifactId>
1037 <version>${jackson.version}</version>
1038 </additionalDependency>
1039 <additionalDependency>
1040 <groupId>com.fasterxml.jackson.core</groupId>
1041 <artifactId>jackson-annotations</artifactId>
1042 <version>${jackson.version}</version>
1043 </additionalDependency>
1044 <additionalDependency>
1045 <groupId>com.fasterxml.jackson.core</groupId>
1046 <artifactId>jackson-core</artifactId>
1047 <version>${jackson.version}</version>
1048 </additionalDependency>
1049 <additionalDependency>
1050 <groupId>commons-lang</groupId>
1051 <artifactId>commons-lang</artifactId>
1052 <version>${commons.lang.version}</version>
1053 </additionalDependency>
1054 </additionalDependencies>
1055 </configuration>
1056
1057 <executions>
1058 <execution>
1059 <id>aggregate</id>
1060 <goals>
1061 <goal>aggregate</goal>
1062 </goals>
1063 <phase>site</phase>
1064
1065 </execution>
1066 </executions>
1067 </plugin>
1068 <plugin>
1069 <artifactId>maven-source-plugin</artifactId>
1070 <version>2.1.1</version>
1071 <executions>
1072 <execution>
1073 <id>bundle-sources</id>
1074 <phase>package</phase>
1075 <goals>
1076 <!-- produce source artifact for main project
1077 sources -->
1078 <goal>jar-no-fork</goal>
1079
1080 <!-- produce source artifact for project
1081 test sources -->
1082 <goal>test-jar-no-fork</goal>
1083 </goals>
1084 </execution>
1085 </executions>
1086 </plugin>
1087
1088
1089 </plugins>
1090
1091 </pluginManagement>
1092
1093 <plugins>
1094 <!-- Plugins from ONAP oparent -->
1095 <plugin>
1096 <artifactId>maven-checkstyle-plugin</artifactId>
1097 </plugin>
1098 <plugin>
1099 <groupId>org.codehaus.mojo</groupId>
1100 <artifactId>build-helper-maven-plugin</artifactId>
1101 <version>1.12</version>
1102 </plugin>
1103 <!-- Jacoco / Sonar -->
1104 <plugin>
1105 <groupId>org.jacoco</groupId>
1106 <artifactId>jacoco-maven-plugin</artifactId>
1107 </plugin>
1108 <plugin>
1109 <groupId>org.apache.maven.plugins</groupId>
1110 <artifactId>maven-surefire-plugin</artifactId>
1111 </plugin>
1112 <plugin>
1113 <groupId>org.apache.maven.plugins</groupId>
1114 <artifactId>maven-failsafe-plugin</artifactId>
1115 </plugin>
1116
1117 <!-- End of plugins from ONAP oparent -->
1118 <plugin>
1119 <groupId>org.codehaus.mojo</groupId>
1120 <artifactId>properties-maven-plugin</artifactId>
1121 <version>1.0.0</version>
1122 <executions>
1123 <execution>
1124 <goals>
1125 <goal>set-system-properties</goal>
1126 </goals>
1127 <configuration>
1128 <properties>
1129 <property>
1130 <name>maven.wagon.http.ssl.allowall</name>
1131 <value>${ssl.allowall}</value>
1132 </property>
1133 <property>
1134 <name>maven.wagon.http.ssl.insecure</name>
1135 <value>${ssl.insecure}</value>
1136 </property>
1137 </properties>
1138 </configuration>
1139 </execution>
1140 </executions>
1141 </plugin>
1142 <plugin>
1143 <groupId>org.sonatype.plugins</groupId>
1144 <artifactId>nexus-staging-maven-plugin</artifactId>
1145 <version>1.6.7</version>
1146 <extensions>true</extensions>
1147 <configuration>
1148 <nexusUrl>${onap.nexus.url}</nexusUrl>
1149 <stagingProfileId>176c31dfe190a</stagingProfileId>
1150 <serverId>ecomp-staging</serverId>
1151 </configuration>
1152 </plugin>
1153 <plugin>
1154 <groupId>org.codehaus.mojo</groupId>
1155 <artifactId>versions-maven-plugin</artifactId>
Dan Timoney1f55bc82018-02-12 10:35:37 -05001156 <version>2.5</version>
1157 <configuration>
1158 <processAllModules>true</processAllModules>
1159 </configuration>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001160 </plugin>
1161 <plugin>
1162 <artifactId>maven-scm-plugin</artifactId>
1163 <version>1.8.1</version>
1164 <configuration>
1165 <tag>${project.artifactId}-${project.version}</tag>
1166 </configuration>
1167 </plugin>
1168 </plugins>
1169 </build>
1170 <organization>
1171 <name>ONAP</name>
1172 </organization>
1173</project>