Remove snapshot dependencies
[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.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</ccsdk.sli.core.version>
94         <ccsdk.sli.adaptors.version>0.2.1</ccsdk.sli.adaptors.version>
95         <ccsdk.sli.northbound.version>0.2.1</ccsdk.sli.northbound.version>
96         <ccsdk.sli.plugins.version>0.2.1</ccsdk.sli.plugins.version>
97         <ccsdk.distribution.version>0.2.1</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.opendaylight.mdsal.model</groupId>
448                 <artifactId>mdsal-model-artifacts</artifactId>
449                 <version>0.11.1</version>
450                 <type>pom</type>
451                 <scope>import</scope>
452             </dependency>
453             <dependency>
454                 <groupId>org.opendaylight.controller</groupId>
455                 <artifactId>mdsal-artifacts</artifactId>
456                 <version>1.6.1</version>
457                 <type>pom</type>
458                 <scope>import</scope>
459             </dependency>
460             <dependency>
461                 <groupId>org.onap.ccsdk.sli.core</groupId>
462                 <artifactId>sli-common</artifactId>
463                 <version>${ccsdk.sli.core.version}</version>
464             </dependency>
465
466             <dependency>
467                 <groupId>org.onap.ccsdk.sli.core</groupId>
468                 <artifactId>sli-provider</artifactId>
469                 <version>${ccsdk.sli.core.version}</version>
470             </dependency>
471             <dependency>
472                 <groupId>org.onap.ccsdk.sli.core</groupId>
473                 <artifactId>ccsdk-sli</artifactId>
474                 <version>${ccsdk.sli.core.version}</version>
475                 <type>xml</type>
476                 <classifier>features</classifier>
477             </dependency>
478             <dependency>
479                 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
480                 <artifactId>aai-service-provider</artifactId>
481                 <version>${sdnctl.aai.service.version}</version>
482             </dependency>
483
484             <dependency>
485                 <groupId>org.onap.ccsdk.sli.core</groupId>
486                 <artifactId>dblib-provider</artifactId>
487                 <version>${sdnctl.dblib.version}</version>
488             </dependency>
489
490             <dependency>
491                 <groupId>org.testng</groupId>
492                 <artifactId>testng</artifactId>
493                 <version>6.11</version>
494             </dependency>
495             <dependency>
496                 <groupId>org.springframework</groupId>
497                 <artifactId>spring-test</artifactId>
498                 <version>${spring.version}</version>
499             </dependency>
500             <dependency>
501                 <groupId>org.springframework</groupId>
502                 <artifactId>spring-beans</artifactId>
503                 <version>${spring.version}</version>
504             </dependency>
505             <dependency>
506                 <groupId>org.springframework</groupId>
507                 <artifactId>spring-context</artifactId>
508                 <version>${spring.version}</version>
509             </dependency>
510             <dependency>
511                 <groupId>com.att.eelf</groupId>
512                 <artifactId>eelf-core</artifactId>
513                 <version>${eelf.version}</version>
514             </dependency>
515         </dependencies>
516
517     </dependencyManagement>
518
519
520     <reporting>
521         <plugins>
522             <plugin>
523                 <artifactId>maven-javadoc-plugin</artifactId>
524                 <version>2.10.4</version>
525                 <configuration>
526                     <failOnError>false</failOnError>
527                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
528                     <docletArtifact>
529                         <groupId>org.umlgraph</groupId>
530                         <artifactId>umlgraph</artifactId>
531                         <version>5.6</version>
532                     </docletArtifact>
533                     <additionalparam>-views</additionalparam>
534                     <useStandardDocletOptions>true</useStandardDocletOptions>
535                     <excludePackageNames>org.opendaylight.*</excludePackageNames>
536                     <additionalDependencies>
537                         <additionalDependency>
538                             <groupId>org.slf4j</groupId>
539                             <artifactId>slf4j-api</artifactId>
540                             <version>${slf4j.version}</version>
541                         </additionalDependency>
542                         <additionalDependency>
543                             <groupId>org.antlr</groupId>
544                             <artifactId>antlr4</artifactId>
545                             <version>${antlr.version}</version>
546                         </additionalDependency>
547                         <additionalDependency>
548                             <groupId>org.antlr</groupId>
549                             <artifactId>antlr4-runtime</artifactId>
550                             <version>${antlr.version}</version>
551                         </additionalDependency>
552
553                         <additionalDependency>
554                             <groupId>com.sun.jersey</groupId>
555                             <artifactId>jersey-client</artifactId>
556                             <version>${jersey.json.version}</version>
557                         </additionalDependency>
558                         <additionalDependency>
559                             <groupId>com.sun.jersey</groupId>
560                             <artifactId>jersey-core</artifactId>
561                             <version>${jersey.json.version}</version>
562                         </additionalDependency>
563                         <additionalDependency>
564                             <groupId>org.apache.httpcomponents</groupId>
565                             <artifactId>httpcore-osgi</artifactId>
566                             <version>${apache.httpcomponents.core.version}</version>
567                         </additionalDependency>
568                         <additionalDependency>
569                             <groupId>org.apache.httpcomponents</groupId>
570                             <artifactId>httpclient-osgi</artifactId>
571                             <version>${apache.httpcomponents.client.version}</version>
572                         </additionalDependency>
573                         <additionalDependency>
574                             <groupId>com.fasterxml.jackson.core</groupId>
575                             <artifactId>jackson-databind</artifactId>
576                             <version>${fasterxml.jackson.version}</version>
577                         </additionalDependency>
578                         <additionalDependency>
579                             <groupId>com.fasterxml.jackson.core</groupId>
580                             <artifactId>jackson-annotations</artifactId>
581                             <version>${fasterxml.jackson.version}</version>
582                         </additionalDependency>
583                         <additionalDependency>
584                             <groupId>com.fasterxml.jackson.core</groupId>
585                             <artifactId>jackson-core</artifactId>
586                             <version>${fasterxml.jackson.version}</version>
587                         </additionalDependency>
588                         <additionalDependency>
589                             <groupId>commons-lang</groupId>
590                             <artifactId>commons-lang</artifactId>
591                             <version>${commons.lang.version}</version>
592                         </additionalDependency>
593                     </additionalDependencies>
594                 </configuration>
595                 <reportSets>
596                     <reportSet>
597                         <reports>
598                             <report>javadoc-no-fork</report>
599                             <report>test-javadoc-no-fork</report>
600                         </reports>
601                     </reportSet>
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             <plugin>
612                 <groupId>org.apache.maven.plugins</groupId>
613                 <artifactId>maven-jxr-plugin</artifactId>
614                 <version>2.3</version>
615                 <reportSets>
616                     <reportSet>
617                         <id>aggregate</id>
618                         <reports>
619                             <report>aggregate</report>
620                             <report>test-aggregate</report>
621                         </reports>
622                     </reportSet>
623                 </reportSets>
624             </plugin>
625
626             <plugin>
627                 <artifactId>maven-surefire-plugin</artifactId>
628                 <version>2.17</version>
629             </plugin>
630             <plugin>
631                 <groupId>org.apache.maven.plugins</groupId>
632                 <artifactId>maven-changelog-plugin</artifactId>
633                 <version>2.3</version>
634                 <reportSets>
635                     <reportSet>
636                         <id>dual-report</id>
637                         <configuration>
638                             <type>range</type>
639                             <range>30</range>
640                         </configuration>
641                         <reports>
642                             <report>changelog</report>
643                             <report>file-activity</report>
644                         </reports>
645                     </reportSet>
646                 </reportSets>
647             </plugin>
648             <plugin>
649                 <groupId>org.codehaus.mojo</groupId>
650                 <artifactId>taglist-maven-plugin</artifactId>
651                 <version>2.4</version>
652             </plugin>
653         </plugins>
654     </reporting>
655
656
657     <pluginRepositories>
658         <pluginRepository>
659             <id>onap-public</id>
660             <url>${onap.nexus.public-url}</url>
661             <releases>
662                 <enabled>true</enabled>
663             </releases>
664             <snapshots>
665                 <enabled>true</enabled>
666             </snapshots>
667         </pluginRepository>
668         <pluginRepository>
669             <id>onap-staging</id>
670             <url>${onap.nexus.staging-url}</url>
671             <releases>
672                 <enabled>true</enabled>
673             </releases>
674             <snapshots>
675                 <enabled>true</enabled>
676             </snapshots>
677         </pluginRepository>
678         <pluginRepository>
679             <id>onap-snapshot</id>
680             <url>${onap.nexus.snapshot-url}</url>
681             <releases>
682                 <enabled>false</enabled>
683             </releases>
684             <snapshots>
685                 <enabled>true</enabled>
686             </snapshots>
687         </pluginRepository>
688         <pluginRepository>
689             <id>opendaylight-mirror</id>
690             <name>opendaylight-mirror</name>
691             <url>${opendaylight.nexus.public-url}</url>
692             <releases>
693                 <enabled>true</enabled>
694                 <updatePolicy>never</updatePolicy>
695             </releases>
696             <snapshots>
697                 <enabled>false</enabled>
698             </snapshots>
699         </pluginRepository>
700         <pluginRepository>
701             <id>opendaylight-snapshot</id>
702             <name>opendaylight-snapshot</name>
703             <url>${opendaylight.nexus.snapshot-url}</url>
704             <releases>
705                 <enabled>false</enabled>
706             </releases>
707             <snapshots>
708                 <enabled>true</enabled>
709             </snapshots>
710         </pluginRepository>
711         <!-- Black Duck plugin dependencies -->
712         <pluginRepository>
713             <id>JCenter</id>
714             <name>JCenter Repository</name>
715             <url>http://jcenter.bintray.com</url>
716         </pluginRepository>
717
718         <pluginRepository>
719             <id>Restlet</id>
720             <name>Restlet Repository</name>
721             <url>http://maven.restlet.com</url>
722         </pluginRepository>
723     </pluginRepositories>
724
725
726     <repositories>
727         <repository>
728             <id>onap-public</id>
729             <url>https://nexus.onap.org/content/groups/public</url>
730             <releases>
731                 <enabled>true</enabled>
732                 <updatePolicy>never</updatePolicy>
733             </releases>
734             <snapshots>
735                 <enabled>true</enabled>
736                 <updatePolicy>always</updatePolicy>
737             </snapshots>
738         </repository>
739         <repository>
740             <id>onap-staging</id>
741             <url>https://nexus.onap.org/content/groups/staging</url>
742             <releases>
743                 <enabled>true</enabled>
744                 <updatePolicy>never</updatePolicy>
745             </releases>
746             <snapshots>
747                 <enabled>true</enabled>
748                 <updatePolicy>always</updatePolicy>
749             </snapshots>
750         </repository>
751         <repository>
752             <id>ecomp-release</id>
753             <name>onap-repository-releases</name>
754             <url>https://nexus.onap.org/content/repositories/releases</url>
755             <releases>
756                 <enabled>true</enabled>
757                 <updatePolicy>never</updatePolicy>
758             </releases>
759             <snapshots>
760                 <enabled>false</enabled>
761             </snapshots>
762         </repository>
763         <repository>
764             <id>ecomp-snapshot</id>
765             <name>onap-repository-snapshots</name>
766             <url>https://nexus.onap.org/content/repositories/snapshots</url>
767             <releases>
768                 <enabled>false</enabled>
769             </releases>
770             <snapshots>
771                 <enabled>true</enabled>
772             </snapshots>
773         </repository>
774         <repository>
775             <id>opendaylight-mirror</id>
776             <name>opendaylight-mirror</name>
777             <url>https://nexus.opendaylight.org/content/repositories/public/</url>
778             <releases>
779                 <enabled>true</enabled>
780                 <updatePolicy>never</updatePolicy>
781             </releases>
782             <snapshots>
783                 <enabled>false</enabled>
784             </snapshots>
785         </repository>
786         <repository>
787             <id>opendaylight-snapshot</id>
788             <name>opendaylight-snapshot</name>
789             <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
790             <releases>
791                 <enabled>false</enabled>
792             </releases>
793             <snapshots>
794                 <enabled>true</enabled>
795             </snapshots>
796         </repository>
797
798     </repositories>
799
800     <distributionManagement>
801         <repository>
802             <id>ecomp-releases</id>
803             <url>http://nexus.onap.org/content/repositories/releases</url>
804         </repository>
805         <snapshotRepository>
806             <id>ecomp-snapshots</id>
807             <url>http://nexus.onap.org/content/repositories/snapshots</url>
808         </snapshotRepository>
809     </distributionManagement>
810
811     <build>
812         <pluginManagement>
813             <plugins>
814
815                 <!-- Plugins from ONAP oparent -->
816                 <plugin>
817                     <groupId>org.apache.maven.plugins</groupId>
818                     <artifactId>maven-deploy-plugin</artifactId>
819                     <!-- This version supports the "deployAtEnd" parameter -->
820                     <version>2.8</version>
821                     <configuration>
822                         <skip />
823                     </configuration>
824                 </plugin>
825
826                 <plugin>
827                     <groupId>org.apache.maven.plugins</groupId>
828                     <artifactId>maven-site-plugin</artifactId>
829                     <version>3.6</version>
830                     <dependencies>
831                         <dependency>
832                             <groupId>org.apache.maven.wagon</groupId>
833                             <artifactId>wagon-webdav-jackrabbit</artifactId>
834                             <version>2.10</version>
835                         </dependency>
836                         <dependency>
837                             <groupId>org.apache.maven.doxia</groupId>
838                             <artifactId>doxia-core</artifactId>
839                             <version>1.7</version>
840                         </dependency>
841                         <dependency>
842                             <groupId>org.apache.maven.doxia</groupId>
843                             <artifactId>doxia-sink-api</artifactId>
844                             <version>1.7</version>
845                         </dependency>
846                         <dependency>
847                             <groupId>org.apache.maven.doxia</groupId>
848                             <artifactId>doxia-logging-api</artifactId>
849                             <version>1.7</version>
850                         </dependency>
851                     </dependencies>
852                     <executions>
853                         <execution>
854                             <id>attach-descriptor</id>
855                             <goals>
856                                 <goal>attach-descriptor</goal>
857                             </goals>
858                         </execution>
859                     </executions>
860                 </plugin>
861                 <plugin>
862                     <artifactId>maven-checkstyle-plugin</artifactId>
863                     <version>2.17</version>
864                     <dependencies>
865                         <dependency>
866                             <groupId>org.onap.oparent</groupId>
867                             <artifactId>checkstyle</artifactId>
868                             <version>1.1.1</version>
869                         </dependency>
870                     </dependencies>
871                     <executions>
872                         <execution>
873                             <id>check-license</id>
874                             <goals>
875                                 <goal>check</goal>
876                             </goals>
877                             <phase>process-sources</phase>
878                             <configuration>
879                                 <configLocation>onap-checkstyle/check-license.xml</configLocation>
880                                 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
881                                 <includeResources>false</includeResources>
882                                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
883                                 <includeTestResources>false</includeTestResources>
884                                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
885                                 <excludes>
886                                 </excludes>
887                                 <failsOnError>false</failsOnError>
888                                 <consoleOutput>true</consoleOutput>
889                             </configuration>
890                         </execution>
891                         <execution>
892                             <id>check-style</id>
893                             <goals>
894                                 <goal>check</goal>
895                             </goals>
896                             <phase>process-sources</phase>
897                             <configuration>
898                                 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
899                                     with minor changes -->
900                                 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
901                                 <!-- <sourceDirectory> is needed so that
902                                     checkstyle ignores the generated sources directory -->
903                                 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
904                                 <includeResources>true</includeResources>
905                                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
906                                 <includeTestResources>true</includeTestResources>
907                                 <excludes>
908                                 </excludes>
909                                 <failsOnError>false</failsOnError>
910                                 <consoleOutput>true</consoleOutput>
911                             </configuration>
912                         </execution>
913                     </executions>
914                 </plugin>
915                 <plugin>
916                     <groupId>org.jacoco</groupId>
917                     <artifactId>jacoco-maven-plugin</artifactId>
918                     <version>${jacoco.version}</version>
919                     <configuration>
920                         <!-- Note: This exclusion list should match <sonar.exclusions>
921                             property above -->
922                         <excludes>
923                             <exclude>**/gen/**</exclude>
924                             <exclude>**/generated-sources/**</exclude>
925                             <exclude>**/yang-gen/**</exclude>
926                             <exclude>**/pax/**</exclude>
927                         </excludes>
928                     </configuration>
929                     <executions>
930                         <!-- Prepares the property pointing to the JaCoCo
931                             runtime agent which is passed as VM argument when Maven the Surefire plugin
932                             is executed. -->
933                         <execution>
934                             <id>pre-unit-test</id>
935                             <goals>
936                                 <goal>prepare-agent</goal>
937                             </goals>
938                             <configuration>
939                                 <!-- Sets the path to the file which contains
940                                     the execution data. -->
941                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
942                                 <!-- Sets the name of the property containing
943                                     the settings for JaCoCo runtime agent. -->
944                                 <propertyName>surefireArgLine</propertyName>
945                             </configuration>
946                         </execution>
947                         <!-- Ensures that the code coverage report for unit
948                             tests is created after unit tests have been run. -->
949                         <execution>
950                             <id>post-unit-test</id>
951                             <phase>test</phase>
952                             <goals>
953                                 <goal>report</goal>
954                             </goals>
955                             <configuration>
956                                 <!-- Sets the path to the file which contains
957                                     the execution data. -->
958                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
959                                 <!-- Sets the output directory for the code
960                                     coverage report. -->
961                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
962                             </configuration>
963                         </execution>
964                         <execution>
965                             <id>pre-integration-test</id>
966                             <phase>pre-integration-test</phase>
967                             <goals>
968                                 <goal>prepare-agent</goal>
969                             </goals>
970                             <configuration>
971                                 <!-- Sets the path to the file which contains
972                                     the execution data. -->
973                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
974                                 <!-- Sets the name of the property containing
975                                     the settings for JaCoCo runtime agent. -->
976                                 <propertyName>failsafeArgLine</propertyName>
977                             </configuration>
978                         </execution>
979                         <!-- Ensures that the code coverage report for integration
980                             tests after integration tests have been run. -->
981                         <execution>
982                             <id>post-integration-test</id>
983                             <phase>post-integration-test</phase>
984                             <goals>
985                                 <goal>report</goal>
986                             </goals>
987                             <configuration>
988                                 <!-- Sets the path to the file which contains
989                                     the execution data. -->
990                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
991                                 <!-- Sets the output directory for the code
992                                     coverage report. -->
993                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
994                             </configuration>
995                         </execution>
996                     </executions>
997                 </plugin>
998                 <plugin>
999                     <groupId>org.apache.maven.plugins</groupId>
1000                     <artifactId>maven-surefire-plugin</artifactId>
1001                     <version>2.19.1</version>
1002                     <configuration>
1003                         <!-- Sets the VM argument line used when unit tests
1004                             are run. -->
1005                         <argLine>${surefireArgLine}</argLine>
1006                         <!-- Excludes integration tests when unit tests are
1007                             run. -->
1008                         <excludes>
1009                             <exclude>**/IT*.java</exclude>
1010                         </excludes>
1011                     </configuration>
1012                 </plugin>
1013                 <plugin>
1014                     <groupId>org.apache.maven.plugins</groupId>
1015                     <artifactId>maven-failsafe-plugin</artifactId>
1016                     <version>2.19.1</version>
1017                     <executions>
1018                         <!-- Ensures that both integration-test and verify
1019                             goals of the Failsafe Maven plugin are executed. -->
1020                         <execution>
1021                             <id>integration-tests</id>
1022                             <goals>
1023                                 <goal>integration-test</goal>
1024                                 <goal>verify</goal>
1025                             </goals>
1026                             <configuration>
1027                                 <!-- Sets the VM argument line used when
1028                                     integration tests are run. -->
1029                                 <argLine>${failsafeArgLine}</argLine>
1030                             </configuration>
1031                         </execution>
1032                     </executions>
1033                 </plugin>
1034                 <plugin>
1035                     <groupId>org.apache.maven.plugins</groupId>
1036                     <artifactId>maven-compiler-plugin</artifactId>
1037                     <version>${maven.compile.plugin.version}</version>
1038                     <configuration>
1039                         <source>${java.version.source}</source>
1040                         <target>${java.version.target}</target>
1041                     </configuration>
1042                 </plugin>
1043                 <plugin>
1044                     <groupId>org.sonarsource.scanner.maven</groupId>
1045                     <artifactId>sonar-maven-plugin</artifactId>
1046                     <version>3.3.0.603</version>
1047                 </plugin>
1048
1049                 <!-- End of plugins from ONAP oparent -->
1050
1051                 <plugin>
1052                     <groupId>org.apache.maven.plugins</groupId>
1053                     <artifactId>maven-javadoc-plugin</artifactId>
1054                     <version>2.10</version>
1055                     <configuration>
1056                         <additionalDependencies>
1057                             <additionalDependency>
1058                                 <groupId>org.slf4j</groupId>
1059                                 <artifactId>slf4j-api</artifactId>
1060                                 <version>${slf4j.version}</version>
1061                             </additionalDependency>
1062                             <additionalDependency>
1063                                 <groupId>org.antlr</groupId>
1064                                 <artifactId>antlr4</artifactId>
1065                                 <version>${antlr.version}</version>
1066                             </additionalDependency>
1067                             <additionalDependency>
1068                                 <groupId>org.antlr</groupId>
1069                                 <artifactId>antlr4-runtime</artifactId>
1070                                 <version>${antlr.version}</version>
1071                             </additionalDependency>
1072
1073                             <additionalDependency>
1074                                 <groupId>com.sun.jersey</groupId>
1075                                 <artifactId>jersey-client</artifactId>
1076                                 <version>${jersey.client.version}</version>
1077                             </additionalDependency>
1078                             <additionalDependency>
1079                                 <groupId>com.sun.jersey</groupId>
1080                                 <artifactId>jersey-core</artifactId>
1081                                 <version>${jersey.version}</version>
1082                             </additionalDependency>
1083                             <additionalDependency>
1084                                 <groupId>org.apache.httpcomponents</groupId>
1085                                 <artifactId>httpcore-osgi</artifactId>
1086                                 <version>${apache.httpcomponents.core.version}</version>
1087                             </additionalDependency>
1088                             <additionalDependency>
1089                                 <groupId>org.apache.httpcomponents</groupId>
1090                                 <artifactId>httpclient-osgi</artifactId>
1091                                 <version>${apache.httpcomponents.client.version}</version>
1092                             </additionalDependency>
1093                             <additionalDependency>
1094                                 <groupId>com.fasterxml.jackson.core</groupId>
1095                                 <artifactId>jackson-databind</artifactId>
1096                                 <version>${jackson.version}</version>
1097                             </additionalDependency>
1098                             <additionalDependency>
1099                                 <groupId>com.fasterxml.jackson.core</groupId>
1100                                 <artifactId>jackson-annotations</artifactId>
1101                                 <version>${jackson.version}</version>
1102                             </additionalDependency>
1103                             <additionalDependency>
1104                                 <groupId>com.fasterxml.jackson.core</groupId>
1105                                 <artifactId>jackson-core</artifactId>
1106                                 <version>${jackson.version}</version>
1107                             </additionalDependency>
1108                             <additionalDependency>
1109                                 <groupId>commons-lang</groupId>
1110                                 <artifactId>commons-lang</artifactId>
1111                                 <version>${commons.lang.version}</version>
1112                             </additionalDependency>
1113                         </additionalDependencies>
1114                     </configuration>
1115
1116                     <executions>
1117                         <execution>
1118                             <id>aggregate</id>
1119                             <goals>
1120                                 <goal>aggregate</goal>
1121                             </goals>
1122                             <phase>site</phase>
1123
1124                         </execution>
1125                     </executions>
1126                 </plugin>
1127                 <plugin>
1128                     <artifactId>maven-source-plugin</artifactId>
1129                     <version>2.1.1</version>
1130                     <executions>
1131                         <execution>
1132                             <id>bundle-sources</id>
1133                             <phase>package</phase>
1134                             <goals>
1135                                 <!-- produce source artifact for main project
1136                                     sources -->
1137                                 <goal>jar-no-fork</goal>
1138
1139                                 <!-- produce source artifact for project
1140                                     test sources -->
1141                                 <goal>test-jar-no-fork</goal>
1142                             </goals>
1143                         </execution>
1144                     </executions>
1145                 </plugin>
1146
1147
1148             </plugins>
1149
1150         </pluginManagement>
1151
1152         <plugins>
1153             <!-- Plugins from ONAP oparent -->
1154             <plugin>
1155                 <artifactId>maven-checkstyle-plugin</artifactId>
1156             </plugin>
1157             <plugin>
1158                 <groupId>org.codehaus.mojo</groupId>
1159                 <artifactId>build-helper-maven-plugin</artifactId>
1160                 <version>1.12</version>
1161             </plugin>
1162             <!-- Jacoco / Sonar -->
1163             <plugin>
1164                 <groupId>org.jacoco</groupId>
1165                 <artifactId>jacoco-maven-plugin</artifactId>
1166             </plugin>
1167             <plugin>
1168                 <groupId>org.apache.maven.plugins</groupId>
1169                 <artifactId>maven-surefire-plugin</artifactId>
1170             </plugin>
1171             <plugin>
1172                 <groupId>org.apache.maven.plugins</groupId>
1173                 <artifactId>maven-failsafe-plugin</artifactId>
1174             </plugin>
1175
1176             <!-- End of plugins from ONAP oparent -->
1177             <plugin>
1178                 <groupId>org.codehaus.mojo</groupId>
1179                 <artifactId>properties-maven-plugin</artifactId>
1180                 <version>1.0.0</version>
1181                 <executions>
1182                     <execution>
1183                         <goals>
1184                             <goal>set-system-properties</goal>
1185                         </goals>
1186                         <configuration>
1187                             <properties>
1188                                 <property>
1189                                     <name>maven.wagon.http.ssl.allowall</name>
1190                                     <value>${ssl.allowall}</value>
1191                                 </property>
1192                                 <property>
1193                                     <name>maven.wagon.http.ssl.insecure</name>
1194                                     <value>${ssl.insecure}</value>
1195                                 </property>
1196                             </properties>
1197                         </configuration>
1198                     </execution>
1199                 </executions>
1200             </plugin>
1201             <plugin>
1202                 <groupId>org.sonatype.plugins</groupId>
1203                 <artifactId>nexus-staging-maven-plugin</artifactId>
1204                 <version>1.6.7</version>
1205                 <extensions>true</extensions>
1206                 <configuration>
1207                     <nexusUrl>${onap.nexus.url}</nexusUrl>
1208                     <stagingProfileId>176c31dfe190a</stagingProfileId>
1209                     <serverId>ecomp-staging</serverId>
1210                 </configuration>
1211             </plugin>
1212             <plugin>
1213                 <groupId>org.codehaus.mojo</groupId>
1214                 <artifactId>versions-maven-plugin</artifactId>
1215                 <version>2.5</version>
1216                 <configuration>
1217                     <processAllModules>true</processAllModules>
1218                 </configuration>
1219             </plugin>
1220             <plugin>
1221                 <artifactId>maven-scm-plugin</artifactId>
1222                 <version>1.8.1</version>
1223                 <configuration>
1224                     <tag>${project.artifactId}-${project.version}</tag>
1225                 </configuration>
1226             </plugin>
1227         </plugins>
1228     </build>
1229     <organization>
1230         <name>ONAP</name>
1231     </organization>
1232 </project>