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