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