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