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