blob: 470b9d884701d34cb41fb7c858fde8042d04e657 [file] [log] [blame]
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001<?xml version="1.0" encoding="UTF-8"?>
Gary Wu0cf30742018-08-24 15:17:14 -07002<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
Dan Timoney0f2db3f2018-01-25 16:23:27 -05003
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -05004<!--
5 PLEASE READ !!!!!
6
7 This file is generated from ccsdk/parent/setup/src/main/template/pom-template.xml
8
9 Any updates needed should be made to that template and not to the generated pom.xml file
10-->
Dan Timoney0f2db3f2018-01-25 16:23:27 -050011
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040012 <modelVersion>4.0.0</modelVersion>
13 <packaging>pom</packaging>
14 <groupId>org.onap.ccsdk.parent</groupId>
15 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)5e504372018-10-20 15:29:52 -040016 <version>1.2.0-SNAPSHOT</version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050017
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040018 <parent>
19 <groupId>org.opendaylight.odlparent</groupId>
20 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)cc9e0d82018-08-15 11:08:40 -040021 <version>3.1.3</version>
Gary Wu0cf30742018-08-24 15:17:14 -070022 <relativePath/>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040023 </parent>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050024
25
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040026 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -050027 <url>http://wiki.onap.org</url>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040028 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050029
30
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040031 <issueManagement>
32 <system>JIRA</system>
33 <url>https://jira.onap.org/</url>
34 </issueManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050035
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040036 <properties>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050037
Ruchira Agarwal53574ba2018-07-27 18:47:27 +000038 <!-- properties from oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040039 <maven.compiler.source>1.8</maven.compiler.source>
40 <maven.compiler.target>1.8</maven.compiler.target>
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
43 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
44 <!-- sitePath may be overridden in the inheriting POM if desired -->
45 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
46 <jacoco.version>0.7.7.201606060606</jacoco.version>
47 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
48 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
49 <!-- Default Sonar configuration -->
50 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
51 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
52 below -->
53 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
54 <!-- If following file exist, auto-generation of swagger.json will be done -->
55 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
56 <!-- If following file exist, auto-generation of sdk will be done -->
57 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
Ruchira Agarwal53574ba2018-07-27 18:47:27 +000058 <!-- end of properties from oparent -->
Dan Timoney0f2db3f2018-01-25 16:23:27 -050059
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040060 <!-- ONAP repositories -->
61 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
62 <onap.nexus.port>443</onap.nexus.port>
63 <onap.nexus.protocol>https</onap.nexus.protocol>
64 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
65 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
66 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
67 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
68 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
69 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050070
71
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040072 <!-- OpenDaylight repositories -->
73 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
74 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050075
76
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040077 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
78 <java.version.source>1.8</java.version.source>
79 <java.version.target>1.8</java.version.target>
80 <bundle.plugin.version>2.5.0</bundle.plugin.version>
81 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
82 <features.file>features.xml</features.file>
83 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
84 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
85 <checkstyle.skip>true</checkstyle.skip>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050086
87
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040088 <sonar.language>java</sonar.language>
89 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
90 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
91 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
92 <sonar.projectVersion>${project.version}</sonar.projectVersion>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050093
94
95
96
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040097 <!-- CCSDK component versions -->
Timoney, Dan (dt5972)5e504372018-10-20 15:29:52 -040098 <ccsdk.sli.core.version>0.4.0-SNAPSHOT</ccsdk.sli.core.version>
99 <ccsdk.sli.adaptors.version>0.4.0-SNAPSHOT</ccsdk.sli.adaptors.version>
100 <ccsdk.sli.northbound.version>0.4.0-SNAPSHOT</ccsdk.sli.northbound.version>
101 <ccsdk.sli.plugins.version>0.4.0-SNAPSHOT</ccsdk.sli.plugins.version>
102 <ccsdk.distribution.version>0.4.0-SNAPSHOT</ccsdk.distribution.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400103 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
104 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
105 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
106 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
107 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500108
Timoney, Dan (dt5972)b02ff952018-03-05 11:01:26 -0500109
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400110 <!-- Support libraries used by OpenDaylight -->
Timoney, Dan (dt5972)cc9e0d82018-08-15 11:08:40 -0400111 <odl.mdsal.version>1.7.3</odl.mdsal.version>
112 <odl.mdsal.model.version>0.12.3</odl.mdsal.model.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400113 <!-- Used by aaa, vtn -->
114 <commons.codec.version>1.10</commons.codec.version>
115 <!-- Used by netconf, ovsdb -->
116 <commons.lang3.version>3.7</commons.lang3.version>
117 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
118 <commons.lang.version>2.6</commons.lang.version>
119 <!-- Used by neutron; see also controller, vtn -->
120 <commons.net.version>3.6</commons.net.version>
121 <!-- Used by neutron -->
122 <eclipse.persistence.version>2.7.1</eclipse.persistence.version>
123 <!-- Used by aaa -->
124 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
125 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
126 <gson.version>2.8.2</gson.version>
127 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
128 <guava.version>23.6</guava.version>
129 <!-- Used by lispflowmapping, sxp, vtn/manager -->
130 <hamcrest.version>1.3.1</hamcrest.version>
131 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
132 integration/distribution, snmp4sdn, toolkit, ttp -->
133 <jackson.version>2.3.2</jackson.version>
134 <!-- Used by snmp4sdn, yangtools -->
135 <javassist.version>3.20.0-GA</javassist.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500136
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400137 <!-- FIXME remove all dependencies for jersey 1.17 after migration all
138 projects -->
139 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all,
140 snmp4sdn, toolkit -->
141 <jersey.version>1.19.4</jersey.version>
142 <!-- Used by sfc -->
143 <jersey.client.version>1.19.4</jersey.client.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500144
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400145 <!-- New packages for jersey migration 1.17 to 2.8 -->
146 <!-- appache.geronimo.bundle for DocGen -->
147 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
148 <org.json.version>20131018</org.json.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500149
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400150 <!-- Used by sfc -->
151 <jettison.version>1.3.8</jettison.version>
152 <!-- Used by persistence -->
153 <jsr305.api.version>3.0.0</jsr305.api.version>
154 <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560
155 is fixed (either in PowerMock or with a new JUnit release) -->
156 <!-- Used everywhere -->
157 <junit.version>4.11</junit.version>
158 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
Timoney, Dan (dt5972)082e5072018-06-18 22:31:42 -0400159 <logback.version>1.2.3</logback.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400160 <!-- Used by nic, sfc, sxp, tsdr -->
161 <mockito.version>1.10.19</mockito.version>
162 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
163 <netty.version>4.1.22.Final</netty.version>
164 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity,
165 toolkit -->
166 <slf4j.version>1.7.25</slf4j.version>
167 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit,
168 tsdr, ttp -->
169 <spring.version>3.2.17.RELEASE</spring.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500170
171
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500172
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400173 <!-- Extra support libraries used by SDN-C -->
174 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
175 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
176 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
177 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
178 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
179 <antlr.version>4.7.1</antlr.version>
180 <mysql.connector.version>5.1.39</mysql.connector.version>
181 <mariadb.connector.version>2.1.1</mariadb.connector.version>
182 <h2database.version>1.4.196</h2database.version>
183 <derby.version>10.14.2.0</derby.version>
Timoney, Dan (dt5972)ebc00be2018-03-21 09:00:19 -0400184
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400185 <eelf.version>1.0.0</eelf.version>
186 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
Timoney, Dan (dt5972)2f4cbed2018-05-04 12:05:16 -0400187
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400188 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500189
gaurav9c6de382018-08-21 18:15:00 +0530190 <glassfish.version>2.27</glassfish.version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500191 <skip.karaf.featureTest>true</skip.karaf.featureTest>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400192 </properties>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500193
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400194 <profiles>
195 <!-- Profiles from ONAP oparent -->
196 <profile>
197 <id>generate-json</id>
198 <activation>
199 <file>
200 <exists>${swagger-properties}</exists>
201 </file>
202 <property>
203 <name>swagger-sdk.generate-json</name>
204 </property>
205 </activation>
206 <build>
207 <plugins>
208 <plugin>
209 <groupId>org.codehaus.mojo</groupId>
210 <artifactId>properties-maven-plugin</artifactId>
211 <version>1.0.0</version>
212 <executions>
213 <execution>
214 <phase>initialize</phase>
215 <goals>
216 <goal>read-project-properties</goal>
217 </goals>
218 <configuration>
219 <files>
220 <file>${basedir}/src/main/resources/swagger.properties</file>
221 </files>
222 </configuration>
223 </execution>
224 </executions>
225 </plugin>
226 <plugin>
227 <groupId>com.github.kongchen</groupId>
228 <artifactId>swagger-maven-plugin</artifactId>
229 <version>3.1.4</version>
230 <configuration>
231 <apiSources>
232 <apiSource>
233 <locations>${api-rest-package}</locations>
234 <schemes>http,https</schemes>
235 <host>${api-host-ip}:${api-host-port}</host>
236 <basePath>${api-base-path}</basePath>
237 <info>
238 <title>${api-title}</title>
239 <version>${api-version}</version>
240 <description>${api-description}</description>
241 <license>
242 <name>${api-license}</name>
243 </license>
244 </info>
245 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
246 </apiSource>
247 </apiSources>
248 </configuration>
249 <executions>
250 <execution>
251 <phase>compile</phase>
252 <goals>
253 <goal>generate</goal>
254 </goals>
255 </execution>
256 </executions>
257 </plugin>
258 <plugin>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-install-plugin</artifactId>
261 <version>2.3.1</version>
262 <executions>
263 <execution>
264 <id>install-file-id</id>
265 <phase>install</phase>
266 <goals>
267 <goal>install-file</goal>
268 </goals>
269 <configuration>
270 <file>${basedir}/src/main/resources/swagger.json</file>
271 <groupId>${project.groupId}</groupId>
272 <artifactId>${project.artifactId}-swagger-schema</artifactId>
273 <version>${project.version}</version>
274 <packaging>json</packaging>
275 </configuration>
276 </execution>
277 </executions>
278 </plugin>
279 </plugins>
280 </build>
281 </profile>
282 <profile>
283 <id>generate-sdk</id>
284 <activation>
285 <file>
286 <exists>${swagger-json}</exists>
287 </file>
288 <property>
289 <name>swagger-sdk.generate-java-sdk</name>
290 </property>
291 </activation>
292 <build>
293 <plugins>
294 <plugin>
295 <groupId>org.apache.maven.plugins</groupId>
296 <artifactId>maven-antrun-plugin</artifactId>
297 <version>1.8</version>
298 <executions>
299 <execution>
300 <phase>initialize</phase>
301 <id>ant-create-script</id>
302 <configuration>
303 <exportAntProperties>true</exportAntProperties>
304 <tasks>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500305
Gary Wu0cf30742018-08-24 15:17:14 -0700306 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400307 <condition property="is_windows" value="true">
Gary Wu0cf30742018-08-24 15:17:14 -0700308 <os family="windows"/>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400309 </condition>
310 <condition property="isLinux" value="true">
Gary Wu0cf30742018-08-24 15:17:14 -0700311 <os family="unix"/>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400312 </condition>
313 <if>
Gary Wu0cf30742018-08-24 15:17:14 -0700314 <equals arg1="${is_windows}" arg2="true"/>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400315 <then>
Gary Wu0cf30742018-08-24 15:17:14 -0700316 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
317 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
318 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400319 </then>
320 <else>
Gary Wu0cf30742018-08-24 15:17:14 -0700321 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
322 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
323 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
324 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400325 </else>
326 </if>
327 </tasks>
328 </configuration>
329 <goals>
330 <goal>run</goal>
331 </goals>
332 </execution>
333 </executions>
334 <dependencies>
335 <dependency>
336 <groupId>ant-contrib</groupId>
337 <artifactId>ant-contrib</artifactId>
338 <version>1.0b3</version>
339 <exclusions>
340 <exclusion>
341 <artifactId>ant</artifactId>
342 <groupId>ant</groupId>
343 </exclusion>
344 </exclusions>
345 </dependency>
346 </dependencies>
347 </plugin>
348 <plugin>
349 <groupId>io.swagger</groupId>
350 <artifactId>swagger-codegen-maven-plugin</artifactId>
351 <version>2.2.1</version>
352 <executions>
353 <execution>
354 <goals>
355 <goal>generate</goal>
356 </goals>
357 <configuration>
358 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
359 <output>${project.build.directory}/generated-sources</output>
360 <language>java</language>
361 <configOptions>
362 <dateLibrary>joda</dateLibrary>
363 </configOptions>
364 <library>jersey2</library>
365 <groupId>${project.groupId}</groupId>
366 <artifactId>${project.artifactId}-java-sdk</artifactId>
367 <artifactVersion>${project.version}</artifactVersion>
368 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
369 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
370 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
371 </configuration>
372 </execution>
373 </executions>
374 </plugin>
375 <plugin>
376 <artifactId>exec-maven-plugin</artifactId>
377 <groupId>org.codehaus.mojo</groupId>
378 <version>1.5.0</version>
379 <executions>
380 <execution>
381 <id>swagger-generate-sources</id>
382 <phase>generate-sources</phase>
383 <goals>
384 <goal>exec</goal>
385 </goals>
386 <configuration>
387 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
388 </configuration>
389 </execution>
390 </executions>
391 </plugin>
392 <plugin>
393 <groupId>org.apache.maven.plugins</groupId>
394 <artifactId>maven-clean-plugin</artifactId>
395 <version>3.0.0</version>
396 <executions>
397 <execution>
398 <id>clean-generated-files</id>
399 <phase>generate-sources</phase>
400 <goals>
401 <goal>clean</goal>
402 </goals>
403 <configuration>
404 <filesets>
405 <fileset>
406 <directory>${project.build.directory}/generated-sources</directory>
407 </fileset>
408 </filesets>
409 </configuration>
410 </execution>
411 </executions>
412 </plugin>
413 </plugins>
414 </build>
415 <dependencies>
416 <dependency>
417 <groupId>org.onap.msb.swagger-sdk</groupId>
418 <artifactId>swagger-sdk</artifactId>
419 <version>1.0.0</version>
420 </dependency>
421 </dependencies>
422 </profile>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500423
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400424 <!-- End of profiles from ONAP oparent -->
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500425
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500426 <profile>
427 <activation>
428 <file>
429 <exists>src/main/yang</exists>
430 </file>
431 </activation>
432 <build>
433 <plugins>
434 <plugin>
435 <groupId>org.opendaylight.yangtools</groupId>
436 <artifactId>yang-maven-plugin</artifactId>
437 <dependencies>
438 <dependency>
439 <groupId>org.opendaylight.mdsal</groupId>
440 <artifactId>maven-sal-api-gen-plugin</artifactId>
441 <version>0.12.1</version>
442 <type>jar</type>
443 </dependency>
444 <dependency>
445 <groupId>org.opendaylight.netconf</groupId>
446 <artifactId>sal-rest-docgen-maven</artifactId>
447 <version>${odl.mdsal.version}</version>
448 <type>jar</type>
449 </dependency>
450 </dependencies>
451 <executions>
452 <execution>
453 <goals>
454 <goal>generate-sources</goal>
455 </goals>
456 <configuration>
457 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
458 <codeGenerators>
459 <generator>
460 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
461 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
462 </generator>
463 <generator>
464 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
465 <outputBaseDir>target/swagger</outputBaseDir>
466 </generator>
467 </codeGenerators>
468 <inspectDependencies>true</inspectDependencies>
469 </configuration>
470 </execution>
471 </executions>
472 </plugin>
473 </plugins>
474 </build>
475 </profile>
476
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400477 </profiles>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500478
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500479
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400480 <dependencyManagement>
481 <dependencies>
482 <dependency>
483 <groupId>org.opendaylight.controller</groupId>
484 <artifactId>mdsal-artifacts</artifactId>
485 <version>${odl.mdsal.version}</version>
486 <type>pom</type>
487 <scope>import</scope>
488 </dependency>
489 <dependency>
490 <groupId>org.opendaylight.mdsal.model</groupId>
491 <artifactId>mdsal-model-artifacts</artifactId>
492 <version>${odl.mdsal.model.version}</version>
493 <type>pom</type>
494 <scope>import</scope>
495 </dependency>
496 <dependency>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500497 <groupId>org.opendaylight.controller</groupId>
498 <artifactId>sal-binding-config</artifactId>
499 <version>${odl.mdsal.version}</version>
500 </dependency>
501
502 <dependency>
503 <groupId>org.opendaylight.controller</groupId>
504 <artifactId>sal-test-model</artifactId>
505 <version>${odl.mdsal.version}</version>
506 </dependency>
507 <dependency>
508 <groupId>org.opendaylight.controller</groupId>
509 <artifactId>sal-binding-broker-impl</artifactId>
510 <version>${odl.mdsal.version}</version>
511 </dependency>
512 <dependency>
513 <groupId>org.opendaylight.controller</groupId>
514 <artifactId>sal-binding-broker-impl</artifactId>
515 <version>${odl.mdsal.version}</version>
516 <type>test-jar</type>
517 <classifier>tests</classifier>
518 <scope>test</scope>
519 </dependency>
520 <dependency>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400521 <groupId>org.onap.ccsdk.sli.core</groupId>
522 <artifactId>sli-common</artifactId>
523 <version>${ccsdk.sli.core.version}</version>
524 </dependency>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500525
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400526 <dependency>
527 <groupId>org.onap.ccsdk.sli.core</groupId>
528 <artifactId>sli-provider</artifactId>
529 <version>${ccsdk.sli.core.version}</version>
530 </dependency>
531 <dependency>
532 <groupId>org.onap.ccsdk.sli.core</groupId>
533 <artifactId>ccsdk-sli</artifactId>
534 <version>${ccsdk.sli.core.version}</version>
535 <type>xml</type>
536 <classifier>features</classifier>
537 </dependency>
538 <dependency>
539 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
540 <artifactId>aai-service-provider</artifactId>
541 <version>${sdnctl.aai.service.version}</version>
542 </dependency>
Dan Timoney3c5275a2018-02-26 19:37:10 -0500543
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400544 <dependency>
545 <groupId>org.onap.ccsdk.sli.core</groupId>
546 <artifactId>dblib-provider</artifactId>
547 <version>${sdnctl.dblib.version}</version>
548 </dependency>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500549
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400550 <dependency>
551 <groupId>org.testng</groupId>
552 <artifactId>testng</artifactId>
553 <version>6.11</version>
554 </dependency>
555 <dependency>
556 <groupId>org.springframework</groupId>
557 <artifactId>spring-test</artifactId>
558 <version>${spring.version}</version>
559 </dependency>
560 <dependency>
561 <groupId>org.springframework</groupId>
562 <artifactId>spring-beans</artifactId>
563 <version>${spring.version}</version>
564 </dependency>
565 <dependency>
566 <groupId>org.springframework</groupId>
567 <artifactId>spring-context</artifactId>
568 <version>${spring.version}</version>
569 </dependency>
570 <dependency>
571 <groupId>com.att.eelf</groupId>
572 <artifactId>eelf-core</artifactId>
573 <version>${eelf.version}</version>
574 </dependency>
575 <dependency>
576 <groupId>org.apache.derby</groupId>
577 <artifactId>derby</artifactId>
578 <version>${derby.version}</version>
579 <scope>test</scope>
580 </dependency>
581 </dependencies>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500582
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400583 </dependencyManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500584
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500585
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400586 <reporting>
587 <plugins>
588 <plugin>
589 <artifactId>maven-javadoc-plugin</artifactId>
590 <version>2.10.4</version>
591 <configuration>
592 <failOnError>false</failOnError>
593 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
594 <docletArtifact>
595 <groupId>org.umlgraph</groupId>
596 <artifactId>umlgraph</artifactId>
597 <version>5.6</version>
598 </docletArtifact>
599 <additionalparam>-views</additionalparam>
600 <useStandardDocletOptions>true</useStandardDocletOptions>
601 <excludePackageNames>org.opendaylight.*</excludePackageNames>
602 <additionalDependencies>
603 <additionalDependency>
604 <groupId>org.slf4j</groupId>
605 <artifactId>slf4j-api</artifactId>
606 <version>${slf4j.version}</version>
607 </additionalDependency>
608 <additionalDependency>
609 <groupId>org.antlr</groupId>
610 <artifactId>antlr4</artifactId>
611 <version>${antlr.version}</version>
612 </additionalDependency>
613 <additionalDependency>
614 <groupId>org.antlr</groupId>
615 <artifactId>antlr4-runtime</artifactId>
616 <version>${antlr.version}</version>
617 </additionalDependency>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500618
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400619 <additionalDependency>
620 <groupId>com.sun.jersey</groupId>
621 <artifactId>jersey-client</artifactId>
622 <version>${jersey.json.version}</version>
623 </additionalDependency>
624 <additionalDependency>
625 <groupId>com.sun.jersey</groupId>
626 <artifactId>jersey-core</artifactId>
627 <version>${jersey.json.version}</version>
628 </additionalDependency>
629 <additionalDependency>
630 <groupId>org.apache.httpcomponents</groupId>
631 <artifactId>httpcore-osgi</artifactId>
632 <version>${apache.httpcomponents.core.version}</version>
633 </additionalDependency>
634 <additionalDependency>
635 <groupId>org.apache.httpcomponents</groupId>
636 <artifactId>httpclient-osgi</artifactId>
637 <version>${apache.httpcomponents.client.version}</version>
638 </additionalDependency>
639 <additionalDependency>
640 <groupId>com.fasterxml.jackson.core</groupId>
641 <artifactId>jackson-databind</artifactId>
642 <version>${fasterxml.jackson.version}</version>
643 </additionalDependency>
644 <additionalDependency>
645 <groupId>com.fasterxml.jackson.core</groupId>
646 <artifactId>jackson-annotations</artifactId>
647 <version>${fasterxml.jackson.version}</version>
648 </additionalDependency>
649 <additionalDependency>
650 <groupId>com.fasterxml.jackson.core</groupId>
651 <artifactId>jackson-core</artifactId>
652 <version>${fasterxml.jackson.version}</version>
653 </additionalDependency>
654 <additionalDependency>
655 <groupId>commons-lang</groupId>
656 <artifactId>commons-lang</artifactId>
657 <version>${commons.lang.version}</version>
658 </additionalDependency>
659 </additionalDependencies>
660 </configuration>
661 <reportSets>
662 <reportSet>
663 <reports>
664 <report>javadoc-no-fork</report>
665 <report>test-javadoc-no-fork</report>
666 </reports>
667 </reportSet>
668 <reportSet>
669 <id>aggregate</id>
670 <reports>
671 <report>aggregate</report>
672 <report>test-aggregate</report>
673 </reports>
674 </reportSet>
675 </reportSets>
676 </plugin>
677 <plugin>
678 <groupId>org.apache.maven.plugins</groupId>
679 <artifactId>maven-jxr-plugin</artifactId>
680 <version>2.3</version>
681 <reportSets>
682 <reportSet>
683 <id>aggregate</id>
684 <reports>
685 <report>aggregate</report>
686 <report>test-aggregate</report>
687 </reports>
688 </reportSet>
689 </reportSets>
690 </plugin>
691
692 <plugin>
693 <artifactId>maven-surefire-plugin</artifactId>
694 <version>2.17</version>
695 </plugin>
696 <plugin>
697 <groupId>org.apache.maven.plugins</groupId>
698 <artifactId>maven-changelog-plugin</artifactId>
699 <version>2.3</version>
700 <reportSets>
701 <reportSet>
702 <id>dual-report</id>
703 <configuration>
704 <type>range</type>
705 <range>30</range>
706 </configuration>
707 <reports>
708 <report>changelog</report>
709 <report>file-activity</report>
710 </reports>
711 </reportSet>
712 </reportSets>
713 </plugin>
714 <plugin>
715 <groupId>org.codehaus.mojo</groupId>
716 <artifactId>taglist-maven-plugin</artifactId>
717 <version>2.4</version>
718 </plugin>
719 </plugins>
720 </reporting>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500721
722
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400723 <pluginRepositories>
724 <pluginRepository>
725 <id>onap-public</id>
726 <url>${onap.nexus.public-url}</url>
727 <releases>
728 <enabled>true</enabled>
729 </releases>
730 <snapshots>
731 <enabled>true</enabled>
732 </snapshots>
733 </pluginRepository>
734 <pluginRepository>
735 <id>onap-staging</id>
736 <url>${onap.nexus.staging-url}</url>
737 <releases>
738 <enabled>true</enabled>
739 </releases>
740 <snapshots>
741 <enabled>true</enabled>
742 </snapshots>
743 </pluginRepository>
744 <pluginRepository>
745 <id>onap-snapshot</id>
746 <url>${onap.nexus.snapshot-url}</url>
747 <releases>
748 <enabled>false</enabled>
749 </releases>
750 <snapshots>
751 <enabled>true</enabled>
752 </snapshots>
753 </pluginRepository>
754 <pluginRepository>
755 <id>opendaylight-mirror</id>
756 <name>opendaylight-mirror</name>
757 <url>${opendaylight.nexus.public-url}</url>
758 <releases>
759 <enabled>true</enabled>
760 <updatePolicy>never</updatePolicy>
761 </releases>
762 <snapshots>
763 <enabled>false</enabled>
764 </snapshots>
765 </pluginRepository>
766 <pluginRepository>
767 <id>opendaylight-snapshot</id>
768 <name>opendaylight-snapshot</name>
769 <url>${opendaylight.nexus.snapshot-url}</url>
770 <releases>
771 <enabled>false</enabled>
772 </releases>
773 <snapshots>
774 <enabled>true</enabled>
775 </snapshots>
776 </pluginRepository>
777 <!-- Black Duck plugin dependencies -->
778 <pluginRepository>
779 <id>JCenter</id>
780 <name>JCenter Repository</name>
781 <url>http://jcenter.bintray.com</url>
782 </pluginRepository>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500783
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400784 <pluginRepository>
785 <id>Restlet</id>
786 <name>Restlet Repository</name>
787 <url>http://maven.restlet.com</url>
788 </pluginRepository>
789 </pluginRepositories>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500790
791
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400792 <repositories>
793 <repository>
794 <id>onap-public</id>
795 <url>https://nexus.onap.org/content/groups/public</url>
796 <releases>
797 <enabled>true</enabled>
798 <updatePolicy>never</updatePolicy>
799 </releases>
800 <snapshots>
801 <enabled>true</enabled>
802 <updatePolicy>always</updatePolicy>
803 </snapshots>
804 </repository>
805 <repository>
806 <id>onap-staging</id>
807 <url>https://nexus.onap.org/content/groups/staging</url>
808 <releases>
809 <enabled>true</enabled>
810 <updatePolicy>never</updatePolicy>
811 </releases>
812 <snapshots>
813 <enabled>true</enabled>
814 <updatePolicy>always</updatePolicy>
815 </snapshots>
816 </repository>
817 <repository>
818 <id>ecomp-release</id>
819 <name>onap-repository-releases</name>
820 <url>https://nexus.onap.org/content/repositories/releases</url>
821 <releases>
822 <enabled>true</enabled>
823 <updatePolicy>never</updatePolicy>
824 </releases>
825 <snapshots>
826 <enabled>false</enabled>
827 </snapshots>
828 </repository>
829 <repository>
830 <id>ecomp-snapshot</id>
831 <name>onap-repository-snapshots</name>
832 <url>https://nexus.onap.org/content/repositories/snapshots</url>
833 <releases>
834 <enabled>false</enabled>
835 </releases>
836 <snapshots>
837 <enabled>true</enabled>
838 </snapshots>
839 </repository>
840 <repository>
841 <id>opendaylight-mirror</id>
842 <name>opendaylight-mirror</name>
843 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
844 <releases>
845 <enabled>true</enabled>
846 <updatePolicy>never</updatePolicy>
847 </releases>
848 <snapshots>
849 <enabled>false</enabled>
850 </snapshots>
851 </repository>
852 <repository>
853 <id>opendaylight-snapshot</id>
854 <name>opendaylight-snapshot</name>
855 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
856 <releases>
857 <enabled>false</enabled>
858 </releases>
859 <snapshots>
860 <enabled>true</enabled>
861 </snapshots>
862 </repository>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500863
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400864 </repositories>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500865
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400866 <distributionManagement>
867 <repository>
868 <id>ecomp-releases</id>
Timoney, Dan (dt5972)98d374f2018-10-03 19:47:28 -0400869 <url>https://nexus.onap.org/content/repositories/releases</url>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400870 </repository>
871 <snapshotRepository>
872 <id>ecomp-snapshots</id>
Timoney, Dan (dt5972)98d374f2018-10-03 19:47:28 -0400873 <url>https://nexus.onap.org/content/repositories/snapshots</url>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400874 </snapshotRepository>
875 </distributionManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500876
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400877 <build>
878 <pluginManagement>
879 <plugins>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500880
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400881 <!-- Plugins from ONAP oparent -->
882 <plugin>
883 <groupId>org.apache.maven.plugins</groupId>
884 <artifactId>maven-deploy-plugin</artifactId>
885 <!-- This version supports the "deployAtEnd" parameter -->
886 <version>2.8</version>
887 <configuration>
Gary Wu0cf30742018-08-24 15:17:14 -0700888 <skip/>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400889 </configuration>
890 </plugin>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500891
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400892 <plugin>
893 <groupId>org.apache.maven.plugins</groupId>
894 <artifactId>maven-site-plugin</artifactId>
895 <version>3.6</version>
896 <dependencies>
897 <dependency>
898 <groupId>org.apache.maven.wagon</groupId>
899 <artifactId>wagon-webdav-jackrabbit</artifactId>
900 <version>2.10</version>
901 </dependency>
902 <dependency>
903 <groupId>org.apache.maven.doxia</groupId>
904 <artifactId>doxia-core</artifactId>
905 <version>1.7</version>
906 </dependency>
907 <dependency>
908 <groupId>org.apache.maven.doxia</groupId>
909 <artifactId>doxia-sink-api</artifactId>
910 <version>1.7</version>
911 </dependency>
912 <dependency>
913 <groupId>org.apache.maven.doxia</groupId>
914 <artifactId>doxia-logging-api</artifactId>
915 <version>1.7</version>
916 </dependency>
917 </dependencies>
918 <executions>
919 <execution>
920 <id>attach-descriptor</id>
921 <goals>
922 <goal>attach-descriptor</goal>
923 </goals>
924 </execution>
925 </executions>
926 </plugin>
927 <plugin>
928 <artifactId>maven-checkstyle-plugin</artifactId>
929 <version>2.17</version>
930 <dependencies>
931 <dependency>
932 <groupId>org.onap.oparent</groupId>
933 <artifactId>checkstyle</artifactId>
934 <version>1.1.1</version>
935 </dependency>
936 </dependencies>
937 <executions>
938 <execution>
939 <id>check-license</id>
940 <goals>
941 <goal>check</goal>
942 </goals>
943 <phase>process-sources</phase>
944 <configuration>
945 <configLocation>onap-checkstyle/check-license.xml</configLocation>
946 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
947 <includeResources>false</includeResources>
948 <includeTestSourceDirectory>true</includeTestSourceDirectory>
949 <includeTestResources>false</includeTestResources>
950 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
951 <excludes>
952 </excludes>
953 <failsOnError>false</failsOnError>
954 <consoleOutput>true</consoleOutput>
955 </configuration>
956 </execution>
957 <execution>
958 <id>check-style</id>
959 <goals>
960 <goal>check</goal>
961 </goals>
962 <phase>process-sources</phase>
963 <configuration>
964 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
965 with minor changes -->
966 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
967 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
968 sources directory -->
969 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
970 <includeResources>true</includeResources>
971 <includeTestSourceDirectory>true</includeTestSourceDirectory>
972 <includeTestResources>true</includeTestResources>
973 <excludes>
974 </excludes>
975 <failsOnError>false</failsOnError>
976 <consoleOutput>true</consoleOutput>
977 </configuration>
978 </execution>
979 </executions>
980 </plugin>
981 <plugin>
982 <groupId>org.jacoco</groupId>
983 <artifactId>jacoco-maven-plugin</artifactId>
984 <version>${jacoco.version}</version>
985 <configuration>
986 <!-- Note: This exclusion list should match <sonar.exclusions> property
987 above -->
988 <excludes>
989 <exclude>**/gen/**</exclude>
990 <exclude>**/generated-sources/**</exclude>
991 <exclude>**/yang-gen/**</exclude>
992 <exclude>**/pax/**</exclude>
993 </excludes>
994 </configuration>
995 <executions>
996 <!-- Prepares the property pointing to the JaCoCo runtime agent which
997 is passed as VM argument when Maven the Surefire plugin is executed. -->
998 <execution>
999 <id>pre-unit-test</id>
1000 <goals>
1001 <goal>prepare-agent</goal>
1002 </goals>
1003 <configuration>
1004 <!-- Sets the path to the file which contains the execution data. -->
1005 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
1006 <!-- Sets the name of the property containing the settings for JaCoCo
1007 runtime agent. -->
1008 <propertyName>surefireArgLine</propertyName>
1009 </configuration>
1010 </execution>
1011 <!-- Ensures that the code coverage report for unit tests is created
1012 after unit tests have been run. -->
1013 <execution>
1014 <id>post-unit-test</id>
1015 <phase>test</phase>
1016 <goals>
1017 <goal>report</goal>
1018 </goals>
1019 <configuration>
1020 <!-- Sets the path to the file which contains the execution data. -->
1021 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
1022 <!-- Sets the output directory for the code coverage report. -->
1023 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
1024 </configuration>
1025 </execution>
1026 <execution>
1027 <id>pre-integration-test</id>
1028 <phase>pre-integration-test</phase>
1029 <goals>
1030 <goal>prepare-agent</goal>
1031 </goals>
1032 <configuration>
1033 <!-- Sets the path to the file which contains the execution data. -->
1034 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
1035 <!-- Sets the name of the property containing the settings for JaCoCo
1036 runtime agent. -->
1037 <propertyName>failsafeArgLine</propertyName>
1038 </configuration>
1039 </execution>
1040 <!-- Ensures that the code coverage report for integration tests after
1041 integration tests have been run. -->
1042 <execution>
1043 <id>post-integration-test</id>
1044 <phase>post-integration-test</phase>
1045 <goals>
1046 <goal>report</goal>
1047 </goals>
1048 <configuration>
1049 <!-- Sets the path to the file which contains the execution data. -->
1050 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
1051 <!-- Sets the output directory for the code coverage report. -->
1052 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
1053 </configuration>
1054 </execution>
1055 </executions>
1056 </plugin>
1057 <plugin>
1058 <groupId>org.apache.maven.plugins</groupId>
1059 <artifactId>maven-surefire-plugin</artifactId>
1060 <version>2.19.1</version>
1061 <configuration>
1062 <!-- Sets the VM argument line used when unit tests are run. -->
1063 <argLine>${surefireArgLine}</argLine>
1064 <!-- Excludes integration tests when unit tests are run. -->
1065 <excludes>
1066 <exclude>**/IT*.java</exclude>
1067 </excludes>
1068 </configuration>
1069 </plugin>
1070 <plugin>
1071 <groupId>org.apache.maven.plugins</groupId>
1072 <artifactId>maven-failsafe-plugin</artifactId>
1073 <version>2.19.1</version>
1074 <executions>
1075 <!-- Ensures that both integration-test and verify goals of the Failsafe
1076 Maven plugin are executed. -->
1077 <execution>
1078 <id>integration-tests</id>
1079 <goals>
1080 <goal>integration-test</goal>
1081 <goal>verify</goal>
1082 </goals>
1083 <configuration>
1084 <!-- Sets the VM argument line used when integration tests are run. -->
1085 <argLine>${failsafeArgLine}</argLine>
1086 </configuration>
1087 </execution>
1088 </executions>
1089 </plugin>
1090 <plugin>
1091 <groupId>org.apache.maven.plugins</groupId>
1092 <artifactId>maven-compiler-plugin</artifactId>
1093 <version>${maven.compile.plugin.version}</version>
1094 <configuration>
1095 <source>${java.version.source}</source>
1096 <target>${java.version.target}</target>
1097 </configuration>
1098 </plugin>
1099 <plugin>
1100 <groupId>org.sonarsource.scanner.maven</groupId>
1101 <artifactId>sonar-maven-plugin</artifactId>
1102 <version>3.3.0.603</version>
1103 </plugin>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001104
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001105 <!-- End of plugins from ONAP oparent -->
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001106
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001107 <plugin>
1108 <groupId>org.apache.maven.plugins</groupId>
1109 <artifactId>maven-javadoc-plugin</artifactId>
1110 <version>2.10</version>
1111 <configuration>
1112 <additionalDependencies>
1113 <additionalDependency>
1114 <groupId>org.slf4j</groupId>
1115 <artifactId>slf4j-api</artifactId>
1116 <version>${slf4j.version}</version>
1117 </additionalDependency>
1118 <additionalDependency>
1119 <groupId>org.antlr</groupId>
1120 <artifactId>antlr4</artifactId>
1121 <version>${antlr.version}</version>
1122 </additionalDependency>
1123 <additionalDependency>
1124 <groupId>org.antlr</groupId>
1125 <artifactId>antlr4-runtime</artifactId>
1126 <version>${antlr.version}</version>
1127 </additionalDependency>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001128
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001129 <additionalDependency>
1130 <groupId>com.sun.jersey</groupId>
1131 <artifactId>jersey-client</artifactId>
1132 <version>${jersey.client.version}</version>
1133 </additionalDependency>
1134 <additionalDependency>
1135 <groupId>com.sun.jersey</groupId>
1136 <artifactId>jersey-core</artifactId>
1137 <version>${jersey.version}</version>
1138 </additionalDependency>
1139 <additionalDependency>
1140 <groupId>org.apache.httpcomponents</groupId>
1141 <artifactId>httpcore-osgi</artifactId>
1142 <version>${apache.httpcomponents.core.version}</version>
1143 </additionalDependency>
1144 <additionalDependency>
1145 <groupId>org.apache.httpcomponents</groupId>
1146 <artifactId>httpclient-osgi</artifactId>
1147 <version>${apache.httpcomponents.client.version}</version>
1148 </additionalDependency>
1149 <additionalDependency>
1150 <groupId>com.fasterxml.jackson.core</groupId>
1151 <artifactId>jackson-databind</artifactId>
1152 <version>${jackson.version}</version>
1153 </additionalDependency>
1154 <additionalDependency>
1155 <groupId>com.fasterxml.jackson.core</groupId>
1156 <artifactId>jackson-annotations</artifactId>
1157 <version>${jackson.version}</version>
1158 </additionalDependency>
1159 <additionalDependency>
1160 <groupId>com.fasterxml.jackson.core</groupId>
1161 <artifactId>jackson-core</artifactId>
1162 <version>${jackson.version}</version>
1163 </additionalDependency>
1164 <additionalDependency>
1165 <groupId>commons-lang</groupId>
1166 <artifactId>commons-lang</artifactId>
1167 <version>${commons.lang.version}</version>
1168 </additionalDependency>
1169 </additionalDependencies>
1170 </configuration>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001171
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001172 <executions>
1173 <execution>
1174 <id>aggregate</id>
1175 <goals>
1176 <goal>aggregate</goal>
1177 </goals>
1178 <phase>site</phase>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001179
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001180 </execution>
1181 </executions>
1182 </plugin>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001183
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001184 </plugins>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001185
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001186 </pluginManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001187
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001188 <plugins>
1189 <!-- Plugins from ONAP oparent -->
1190 <plugin>
1191 <artifactId>maven-checkstyle-plugin</artifactId>
1192 </plugin>
1193 <plugin>
1194 <groupId>org.codehaus.mojo</groupId>
1195 <artifactId>build-helper-maven-plugin</artifactId>
1196 <version>1.12</version>
1197 </plugin>
1198 <!-- Jacoco / Sonar -->
1199 <plugin>
1200 <groupId>org.jacoco</groupId>
1201 <artifactId>jacoco-maven-plugin</artifactId>
1202 </plugin>
1203 <plugin>
1204 <groupId>org.apache.maven.plugins</groupId>
1205 <artifactId>maven-surefire-plugin</artifactId>
1206 </plugin>
1207 <plugin>
1208 <groupId>org.apache.maven.plugins</groupId>
1209 <artifactId>maven-failsafe-plugin</artifactId>
1210 </plugin>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001211
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001212 <!-- End of plugins from ONAP oparent -->
1213 <plugin>
1214 <groupId>org.codehaus.mojo</groupId>
1215 <artifactId>properties-maven-plugin</artifactId>
1216 <version>1.0.0</version>
1217 <executions>
1218 <execution>
1219 <goals>
1220 <goal>set-system-properties</goal>
1221 </goals>
1222 <configuration>
1223 <properties>
1224 <property>
1225 <name>maven.wagon.http.ssl.allowall</name>
1226 <value>${ssl.allowall}</value>
1227 </property>
1228 <property>
1229 <name>maven.wagon.http.ssl.insecure</name>
1230 <value>${ssl.insecure}</value>
1231 </property>
1232 </properties>
1233 </configuration>
1234 </execution>
1235 </executions>
1236 </plugin>
1237 <plugin>
1238 <groupId>org.sonatype.plugins</groupId>
1239 <artifactId>nexus-staging-maven-plugin</artifactId>
1240 <version>1.6.7</version>
1241 <extensions>true</extensions>
1242 <configuration>
1243 <nexusUrl>${onap.nexus.url}</nexusUrl>
1244 <stagingProfileId>176c31dfe190a</stagingProfileId>
1245 <serverId>ecomp-staging</serverId>
1246 </configuration>
1247 </plugin>
1248 <plugin>
1249 <groupId>org.codehaus.mojo</groupId>
1250 <artifactId>versions-maven-plugin</artifactId>
1251 <version>2.5</version>
1252 <configuration>
1253 <processAllModules>true</processAllModules>
1254 </configuration>
1255 </plugin>
1256 <plugin>
1257 <artifactId>maven-scm-plugin</artifactId>
1258 <version>1.8.1</version>
1259 <configuration>
1260 <tag>${project.artifactId}-${project.version}</tag>
1261 </configuration>
1262 </plugin>
1263 </plugins>
1264 </build>
1265 <organization>
1266 <name>ONAP</name>
1267 </organization>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001268</project>