blob: e5f0ab7c8b47690f9972867f8b2f56f8c0b20b06 [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
Timoney, Dan (dt5972)b02ff952018-03-05 11:01:26 -050030 <properties>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050031
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)eb6e45d2018-03-15 14:08:32 -040097 <ccsdk.distribution.version>0.2.1-SNAPSHOT</ccsdk.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
Dan Timoney45ddb6c2018-02-06 10:19:20 -0500741
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500742 <distributionManagement>
743 <repository>
744 <id>ecomp-releases</id>
Dan Timoney45ddb6c2018-02-06 10:19:20 -0500745 <url>http://nexus.onap.org/content/repositories/releases</url>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500746 </repository>
747 <snapshotRepository>
748 <id>ecomp-snapshots</id>
Dan Timoney45ddb6c2018-02-06 10:19:20 -0500749 <url>http://nexus.onap.org/content/repositories/snapshots</url>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500750 </snapshotRepository>
751 </distributionManagement>
752
753 <build>
754 <pluginManagement>
755 <plugins>
756
757 <!-- Plugins from ONAP oparent -->
758 <plugin>
759 <groupId>org.apache.maven.plugins</groupId>
760 <artifactId>maven-deploy-plugin</artifactId>
761 <!-- This version supports the "deployAtEnd" parameter -->
762 <version>2.8</version>
763 <configuration>
764 <skip />
765 </configuration>
766 </plugin>
767
768 <plugin>
769 <groupId>org.apache.maven.plugins</groupId>
770 <artifactId>maven-site-plugin</artifactId>
771 <version>3.6</version>
772 <dependencies>
773 <dependency>
774 <groupId>org.apache.maven.wagon</groupId>
775 <artifactId>wagon-webdav-jackrabbit</artifactId>
776 <version>2.10</version>
777 </dependency>
778 <dependency>
779 <groupId>org.apache.maven.doxia</groupId>
780 <artifactId>doxia-core</artifactId>
781 <version>1.7</version>
782 </dependency>
783 <dependency>
784 <groupId>org.apache.maven.doxia</groupId>
785 <artifactId>doxia-sink-api</artifactId>
786 <version>1.7</version>
787 </dependency>
788 <dependency>
789 <groupId>org.apache.maven.doxia</groupId>
790 <artifactId>doxia-logging-api</artifactId>
791 <version>1.7</version>
792 </dependency>
793 </dependencies>
794 <executions>
795 <execution>
796 <id>attach-descriptor</id>
797 <goals>
798 <goal>attach-descriptor</goal>
799 </goals>
800 </execution>
801 </executions>
802 </plugin>
803 <plugin>
804 <artifactId>maven-checkstyle-plugin</artifactId>
805 <version>2.17</version>
806 <dependencies>
807 <dependency>
808 <groupId>org.onap.oparent</groupId>
809 <artifactId>checkstyle</artifactId>
810 <version>1.1.0-SNAPSHOT</version>
811 </dependency>
812 </dependencies>
813 <executions>
814 <execution>
815 <id>check-license</id>
816 <goals>
817 <goal>check</goal>
818 </goals>
819 <phase>process-sources</phase>
820 <configuration>
821 <configLocation>onap-checkstyle/check-license.xml</configLocation>
822 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
823 <includeResources>false</includeResources>
824 <includeTestSourceDirectory>true</includeTestSourceDirectory>
825 <includeTestResources>false</includeTestResources>
826 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
827 <excludes>
828 </excludes>
829 <failsOnError>false</failsOnError>
830 <consoleOutput>true</consoleOutput>
831 </configuration>
832 </execution>
833 <execution>
834 <id>check-style</id>
835 <goals>
836 <goal>check</goal>
837 </goals>
838 <phase>process-sources</phase>
839 <configuration>
840 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
841 with minor changes -->
842 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
843 <!-- <sourceDirectory> is needed so that
844 checkstyle ignores the generated sources directory -->
845 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
846 <includeResources>true</includeResources>
847 <includeTestSourceDirectory>true</includeTestSourceDirectory>
848 <includeTestResources>true</includeTestResources>
849 <excludes>
850 </excludes>
851 <failsOnError>false</failsOnError>
852 <consoleOutput>true</consoleOutput>
853 </configuration>
854 </execution>
855 </executions>
856 </plugin>
857 <plugin>
858 <groupId>org.jacoco</groupId>
859 <artifactId>jacoco-maven-plugin</artifactId>
860 <version>${jacoco.version}</version>
861 <configuration>
862 <!-- Note: This exclusion list should match <sonar.exclusions>
863 property above -->
864 <excludes>
865 <exclude>**/gen/**</exclude>
866 <exclude>**/generated-sources/**</exclude>
867 <exclude>**/yang-gen/**</exclude>
868 <exclude>**/pax/**</exclude>
869 </excludes>
870 </configuration>
871 <executions>
872 <!-- Prepares the property pointing to the JaCoCo
873 runtime agent which is passed as VM argument when Maven the Surefire plugin
874 is executed. -->
875 <execution>
876 <id>pre-unit-test</id>
877 <goals>
878 <goal>prepare-agent</goal>
879 </goals>
880 <configuration>
881 <!-- Sets the path to the file which contains
882 the execution data. -->
883 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
884 <!-- Sets the name of the property containing
885 the settings for JaCoCo runtime agent. -->
886 <propertyName>surefireArgLine</propertyName>
887 </configuration>
888 </execution>
889 <!-- Ensures that the code coverage report for unit
890 tests is created after unit tests have been run. -->
891 <execution>
892 <id>post-unit-test</id>
893 <phase>test</phase>
894 <goals>
895 <goal>report</goal>
896 </goals>
897 <configuration>
898 <!-- Sets the path to the file which contains
899 the execution data. -->
900 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
901 <!-- Sets the output directory for the code
902 coverage report. -->
903 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
904 </configuration>
905 </execution>
906 <execution>
907 <id>pre-integration-test</id>
908 <phase>pre-integration-test</phase>
909 <goals>
910 <goal>prepare-agent</goal>
911 </goals>
912 <configuration>
913 <!-- Sets the path to the file which contains
914 the execution data. -->
915 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
916 <!-- Sets the name of the property containing
917 the settings for JaCoCo runtime agent. -->
918 <propertyName>failsafeArgLine</propertyName>
919 </configuration>
920 </execution>
921 <!-- Ensures that the code coverage report for integration
922 tests after integration tests have been run. -->
923 <execution>
924 <id>post-integration-test</id>
925 <phase>post-integration-test</phase>
926 <goals>
927 <goal>report</goal>
928 </goals>
929 <configuration>
930 <!-- Sets the path to the file which contains
931 the execution data. -->
932 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
933 <!-- Sets the output directory for the code
934 coverage report. -->
935 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
936 </configuration>
937 </execution>
938 </executions>
939 </plugin>
940 <plugin>
941 <groupId>org.apache.maven.plugins</groupId>
942 <artifactId>maven-surefire-plugin</artifactId>
943 <version>2.19.1</version>
944 <configuration>
945 <!-- Sets the VM argument line used when unit tests
946 are run. -->
947 <argLine>${surefireArgLine}</argLine>
948 <!-- Excludes integration tests when unit tests are
949 run. -->
950 <excludes>
951 <exclude>**/IT*.java</exclude>
952 </excludes>
953 </configuration>
954 </plugin>
955 <plugin>
956 <groupId>org.apache.maven.plugins</groupId>
957 <artifactId>maven-failsafe-plugin</artifactId>
958 <version>2.19.1</version>
959 <executions>
960 <!-- Ensures that both integration-test and verify
961 goals of the Failsafe Maven plugin are executed. -->
962 <execution>
963 <id>integration-tests</id>
964 <goals>
965 <goal>integration-test</goal>
966 <goal>verify</goal>
967 </goals>
968 <configuration>
969 <!-- Sets the VM argument line used when
970 integration tests are run. -->
971 <argLine>${failsafeArgLine}</argLine>
972 </configuration>
973 </execution>
974 </executions>
975 </plugin>
976 <plugin>
977 <groupId>org.apache.maven.plugins</groupId>
978 <artifactId>maven-compiler-plugin</artifactId>
979 <version>${maven.compile.plugin.version}</version>
980 <configuration>
981 <source>${java.version.source}</source>
982 <target>${java.version.target}</target>
983 </configuration>
984 </plugin>
985 <plugin>
986 <groupId>org.sonarsource.scanner.maven</groupId>
987 <artifactId>sonar-maven-plugin</artifactId>
988 <version>3.3.0.603</version>
989 </plugin>
990
991 <!-- End of plugins from ONAP oparent -->
992
993 <plugin>
994 <groupId>org.apache.maven.plugins</groupId>
995 <artifactId>maven-javadoc-plugin</artifactId>
996 <version>2.10</version>
997 <configuration>
998 <additionalDependencies>
999 <additionalDependency>
1000 <groupId>org.slf4j</groupId>
1001 <artifactId>slf4j-api</artifactId>
1002 <version>${slf4j.version}</version>
1003 </additionalDependency>
1004 <additionalDependency>
1005 <groupId>org.antlr</groupId>
1006 <artifactId>antlr4</artifactId>
1007 <version>${antlr.version}</version>
1008 </additionalDependency>
1009 <additionalDependency>
1010 <groupId>org.antlr</groupId>
1011 <artifactId>antlr4-runtime</artifactId>
1012 <version>${antlr.version}</version>
1013 </additionalDependency>
1014
1015 <additionalDependency>
1016 <groupId>com.sun.jersey</groupId>
1017 <artifactId>jersey-client</artifactId>
1018 <version>${jersey.client.version}</version>
1019 </additionalDependency>
1020 <additionalDependency>
1021 <groupId>com.sun.jersey</groupId>
1022 <artifactId>jersey-core</artifactId>
1023 <version>${jersey.version}</version>
1024 </additionalDependency>
1025 <additionalDependency>
1026 <groupId>org.apache.httpcomponents</groupId>
1027 <artifactId>httpcore-osgi</artifactId>
1028 <version>${apache.httpcomponents.core.version}</version>
1029 </additionalDependency>
1030 <additionalDependency>
1031 <groupId>org.apache.httpcomponents</groupId>
1032 <artifactId>httpclient-osgi</artifactId>
1033 <version>${apache.httpcomponents.client.version}</version>
1034 </additionalDependency>
1035 <additionalDependency>
1036 <groupId>com.fasterxml.jackson.core</groupId>
1037 <artifactId>jackson-databind</artifactId>
1038 <version>${jackson.version}</version>
1039 </additionalDependency>
1040 <additionalDependency>
1041 <groupId>com.fasterxml.jackson.core</groupId>
1042 <artifactId>jackson-annotations</artifactId>
1043 <version>${jackson.version}</version>
1044 </additionalDependency>
1045 <additionalDependency>
1046 <groupId>com.fasterxml.jackson.core</groupId>
1047 <artifactId>jackson-core</artifactId>
1048 <version>${jackson.version}</version>
1049 </additionalDependency>
1050 <additionalDependency>
1051 <groupId>commons-lang</groupId>
1052 <artifactId>commons-lang</artifactId>
1053 <version>${commons.lang.version}</version>
1054 </additionalDependency>
1055 </additionalDependencies>
1056 </configuration>
1057
1058 <executions>
1059 <execution>
1060 <id>aggregate</id>
1061 <goals>
1062 <goal>aggregate</goal>
1063 </goals>
1064 <phase>site</phase>
1065
1066 </execution>
1067 </executions>
1068 </plugin>
1069 <plugin>
1070 <artifactId>maven-source-plugin</artifactId>
1071 <version>2.1.1</version>
1072 <executions>
1073 <execution>
1074 <id>bundle-sources</id>
1075 <phase>package</phase>
1076 <goals>
1077 <!-- produce source artifact for main project
1078 sources -->
1079 <goal>jar-no-fork</goal>
1080
1081 <!-- produce source artifact for project
1082 test sources -->
1083 <goal>test-jar-no-fork</goal>
1084 </goals>
1085 </execution>
1086 </executions>
1087 </plugin>
1088
1089
1090 </plugins>
1091
1092 </pluginManagement>
1093
1094 <plugins>
1095 <!-- Plugins from ONAP oparent -->
1096 <plugin>
1097 <artifactId>maven-checkstyle-plugin</artifactId>
1098 </plugin>
1099 <plugin>
1100 <groupId>org.codehaus.mojo</groupId>
1101 <artifactId>build-helper-maven-plugin</artifactId>
1102 <version>1.12</version>
1103 </plugin>
1104 <!-- Jacoco / Sonar -->
1105 <plugin>
1106 <groupId>org.jacoco</groupId>
1107 <artifactId>jacoco-maven-plugin</artifactId>
1108 </plugin>
1109 <plugin>
1110 <groupId>org.apache.maven.plugins</groupId>
1111 <artifactId>maven-surefire-plugin</artifactId>
1112 </plugin>
1113 <plugin>
1114 <groupId>org.apache.maven.plugins</groupId>
1115 <artifactId>maven-failsafe-plugin</artifactId>
1116 </plugin>
1117
1118 <!-- End of plugins from ONAP oparent -->
1119 <plugin>
1120 <groupId>org.codehaus.mojo</groupId>
1121 <artifactId>properties-maven-plugin</artifactId>
1122 <version>1.0.0</version>
1123 <executions>
1124 <execution>
1125 <goals>
1126 <goal>set-system-properties</goal>
1127 </goals>
1128 <configuration>
1129 <properties>
1130 <property>
1131 <name>maven.wagon.http.ssl.allowall</name>
1132 <value>${ssl.allowall}</value>
1133 </property>
1134 <property>
1135 <name>maven.wagon.http.ssl.insecure</name>
1136 <value>${ssl.insecure}</value>
1137 </property>
1138 </properties>
1139 </configuration>
1140 </execution>
1141 </executions>
1142 </plugin>
1143 <plugin>
1144 <groupId>org.sonatype.plugins</groupId>
1145 <artifactId>nexus-staging-maven-plugin</artifactId>
1146 <version>1.6.7</version>
1147 <extensions>true</extensions>
1148 <configuration>
1149 <nexusUrl>${onap.nexus.url}</nexusUrl>
1150 <stagingProfileId>176c31dfe190a</stagingProfileId>
1151 <serverId>ecomp-staging</serverId>
1152 </configuration>
1153 </plugin>
1154 <plugin>
1155 <groupId>org.codehaus.mojo</groupId>
1156 <artifactId>versions-maven-plugin</artifactId>
Dan Timoney1f55bc82018-02-12 10:35:37 -05001157 <version>2.5</version>
1158 <configuration>
1159 <processAllModules>true</processAllModules>
1160 </configuration>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001161 </plugin>
1162 <plugin>
1163 <artifactId>maven-scm-plugin</artifactId>
1164 <version>1.8.1</version>
1165 <configuration>
1166 <tag>${project.artifactId}-${project.version}</tag>
1167 </configuration>
1168 </plugin>
1169 </plugins>
1170 </build>
1171 <organization>
1172 <name>ONAP</name>
1173 </organization>
1174</project>