blob: f73f02946b17d3f2cc98fd89be155e0ec7a030a6 [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>bundle-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.odlparent</groupId>
14 <artifactId>bundle-parent</artifactId>
15 <version>2.0.4</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 -->
Timoney, Dan (dt5972)d6cc55a2018-03-05 19:09:59 -050044 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050045 <!-- Note: This list should match jacoco-maven-plugin's exclusion
46 list below -->
47 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
48 <!-- If following file exist, auto-generation of swagger.json will
49 be done -->
50 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
51 <!-- If following file exist, auto-generation of sdk will be done -->
52 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
53 <!--- end of properties from oparent -->
54
55 <!-- ONAP repositories -->
56 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
57 <onap.nexus.port>443</onap.nexus.port>
58 <onap.nexus.protocol>https</onap.nexus.protocol>
59 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
60 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
61 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
62 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
63 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
64 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
65
66
67 <!-- OpenDaylight repositories -->
68 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
69 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
70
71
72 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
73 <java.version.source>1.8</java.version.source>
74 <java.version.target>1.8</java.version.target>
75 <bundle.plugin.version>2.5.0</bundle.plugin.version>
76 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
77 <features.file>features.xml</features.file>
78 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
79 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
80 <checkstyle.skip>true</checkstyle.skip>
81
82
83 <sonar.language>java</sonar.language>
84 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
85 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050086 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
87 <sonar.projectVersion>${project.version}</sonar.projectVersion>
88
89
90
91
92 <!-- CCSDK component versions -->
Dan Timoney3e77e072018-02-08 15:36:37 -050093 <ccsdk.sli.core.version>0.2.1-SNAPSHOT</ccsdk.sli.core.version>
94 <ccsdk.sli.adaptors.version>0.2.1-SNAPSHOT</ccsdk.sli.adaptors.version>
95 <ccsdk.sli.northbound.version>0.2.1-SNAPSHOT</ccsdk.sli.northbound.version>
96 <ccsdk.sli.plugins.version>0.2.1-SNAPSHOT</ccsdk.sli.plugins.version>
Timoney, Dan (dt5972)b02ff952018-03-05 11:01:26 -050097 <ccsdl.distribution.version>0.2.1-SNAPSHOT</ccsdl.distribution.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050098 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
99 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
100 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
101 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
102 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
103
Timoney, Dan (dt5972)b02ff952018-03-05 11:01:26 -0500104
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500105 <!-- Support libraries used by OpenDaylight -->
Timoney, Dan (dt5972)b02ff952018-03-05 11:01:26 -0500106 <odl.mdsal.version>1.6.1</odl.mdsal.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500107 <!-- Used by aaa, vtn -->
108 <commons.codec.version>1.10</commons.codec.version>
109 <!-- Used by netconf, ovsdb -->
Dan Timoneyf680cc62018-02-15 10:09:28 -0500110 <commons.lang3.version>3.6</commons.lang3.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500111 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
112 <commons.lang.version>2.6</commons.lang.version>
113 <!-- Used by neutron; see also controller, vtn -->
Dan Timoneyf680cc62018-02-15 10:09:28 -0500114 <commons.net.version>3.6</commons.net.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500115 <!-- Used by neutron -->
116 <eclipse.persistence.version>2.6.2</eclipse.persistence.version>
117 <!-- Used by aaa -->
118 <felix.dependencymanager.version>4.3.0</felix.dependencymanager.version>
119 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
Dan Timoneyf680cc62018-02-15 10:09:28 -0500120 <gson.version>2.7</gson.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500121 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
Dan Timoneyf680cc62018-02-15 10:09:28 -0500122 <guava.version>22.0</guava.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500123 <!-- Used by lispflowmapping, sxp, vtn/manager -->
124 <hamcrest.version>1.3</hamcrest.version>
125 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
126 integration/distribution, snmp4sdn, toolkit, ttp -->
127 <jackson.version>2.3.2</jackson.version>
128 <!-- Used by snmp4sdn, yangtools -->
129 <javassist.version>3.20.0-GA</javassist.version>
130
131 <!-- FIXME remove all dependencies for jersey 1.17 after migration
132 all projects -->
133 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity,
134 defense4all, snmp4sdn, toolkit -->
135 <jersey.version>1.17</jersey.version>
136 <!-- Used by sfc -->
137 <jersey.client.version>1.17</jersey.client.version>
138
139 <!-- New packages for jersey migration 1.17 to 2.8 -->
140 <!-- appache.geronimo.bundle for DocGen -->
141 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
142 <org.json.version>20131018</org.json.version>
143
144 <!-- Used by sfc -->
Dan Timoneyf680cc62018-02-15 10:09:28 -0500145 <jettison.version>1.3.7</jettison.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500146 <!-- Used by persistence -->
147 <jsr305.api.version>3.0.0</jsr305.api.version>
148 <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560
149 is fixed (either in PowerMock or with a new JUnit release) -->
150 <!-- Used everywhere -->
151 <junit.version>4.11</junit.version>
152 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity,
153 toolkit -->
Dan Timoneyf680cc62018-02-15 10:09:28 -0500154 <logback.version>1.2.2</logback.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500155 <!-- Used by nic, sfc, sxp, tsdr -->
156 <mockito.version>1.10.19</mockito.version>
157 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
Dan Timoneyf680cc62018-02-15 10:09:28 -0500158 <netty.version>4.1.8.Final</netty.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500159 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also
160 affinity, toolkit -->
161 <slf4j.version>1.7.21</slf4j.version>
162 <!-- Used in integration/distribution; see also affinity, snmp4sdn,
163 toolkit, tsdr, ttp -->
Timoney, Dan (dt5972)04922652018-03-09 14:14:12 -0500164 <spring.version>3.2.17.RELEASE</spring.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500165
166
167
168 <!-- Extra support libraries used by SDN-C -->
169 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
170 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
171 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
Dan Timoneyf680cc62018-02-15 10:09:28 -0500172 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
173 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
Timoney, Dan (dt5972)b02ff952018-03-05 11:01:26 -0500174 <antlr.version>4.7</antlr.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500175 <mysql.connector.version>5.1.39</mysql.connector.version>
176 <mariadb.connector.version>2.1.1</mariadb.connector.version>
177 <h2database.version>1.4.186</h2database.version>
178
179 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
180 </properties>
181
182
183 <profiles>
184 <!-- Profiles from ONAP oparent -->
185 <profile>
186 <id>generate-json</id>
187 <activation>
188 <file>
189 <exists>${swagger-properties}</exists>
190 </file>
191 <property>
192 <name>swagger-sdk.generate-json</name>
193 </property>
194 </activation>
195 <build>
196 <plugins>
197 <plugin>
198 <groupId>org.codehaus.mojo</groupId>
199 <artifactId>properties-maven-plugin</artifactId>
200 <version>1.0.0</version>
201 <executions>
202 <execution>
203 <phase>initialize</phase>
204 <goals>
205 <goal>read-project-properties</goal>
206 </goals>
207 <configuration>
208 <files>
209 <file>${basedir}/src/main/resources/swagger.properties</file>
210 </files>
211 </configuration>
212 </execution>
213 </executions>
214 </plugin>
215 <plugin>
216 <groupId>com.github.kongchen</groupId>
217 <artifactId>swagger-maven-plugin</artifactId>
218 <version>3.1.4</version>
219 <configuration>
220 <apiSources>
221 <apiSource>
222 <locations>${api-rest-package}</locations>
223 <schemes>http,https</schemes>
224 <host>${api-host-ip}:${api-host-port}</host>
225 <basePath>${api-base-path}</basePath>
226 <info>
227 <title>${api-title}</title>
228 <version>${api-version}</version>
229 <description>${api-description}</description>
230 <license>
231 <name>${api-license}</name>
232 </license>
233 </info>
234 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
235 </apiSource>
236 </apiSources>
237 </configuration>
238 <executions>
239 <execution>
240 <phase>compile</phase>
241 <goals>
242 <goal>generate</goal>
243 </goals>
244 </execution>
245 </executions>
246 </plugin>
247 <plugin>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-install-plugin</artifactId>
250 <version>2.3.1</version>
251 <executions>
252 <execution>
253 <id>install-file-id</id>
254 <phase>install</phase>
255 <goals>
256 <goal>install-file</goal>
257 </goals>
258 <configuration>
259 <file>${basedir}/src/main/resources/swagger.json</file>
260 <groupId>${project.groupId}</groupId>
261 <artifactId>${project.artifactId}-swagger-schema</artifactId>
262 <version>${project.version}</version>
263 <packaging>json</packaging>
264 </configuration>
265 </execution>
266 </executions>
267 </plugin>
268 </plugins>
269 </build>
270 </profile>
271 <profile>
272 <id>generate-sdk</id>
273 <activation>
274 <file>
275 <exists>${swagger-json}</exists>
276 </file>
277 <property>
278 <name>swagger-sdk.generate-java-sdk</name>
279 </property>
280 </activation>
281 <build>
282 <plugins>
283 <plugin>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-antrun-plugin</artifactId>
286 <version>1.8</version>
287 <executions>
288 <execution>
289 <phase>initialize</phase>
290 <id>ant-create-script</id>
291 <configuration>
292 <exportAntProperties>true</exportAntProperties>
293 <tasks>
294
295 <taskdef
296 resource="net/sf/antcontrib/antlib.xml"
297 classpathref="maven.plugin.classpath" />
298 <condition property="is_windows"
299 value="true">
300 <os family="windows" />
301 </condition>
302 <condition property="isLinux"
303 value="true">
304 <os family="unix" />
305 </condition>
306 <if>
307 <equals arg1="${is_windows}"
308 arg2="true" />
309 <then>
310 <property
311 name="swagger.sdk.script.file"
312 value="generated-source-script.bat" />
313 <echo
314 file="${project.build.directory}${file.separator}generated-source-script.bat"
315 append="true"
316 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
317 <echo
318 file="${project.build.directory}${file.separator}generated-source-script.bat"
319 append="true"
320 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
321 </then>
322 <else>
323 <property
324 name="swagger.sdk.script.file"
325 value="generated-source-script.sh" />
326 <echo
327 file="${project.build.directory}${file.separator}generated-source-script.sh"
328 append="true"
329 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
330 <echo
331 file="${project.build.directory}${file.separator}generated-source-script.sh"
332 append="true"
333 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
334 <chmod
335 file="${project.build.directory}${file.separator}generated-source-script.sh"
336 perm="755" />
337 </else>
338 </if>
339 </tasks>
340 </configuration>
341 <goals>
342 <goal>run</goal>
343 </goals>
344 </execution>
345 </executions>
346 <dependencies>
347 <dependency>
348 <groupId>ant-contrib</groupId>
349 <artifactId>ant-contrib</artifactId>
350 <version>1.0b3</version>
351 <exclusions>
352 <exclusion>
353 <artifactId>ant</artifactId>
354 <groupId>ant</groupId>
355 </exclusion>
356 </exclusions>
357 </dependency>
358 </dependencies>
359 </plugin>
360 <plugin>
361 <groupId>io.swagger</groupId>
362 <artifactId>swagger-codegen-maven-plugin</artifactId>
363 <version>2.2.1</version>
364 <executions>
365 <execution>
366 <goals>
367 <goal>generate</goal>
368 </goals>
369 <configuration>
370 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
371 <output>${project.build.directory}/generated-sources</output>
372 <language>java</language>
373 <configOptions>
374 <dateLibrary>joda</dateLibrary>
375 </configOptions>
376 <library>jersey2</library>
377 <groupId>${project.groupId}</groupId>
378 <artifactId>${project.artifactId}-java-sdk</artifactId>
379 <artifactVersion>${project.version}</artifactVersion>
380 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
381 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
382 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
383 </configuration>
384 </execution>
385 </executions>
386 </plugin>
387 <plugin>
388 <artifactId>exec-maven-plugin</artifactId>
389 <groupId>org.codehaus.mojo</groupId>
390 <version>1.5.0</version>
391 <executions>
392 <execution>
393 <id>swagger-generate-sources</id>
394 <phase>generate-sources</phase>
395 <goals>
396 <goal>exec</goal>
397 </goals>
398 <configuration>
399 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
400 </configuration>
401 </execution>
402 </executions>
403 </plugin>
404 <plugin>
405 <groupId>org.apache.maven.plugins</groupId>
406 <artifactId>maven-clean-plugin</artifactId>
407 <version>3.0.0</version>
408 <executions>
409 <execution>
410 <id>clean-generated-files</id>
411 <phase>generate-sources</phase>
412 <goals>
413 <goal>clean</goal>
414 </goals>
415 <configuration>
416 <filesets>
417 <fileset>
418 <directory>${project.build.directory}/generated-sources</directory>
419 </fileset>
420 </filesets>
421 </configuration>
422 </execution>
423 </executions>
424 </plugin>
425 </plugins>
426 </build>
427 <dependencies>
428 <dependency>
429 <groupId>org.onap.msb.swagger-sdk</groupId>
430 <artifactId>swagger-sdk</artifactId>
431 <version>1.0.0</version>
432 </dependency>
433 </dependencies>
434 </profile>
435
436 <!-- End of profiles from ONAP oparent -->
437
438 </profiles>
439
440
441 <dependencyManagement>
442 <dependencies>
443 <dependency>
444 <groupId>org.onap.sdnc.core</groupId>
445 <artifactId>sli-common</artifactId>
446 <version>${sdnctl.sli.version}</version>
447 </dependency>
448
449 <dependency>
450 <groupId>org.onap.sdnc.core</groupId>
451 <artifactId>sli-provider</artifactId>
452 <version>${sdnctl.sli.version}</version>
453 </dependency>
454
455 <dependency>
456 <groupId>org.onap.sdnc.core</groupId>
457 <artifactId>aai-service-provider</artifactId>
458 <version>${sdnctl.aai.service.version}</version>
459 </dependency>
460
461 <dependency>
462 <groupId>org.onap.sdnc.core</groupId>
463 <artifactId>dblib-provider</artifactId>
464 <version>${sdnctl.dblib.version}</version>
465 </dependency>
466 </dependencies>
467
468 </dependencyManagement>
469
470
471 <reporting>
472 <plugins>
473 <plugin>
474 <artifactId>maven-javadoc-plugin</artifactId>
475 <version>2.10.4</version>
476 <configuration>
477 <failOnError>false</failOnError>
478 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
479 <docletArtifact>
480 <groupId>org.umlgraph</groupId>
481 <artifactId>umlgraph</artifactId>
482 <version>5.6</version>
483 </docletArtifact>
484 <additionalparam>-views</additionalparam>
485 <useStandardDocletOptions>true</useStandardDocletOptions>
486 <excludePackageNames>org.opendaylight.*</excludePackageNames>
487 <additionalDependencies>
488 <additionalDependency>
489 <groupId>org.slf4j</groupId>
490 <artifactId>slf4j-api</artifactId>
491 <version>${slf4j.version}</version>
492 </additionalDependency>
493 <additionalDependency>
494 <groupId>org.antlr</groupId>
495 <artifactId>antlr4</artifactId>
496 <version>${antlr.version}</version>
497 </additionalDependency>
498 <additionalDependency>
499 <groupId>org.antlr</groupId>
500 <artifactId>antlr4-runtime</artifactId>
501 <version>${antlr.version}</version>
502 </additionalDependency>
503
504 <additionalDependency>
505 <groupId>com.sun.jersey</groupId>
506 <artifactId>jersey-client</artifactId>
507 <version>${jersey.json.version}</version>
508 </additionalDependency>
509 <additionalDependency>
510 <groupId>com.sun.jersey</groupId>
511 <artifactId>jersey-core</artifactId>
512 <version>${jersey.json.version}</version>
513 </additionalDependency>
514 <additionalDependency>
515 <groupId>org.apache.httpcomponents</groupId>
516 <artifactId>httpcore-osgi</artifactId>
517 <version>${apache.httpcomponents.core.version}</version>
518 </additionalDependency>
519 <additionalDependency>
520 <groupId>org.apache.httpcomponents</groupId>
521 <artifactId>httpclient-osgi</artifactId>
522 <version>${apache.httpcomponents.client.version}</version>
523 </additionalDependency>
524 <additionalDependency>
525 <groupId>com.fasterxml.jackson.core</groupId>
526 <artifactId>jackson-databind</artifactId>
527 <version>${fasterxml.jackson.version}</version>
528 </additionalDependency>
529 <additionalDependency>
530 <groupId>com.fasterxml.jackson.core</groupId>
531 <artifactId>jackson-annotations</artifactId>
532 <version>${fasterxml.jackson.version}</version>
533 </additionalDependency>
534 <additionalDependency>
535 <groupId>com.fasterxml.jackson.core</groupId>
536 <artifactId>jackson-core</artifactId>
537 <version>${fasterxml.jackson.version}</version>
538 </additionalDependency>
539 <additionalDependency>
540 <groupId>commons-lang</groupId>
541 <artifactId>commons-lang</artifactId>
542 <version>${commons.lang.version}</version>
543 </additionalDependency>
544 </additionalDependencies>
545 </configuration>
546 <reportSets>
547 <reportSet>
548 <reports>
549 <report>javadoc-no-fork</report>
550 <report>test-javadoc-no-fork</report>
551 </reports>
552 </reportSet>
553 <reportSet>
554 <id>aggregate</id>
555 <reports>
556 <report>aggregate</report>
557 <report>test-aggregate</report>
558 </reports>
559 </reportSet>
560 </reportSets>
561 </plugin>
562 <plugin>
563 <groupId>org.apache.maven.plugins</groupId>
564 <artifactId>maven-jxr-plugin</artifactId>
565 <version>2.3</version>
566 <reportSets>
567 <reportSet>
568 <id>aggregate</id>
569 <reports>
570 <report>aggregate</report>
571 <report>test-aggregate</report>
572 </reports>
573 </reportSet>
574 </reportSets>
575 </plugin>
576
577 <plugin>
578 <artifactId>maven-surefire-plugin</artifactId>
579 <version>2.17</version>
580 </plugin>
581 <plugin>
582 <groupId>org.apache.maven.plugins</groupId>
583 <artifactId>maven-changelog-plugin</artifactId>
584 <version>2.3</version>
585 <reportSets>
586 <reportSet>
587 <id>dual-report</id>
588 <configuration>
589 <type>range</type>
590 <range>30</range>
591 </configuration>
592 <reports>
593 <report>changelog</report>
594 <report>file-activity</report>
595 </reports>
596 </reportSet>
597 </reportSets>
598 </plugin>
599 <plugin>
600 <groupId>org.codehaus.mojo</groupId>
601 <artifactId>taglist-maven-plugin</artifactId>
602 <version>2.4</version>
603 </plugin>
604 </plugins>
605 </reporting>
606
607
608 <pluginRepositories>
609 <pluginRepository>
610 <id>onap-public</id>
611 <url>${onap.nexus.public-url}</url>
612 <releases>
613 <enabled>true</enabled>
614 </releases>
615 <snapshots>
616 <enabled>true</enabled>
617 </snapshots>
618 </pluginRepository>
619 <pluginRepository>
620 <id>onap-snapshot</id>
621 <url>${onap.nexus.snapshot-url}</url>
622 <releases>
623 <enabled>false</enabled>
624 </releases>
625 <snapshots>
626 <enabled>true</enabled>
627 </snapshots>
628 </pluginRepository>
629 <pluginRepository>
630 <id>opendaylight-mirror</id>
631 <name>opendaylight-mirror</name>
632 <url>${opendaylight.nexus.public-url}</url>
633 <releases>
634 <enabled>true</enabled>
635 <updatePolicy>never</updatePolicy>
636 </releases>
637 <snapshots>
638 <enabled>false</enabled>
639 </snapshots>
640 </pluginRepository>
641 <pluginRepository>
642 <id>opendaylight-snapshot</id>
643 <name>opendaylight-snapshot</name>
644 <url>${opendaylight.nexus.snapshot-url}</url>
645 <releases>
646 <enabled>false</enabled>
647 </releases>
648 <snapshots>
649 <enabled>true</enabled>
650 </snapshots>
651 </pluginRepository>
652 <!-- Black Duck plugin dependencies -->
653 <pluginRepository>
654 <id>JCenter</id>
655 <name>JCenter Repository</name>
656 <url>http://jcenter.bintray.com</url>
657 </pluginRepository>
658
659 <pluginRepository>
660 <id>Restlet</id>
661 <name>Restlet Repository</name>
662 <url>http://maven.restlet.com</url>
663 </pluginRepository>
664 </pluginRepositories>
665
666
667 <repositories>
668 <repository>
669 <id>onap-public</id>
670 <url>https://nexus.onap.org/content/groups/public</url>
671 <releases>
672 <enabled>true</enabled>
673 <updatePolicy>never</updatePolicy>
674 </releases>
675 <snapshots>
676 <enabled>true</enabled>
677 <updatePolicy>always</updatePolicy>
678 </snapshots>
679 </repository>
680 <repository>
681 <id>onap-staging</id>
682 <url>https://nexus.onap.org/content/groups/staging</url>
683 <releases>
684 <enabled>true</enabled>
685 <updatePolicy>never</updatePolicy>
686 </releases>
687 <snapshots>
688 <enabled>true</enabled>
689 <updatePolicy>always</updatePolicy>
690 </snapshots>
691 </repository>
692 <repository>
693 <id>ecomp-release</id>
694 <name>onap-repository-releases</name>
695 <url>https://nexus.onap.org/content/repositories/releases</url>
696 <releases>
697 <enabled>true</enabled>
698 <updatePolicy>never</updatePolicy>
699 </releases>
700 <snapshots>
701 <enabled>false</enabled>
702 </snapshots>
703 </repository>
704 <repository>
705 <id>ecomp-snapshot</id>
706 <name>onap-repository-snapshots</name>
707 <url>https://nexus.onap.org/content/repositories/snapshots</url>
708 <releases>
709 <enabled>false</enabled>
710 </releases>
711 <snapshots>
712 <enabled>true</enabled>
713 </snapshots>
714 </repository>
715 <repository>
716 <id>opendaylight-mirror</id>
717 <name>opendaylight-mirror</name>
718 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
719 <releases>
720 <enabled>true</enabled>
721 <updatePolicy>never</updatePolicy>
722 </releases>
723 <snapshots>
724 <enabled>false</enabled>
725 </snapshots>
726 </repository>
727 <repository>
728 <id>opendaylight-snapshot</id>
729 <name>opendaylight-snapshot</name>
730 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
731 <releases>
732 <enabled>false</enabled>
733 </releases>
734 <snapshots>
735 <enabled>true</enabled>
736 </snapshots>
737 </repository>
738
739 </repositories>
740
741 <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>