blob: 17a459b16a3d095e30c270e0e5d24c7818423565 [file] [log] [blame]
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001<?xml version="1.0" encoding="UTF-8"?>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05002<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 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 -05005
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05006 <!-- PLEASE READ !!!!! This file is generated from ccsdk/parent/setup/src/main/template/pom-template.xml
7 Any updates needed should be made to that template and not to the generated
8 pom.xml file -->
Dan Timoney0f2db3f2018-01-25 16:23:27 -05009
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040010 <modelVersion>4.0.0</modelVersion>
11 <packaging>pom</packaging>
12 <groupId>org.onap.ccsdk.parent</groupId>
13 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)9341f082019-03-13 16:05:39 -040014 <version>1.2.2-SNAPSHOT</version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050015
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040016 <parent>
17 <groupId>org.opendaylight.odlparent</groupId>
18 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)9341f082019-03-13 16:05:39 -040019 <version>3.1.5</version>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -050020 <relativePath />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040021 </parent>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050022
23
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040024 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -050025 <url>http://wiki.onap.org</url>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040026 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050027
28
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040029 <issueManagement>
30 <system>JIRA</system>
31 <url>https://jira.onap.org/</url>
32 </issueManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050033
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040034 <properties>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050035
Ruchira Agarwal53574ba2018-07-27 18:47:27 +000036 <!-- properties from oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040037 <maven.compiler.source>1.8</maven.compiler.source>
38 <maven.compiler.target>1.8</maven.compiler.target>
39 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
41 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
42 <!-- sitePath may be overridden in the inheriting POM if desired -->
43 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
44 <jacoco.version>0.7.7.201606060606</jacoco.version>
45 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
46 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
47 <!-- Default Sonar configuration -->
48 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
49 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
50 below -->
51 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
52 <!-- If following file exist, auto-generation of swagger.json will be done -->
53 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
54 <!-- If following file exist, auto-generation of sdk will be done -->
55 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
Ruchira Agarwal53574ba2018-07-27 18:47:27 +000056 <!-- end of properties from oparent -->
Dan Timoney0f2db3f2018-01-25 16:23:27 -050057
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040058 <!-- ONAP repositories -->
59 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
60 <onap.nexus.port>443</onap.nexus.port>
61 <onap.nexus.protocol>https</onap.nexus.protocol>
62 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
63 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
64 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
65 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
66 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
67 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050068
69
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040070 <!-- OpenDaylight repositories -->
71 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
72 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050073
74
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040075 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
76 <java.version.source>1.8</java.version.source>
77 <java.version.target>1.8</java.version.target>
78 <bundle.plugin.version>2.5.0</bundle.plugin.version>
79 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
80 <features.file>features.xml</features.file>
81 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
82 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
83 <checkstyle.skip>true</checkstyle.skip>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050084
85
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040086 <sonar.language>java</sonar.language>
87 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
88 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
89 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
90 <sonar.projectVersion>${project.version}</sonar.projectVersion>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050091
92
93
94
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040095 <!-- CCSDK component versions -->
Timoney, Dan (dt5972)9341f082019-03-13 16:05:39 -040096 <ccsdk.sli.core.version>0.4.2-SNAPSHOT</ccsdk.sli.core.version>
97 <ccsdk.sli.adaptors.version>0.4.2-SNAPSHOT</ccsdk.sli.adaptors.version>
98 <ccsdk.sli.northbound.version>0.4.2-SNAPSHOT</ccsdk.sli.northbound.version>
99 <ccsdk.sli.plugins.version>0.4.2-SNAPSHOT</ccsdk.sli.plugins.version>
100 <ccsdk.distribution.version>0.4.2-SNAPSHOT</ccsdk.distribution.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400101 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
102 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
103 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
104 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
105 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500106
Timoney, Dan (dt5972)b02ff952018-03-05 11:01:26 -0500107
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400108 <!-- Support libraries used by OpenDaylight -->
Timoney, Dan (dt5972)9341f082019-03-13 16:05:39 -0400109 <odl.controller.mdsal.version>1.8.2</odl.controller.mdsal.version>
110 <odl.mdsal.version>2.5.2</odl.mdsal.version>
111 <odl.mdsal.model.version>0.13.2</odl.mdsal.model.version>
112 <odl.netconf.restconf.version>1.8.2</odl.netconf.restconf.version>
113 <odl.netconf.netconf.version>1.5.2</odl.netconf.netconf.version>
114 <odl.netconf.sal.rest.docgen.version>1.8.2</odl.netconf.sal.rest.docgen.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400115 <!-- Used by aaa, vtn -->
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500116 <commons.codec.version>1.11</commons.codec.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400117 <!-- Used by netconf, ovsdb -->
118 <commons.lang3.version>3.7</commons.lang3.version>
119 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
120 <commons.lang.version>2.6</commons.lang.version>
121 <!-- Used by neutron; see also controller, vtn -->
122 <commons.net.version>3.6</commons.net.version>
123 <!-- Used by neutron -->
124 <eclipse.persistence.version>2.7.1</eclipse.persistence.version>
125 <!-- Used by aaa -->
126 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
127 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500128 <gson.version>2.8.5</gson.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400129 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500130 <guava.version>23.6.1-jre</guava.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400131 <!-- Used by lispflowmapping, sxp, vtn/manager -->
132 <hamcrest.version>1.3.1</hamcrest.version>
133 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
134 integration/distribution, snmp4sdn, toolkit, ttp -->
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500135 <jackson.version>2.8.11</jackson.version>
Timoney, Dan (dt5972)66f52b52019-03-22 16:24:19 -0400136 <jackson.bom.version>2.8.11.20181123</jackson.bom.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400137 <!-- Used by snmp4sdn, yangtools -->
Timoney, Dan (dt5972)9341f082019-03-13 16:05:39 -0400138 <javassist.version>3.24.0-GA</javassist.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500139
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400140 <!-- FIXME remove all dependencies for jersey 1.17 after migration all
141 projects -->
142 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all,
143 snmp4sdn, toolkit -->
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500144 <jersey.version>2.25.1</jersey.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400145 <!-- Used by sfc -->
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500146 <jersey.client.version>2.25.1</jersey.client.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500147
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400148 <!-- New packages for jersey migration 1.17 to 2.8 -->
149 <!-- appache.geronimo.bundle for DocGen -->
150 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
151 <org.json.version>20131018</org.json.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500152
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400153 <!-- Used by sfc -->
154 <jettison.version>1.3.8</jettison.version>
155 <!-- Used by persistence -->
156 <jsr305.api.version>3.0.0</jsr305.api.version>
157 <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560
158 is fixed (either in PowerMock or with a new JUnit release) -->
159 <!-- Used everywhere -->
160 <junit.version>4.11</junit.version>
161 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
Timoney, Dan (dt5972)082e5072018-06-18 22:31:42 -0400162 <logback.version>1.2.3</logback.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400163 <!-- Used by nic, sfc, sxp, tsdr -->
164 <mockito.version>1.10.19</mockito.version>
165 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
Timoney, Dan (dt5972)9341f082019-03-13 16:05:39 -0400166 <netty.version>4.1.31.Final</netty.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400167 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity,
168 toolkit -->
169 <slf4j.version>1.7.25</slf4j.version>
170 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit,
171 tsdr, ttp -->
172 <spring.version>3.2.17.RELEASE</spring.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500173
174
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500175
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400176 <!-- Extra support libraries used by SDN-C -->
177 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
178 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
179 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
180 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
181 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
182 <antlr.version>4.7.1</antlr.version>
183 <mysql.connector.version>5.1.39</mysql.connector.version>
184 <mariadb.connector.version>2.1.1</mariadb.connector.version>
185 <h2database.version>1.4.196</h2database.version>
186 <derby.version>10.14.2.0</derby.version>
Timoney, Dan (dt5972)ebc00be2018-03-21 09:00:19 -0400187
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400188 <eelf.version>1.0.0</eelf.version>
189 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
Timoney, Dan (dt5972)2f4cbed2018-05-04 12:05:16 -0400190
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400191 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500192
gaurav9c6de382018-08-21 18:15:00 +0530193 <glassfish.version>2.27</glassfish.version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500194 <skip.karaf.featureTest>true</skip.karaf.featureTest>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400195 </properties>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500196
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400197 <profiles>
198 <!-- Profiles from ONAP oparent -->
199 <profile>
200 <id>generate-json</id>
201 <activation>
202 <file>
203 <exists>${swagger-properties}</exists>
204 </file>
205 <property>
206 <name>swagger-sdk.generate-json</name>
207 </property>
208 </activation>
209 <build>
210 <plugins>
211 <plugin>
212 <groupId>org.codehaus.mojo</groupId>
213 <artifactId>properties-maven-plugin</artifactId>
214 <version>1.0.0</version>
215 <executions>
216 <execution>
217 <phase>initialize</phase>
218 <goals>
219 <goal>read-project-properties</goal>
220 </goals>
221 <configuration>
222 <files>
223 <file>${basedir}/src/main/resources/swagger.properties</file>
224 </files>
225 </configuration>
226 </execution>
227 </executions>
228 </plugin>
229 <plugin>
230 <groupId>com.github.kongchen</groupId>
231 <artifactId>swagger-maven-plugin</artifactId>
232 <version>3.1.4</version>
233 <configuration>
234 <apiSources>
235 <apiSource>
236 <locations>${api-rest-package}</locations>
237 <schemes>http,https</schemes>
238 <host>${api-host-ip}:${api-host-port}</host>
239 <basePath>${api-base-path}</basePath>
240 <info>
241 <title>${api-title}</title>
242 <version>${api-version}</version>
243 <description>${api-description}</description>
244 <license>
245 <name>${api-license}</name>
246 </license>
247 </info>
248 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
249 </apiSource>
250 </apiSources>
251 </configuration>
252 <executions>
253 <execution>
254 <phase>compile</phase>
255 <goals>
256 <goal>generate</goal>
257 </goals>
258 </execution>
259 </executions>
260 </plugin>
261 <plugin>
262 <groupId>org.apache.maven.plugins</groupId>
263 <artifactId>maven-install-plugin</artifactId>
264 <version>2.3.1</version>
265 <executions>
266 <execution>
267 <id>install-file-id</id>
268 <phase>install</phase>
269 <goals>
270 <goal>install-file</goal>
271 </goals>
272 <configuration>
273 <file>${basedir}/src/main/resources/swagger.json</file>
274 <groupId>${project.groupId}</groupId>
275 <artifactId>${project.artifactId}-swagger-schema</artifactId>
276 <version>${project.version}</version>
277 <packaging>json</packaging>
278 </configuration>
279 </execution>
280 </executions>
281 </plugin>
282 </plugins>
283 </build>
284 </profile>
285 <profile>
286 <id>generate-sdk</id>
287 <activation>
288 <file>
289 <exists>${swagger-json}</exists>
290 </file>
291 <property>
292 <name>swagger-sdk.generate-java-sdk</name>
293 </property>
294 </activation>
295 <build>
296 <plugins>
297 <plugin>
298 <groupId>org.apache.maven.plugins</groupId>
299 <artifactId>maven-antrun-plugin</artifactId>
300 <version>1.8</version>
301 <executions>
302 <execution>
303 <phase>initialize</phase>
304 <id>ant-create-script</id>
305 <configuration>
306 <exportAntProperties>true</exportAntProperties>
307 <tasks>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500308 <taskdef resource="net/sf/antcontrib/antlib.xml"
309 classpathref="maven.plugin.classpath" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400310 <condition property="is_windows" value="true">
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500311 <os family="windows" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400312 </condition>
313 <condition property="isLinux" value="true">
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500314 <os family="unix" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400315 </condition>
316 <if>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500317 <equals arg1="${is_windows}" arg2="true" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400318 <then>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500319 <property name="swagger.sdk.script.file"
320 value="generated-source-script.bat" />
321 <echo
322 file="${project.build.directory}${file.separator}generated-source-script.bat"
323 append="true"
324 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
325 <echo
326 file="${project.build.directory}${file.separator}generated-source-script.bat"
327 append="true"
328 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400329 </then>
330 <else>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500331 <property name="swagger.sdk.script.file"
332 value="generated-source-script.sh" />
333 <echo
334 file="${project.build.directory}${file.separator}generated-source-script.sh"
335 append="true"
336 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
337 <echo
338 file="${project.build.directory}${file.separator}generated-source-script.sh"
339 append="true"
340 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
341 <chmod
342 file="${project.build.directory}${file.separator}generated-source-script.sh"
343 perm="755" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400344 </else>
345 </if>
346 </tasks>
347 </configuration>
348 <goals>
349 <goal>run</goal>
350 </goals>
351 </execution>
352 </executions>
353 <dependencies>
354 <dependency>
355 <groupId>ant-contrib</groupId>
356 <artifactId>ant-contrib</artifactId>
357 <version>1.0b3</version>
358 <exclusions>
359 <exclusion>
360 <artifactId>ant</artifactId>
361 <groupId>ant</groupId>
362 </exclusion>
363 </exclusions>
364 </dependency>
365 </dependencies>
366 </plugin>
367 <plugin>
368 <groupId>io.swagger</groupId>
369 <artifactId>swagger-codegen-maven-plugin</artifactId>
370 <version>2.2.1</version>
371 <executions>
372 <execution>
373 <goals>
374 <goal>generate</goal>
375 </goals>
376 <configuration>
377 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
378 <output>${project.build.directory}/generated-sources</output>
379 <language>java</language>
380 <configOptions>
381 <dateLibrary>joda</dateLibrary>
382 </configOptions>
383 <library>jersey2</library>
384 <groupId>${project.groupId}</groupId>
385 <artifactId>${project.artifactId}-java-sdk</artifactId>
386 <artifactVersion>${project.version}</artifactVersion>
387 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
388 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
389 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
390 </configuration>
391 </execution>
392 </executions>
393 </plugin>
394 <plugin>
395 <artifactId>exec-maven-plugin</artifactId>
396 <groupId>org.codehaus.mojo</groupId>
397 <version>1.5.0</version>
398 <executions>
399 <execution>
400 <id>swagger-generate-sources</id>
401 <phase>generate-sources</phase>
402 <goals>
403 <goal>exec</goal>
404 </goals>
405 <configuration>
406 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
407 </configuration>
408 </execution>
409 </executions>
410 </plugin>
411 <plugin>
412 <groupId>org.apache.maven.plugins</groupId>
413 <artifactId>maven-clean-plugin</artifactId>
414 <version>3.0.0</version>
415 <executions>
416 <execution>
417 <id>clean-generated-files</id>
418 <phase>generate-sources</phase>
419 <goals>
420 <goal>clean</goal>
421 </goals>
422 <configuration>
423 <filesets>
424 <fileset>
425 <directory>${project.build.directory}/generated-sources</directory>
426 </fileset>
427 </filesets>
428 </configuration>
429 </execution>
430 </executions>
431 </plugin>
432 </plugins>
433 </build>
434 <dependencies>
435 <dependency>
436 <groupId>org.onap.msb.swagger-sdk</groupId>
437 <artifactId>swagger-sdk</artifactId>
438 <version>1.0.0</version>
439 </dependency>
440 </dependencies>
441 </profile>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500442
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400443 <!-- End of profiles from ONAP oparent -->
Timoney, Dan (dt5972)e3948b02019-03-04 11:49:26 -0500444 <profile>
445 <id>nexus-staging</id>
446 <activation>
447 <property>
448 <name>!altDeploymentRepository</name>
449 </property>
450 </activation>
451 <build>
452 <plugins>
453 <plugin>
454 <groupId>org.sonatype.plugins</groupId>
455 <artifactId>nexus-staging-maven-plugin</artifactId>
456 <version>1.6.7</version>
457 <extensions>true</extensions>
458 <configuration>
459 <nexusUrl>https://nexus.onap.org</nexusUrl>
Timoney, Dan (dt5972)7745b8a2019-03-13 15:42:49 -0400460 <stagingProfileId>176c31dfe190a</stagingProfileId>
461 <serverId>ecomp-staging</serverId>
Timoney, Dan (dt5972)e3948b02019-03-04 11:49:26 -0500462 </configuration>
463 </plugin>
464 </plugins>
465 </build>
466 </profile>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500467 <profile>
468 <activation>
469 <file>
470 <exists>src/main/yang</exists>
471 </file>
472 </activation>
473 <build>
474 <plugins>
475 <plugin>
476 <groupId>org.opendaylight.yangtools</groupId>
477 <artifactId>yang-maven-plugin</artifactId>
Enbo Wang6e542832019-04-09 07:48:10 +0000478 <version>2.1.8</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500479 <dependencies>
480 <dependency>
481 <groupId>org.opendaylight.mdsal</groupId>
482 <artifactId>maven-sal-api-gen-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500483 <version>${odl.mdsal.model.version}</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500484 <type>jar</type>
485 </dependency>
486 <dependency>
487 <groupId>org.opendaylight.netconf</groupId>
488 <artifactId>sal-rest-docgen-maven</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500489 <version>${odl.netconf.sal.rest.docgen.version}</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500490 <type>jar</type>
491 </dependency>
492 </dependencies>
493 <executions>
494 <execution>
495 <goals>
496 <goal>generate-sources</goal>
497 </goals>
498 <configuration>
499 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
500 <codeGenerators>
501 <generator>
502 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
503 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
504 </generator>
505 <generator>
506 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
507 <outputBaseDir>target/swagger</outputBaseDir>
508 </generator>
509 </codeGenerators>
510 <inspectDependencies>true</inspectDependencies>
511 </configuration>
512 </execution>
513 </executions>
514 </plugin>
515 </plugins>
516 </build>
517 </profile>
518
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400519 </profiles>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500520
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500521
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400522 <dependencyManagement>
523 <dependencies>
524 <dependency>
525 <groupId>org.opendaylight.controller</groupId>
526 <artifactId>mdsal-artifacts</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500527 <version>${odl.controller.mdsal.version}</version>
528 <type>pom</type>
529 <scope>import</scope>
530 </dependency>
531 <dependency>
532 <groupId>org.opendaylight.mdsal</groupId>
533 <artifactId>mdsal-artifacts</artifactId>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400534 <version>${odl.mdsal.version}</version>
535 <type>pom</type>
536 <scope>import</scope>
537 </dependency>
538 <dependency>
539 <groupId>org.opendaylight.mdsal.model</groupId>
540 <artifactId>mdsal-model-artifacts</artifactId>
541 <version>${odl.mdsal.model.version}</version>
542 <type>pom</type>
543 <scope>import</scope>
544 </dependency>
545 <dependency>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500546 <groupId>org.opendaylight.netconf</groupId>
547 <artifactId>netconf-artifacts</artifactId>
548 <version>${odl.netconf.netconf.version}</version>
549 <type>pom</type>
550 <scope>import</scope>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500551 </dependency>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500552 <dependency>
553 <groupId>org.opendaylight.netconf</groupId>
554 <artifactId>restconf-artifacts</artifactId>
555 <version>${odl.netconf.restconf.version}</version>
556 <type>pom</type>
557 <scope>import</scope>
558 </dependency>
Timoney, Dan (dt5972)66f52b52019-03-22 16:24:19 -0400559 <dependency>
560 <groupId>com.fasterxml.jackson</groupId>
561 <artifactId>jackson-bom</artifactId>
562 <version>${jackson.bom.version}</version>
563 <type>pom</type>
564 <scope>import</scope>
565 </dependency>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500566
567 <dependency>
568 <groupId>org.opendaylight.controller</groupId>
569 <artifactId>sal-test-model</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500570 <version>${odl.controller.mdsal.version}</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500571 </dependency>
572 <dependency>
573 <groupId>org.opendaylight.controller</groupId>
574 <artifactId>sal-binding-broker-impl</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500575 <version>${odl.controller.mdsal.version}</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500576 </dependency>
577 <dependency>
578 <groupId>org.opendaylight.controller</groupId>
579 <artifactId>sal-binding-broker-impl</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500580 <version>${odl.controller.mdsal.version}</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500581 <type>test-jar</type>
582 <classifier>tests</classifier>
583 <scope>test</scope>
584 </dependency>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500585
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500586
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400587 <dependency>
588 <groupId>org.testng</groupId>
589 <artifactId>testng</artifactId>
590 <version>6.11</version>
591 </dependency>
592 <dependency>
593 <groupId>org.springframework</groupId>
594 <artifactId>spring-test</artifactId>
595 <version>${spring.version}</version>
596 </dependency>
597 <dependency>
598 <groupId>org.springframework</groupId>
599 <artifactId>spring-beans</artifactId>
600 <version>${spring.version}</version>
601 </dependency>
602 <dependency>
603 <groupId>org.springframework</groupId>
604 <artifactId>spring-context</artifactId>
605 <version>${spring.version}</version>
606 </dependency>
607 <dependency>
608 <groupId>com.att.eelf</groupId>
609 <artifactId>eelf-core</artifactId>
610 <version>${eelf.version}</version>
611 </dependency>
612 <dependency>
613 <groupId>org.apache.derby</groupId>
614 <artifactId>derby</artifactId>
615 <version>${derby.version}</version>
616 <scope>test</scope>
617 </dependency>
618 </dependencies>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500619
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400620 </dependencyManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500621
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400622 <pluginRepositories>
623 <pluginRepository>
624 <id>onap-public</id>
625 <url>${onap.nexus.public-url}</url>
626 <releases>
627 <enabled>true</enabled>
628 </releases>
629 <snapshots>
630 <enabled>true</enabled>
631 </snapshots>
632 </pluginRepository>
633 <pluginRepository>
634 <id>onap-staging</id>
635 <url>${onap.nexus.staging-url}</url>
636 <releases>
637 <enabled>true</enabled>
638 </releases>
639 <snapshots>
640 <enabled>true</enabled>
641 </snapshots>
642 </pluginRepository>
643 <pluginRepository>
644 <id>onap-snapshot</id>
645 <url>${onap.nexus.snapshot-url}</url>
646 <releases>
647 <enabled>false</enabled>
648 </releases>
649 <snapshots>
650 <enabled>true</enabled>
651 </snapshots>
652 </pluginRepository>
653 <pluginRepository>
654 <id>opendaylight-mirror</id>
655 <name>opendaylight-mirror</name>
656 <url>${opendaylight.nexus.public-url}</url>
657 <releases>
658 <enabled>true</enabled>
659 <updatePolicy>never</updatePolicy>
660 </releases>
661 <snapshots>
662 <enabled>false</enabled>
663 </snapshots>
664 </pluginRepository>
665 <pluginRepository>
666 <id>opendaylight-snapshot</id>
667 <name>opendaylight-snapshot</name>
668 <url>${opendaylight.nexus.snapshot-url}</url>
669 <releases>
670 <enabled>false</enabled>
671 </releases>
672 <snapshots>
673 <enabled>true</enabled>
674 </snapshots>
675 </pluginRepository>
676 <!-- Black Duck plugin dependencies -->
677 <pluginRepository>
678 <id>JCenter</id>
679 <name>JCenter Repository</name>
680 <url>http://jcenter.bintray.com</url>
681 </pluginRepository>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500682
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400683 <pluginRepository>
684 <id>Restlet</id>
685 <name>Restlet Repository</name>
686 <url>http://maven.restlet.com</url>
687 </pluginRepository>
688 </pluginRepositories>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500689
690
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400691 <repositories>
692 <repository>
693 <id>onap-public</id>
694 <url>https://nexus.onap.org/content/groups/public</url>
695 <releases>
696 <enabled>true</enabled>
697 <updatePolicy>never</updatePolicy>
698 </releases>
699 <snapshots>
700 <enabled>true</enabled>
701 <updatePolicy>always</updatePolicy>
702 </snapshots>
703 </repository>
704 <repository>
705 <id>onap-staging</id>
706 <url>https://nexus.onap.org/content/groups/staging</url>
707 <releases>
708 <enabled>true</enabled>
709 <updatePolicy>never</updatePolicy>
710 </releases>
711 <snapshots>
712 <enabled>true</enabled>
713 <updatePolicy>always</updatePolicy>
714 </snapshots>
715 </repository>
716 <repository>
717 <id>ecomp-release</id>
718 <name>onap-repository-releases</name>
719 <url>https://nexus.onap.org/content/repositories/releases</url>
720 <releases>
721 <enabled>true</enabled>
722 <updatePolicy>never</updatePolicy>
723 </releases>
724 <snapshots>
725 <enabled>false</enabled>
726 </snapshots>
727 </repository>
728 <repository>
729 <id>ecomp-snapshot</id>
730 <name>onap-repository-snapshots</name>
731 <url>https://nexus.onap.org/content/repositories/snapshots</url>
732 <releases>
733 <enabled>false</enabled>
734 </releases>
735 <snapshots>
736 <enabled>true</enabled>
737 </snapshots>
738 </repository>
739 <repository>
740 <id>opendaylight-mirror</id>
741 <name>opendaylight-mirror</name>
742 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
743 <releases>
744 <enabled>true</enabled>
745 <updatePolicy>never</updatePolicy>
746 </releases>
747 <snapshots>
748 <enabled>false</enabled>
749 </snapshots>
750 </repository>
751 <repository>
752 <id>opendaylight-snapshot</id>
753 <name>opendaylight-snapshot</name>
754 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
755 <releases>
756 <enabled>false</enabled>
757 </releases>
758 <snapshots>
759 <enabled>true</enabled>
760 </snapshots>
761 </repository>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500762
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400763 </repositories>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500764
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400765 <distributionManagement>
766 <repository>
767 <id>ecomp-releases</id>
Timoney, Dan (dt5972)98d374f2018-10-03 19:47:28 -0400768 <url>https://nexus.onap.org/content/repositories/releases</url>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400769 </repository>
770 <snapshotRepository>
771 <id>ecomp-snapshots</id>
Timoney, Dan (dt5972)98d374f2018-10-03 19:47:28 -0400772 <url>https://nexus.onap.org/content/repositories/snapshots</url>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400773 </snapshotRepository>
774 </distributionManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500775
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400776 <build>
777 <pluginManagement>
778 <plugins>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500779
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500780 <!-- Plugins from ONAP version (parent of oparent) -->
Timoney, Dan (dt5972)e3948b02019-03-04 11:49:26 -0500781
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400782 <plugin>
783 <groupId>org.apache.maven.plugins</groupId>
784 <artifactId>maven-deploy-plugin</artifactId>
785 <!-- This version supports the "deployAtEnd" parameter -->
786 <version>2.8</version>
787 <configuration>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500788 <skip />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400789 </configuration>
790 </plugin>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400791 <plugin>
792 <groupId>org.apache.maven.plugins</groupId>
793 <artifactId>maven-site-plugin</artifactId>
794 <version>3.6</version>
795 <dependencies>
796 <dependency>
797 <groupId>org.apache.maven.wagon</groupId>
798 <artifactId>wagon-webdav-jackrabbit</artifactId>
799 <version>2.10</version>
800 </dependency>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400801 </dependencies>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400802 </plugin>
803 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500804 <groupId>org.apache.maven.plugins</groupId>
805 <artifactId>maven-enforcer-plugin</artifactId>
806 <version>3.0.0-M2</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400807 <executions>
808 <execution>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500809 <id>enforce-property</id>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400810 <goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500811 <goal>enforce</goal>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400812 </goals>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400813 <configuration>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500814 <rules>
815 <requireProperty>
816 <property>onap.nexus.url</property>
817 <message>You must set a onap.nexus.url property in your
818 ~/.m2/settings.xml. See oparent/settings.xml for an example.</message>
819 </requireProperty>
820 </rules>
821 <fail>true</fail>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400822 </configuration>
823 </execution>
824 <execution>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500825 <id>enforce-no-snapshots</id>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400826 <goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500827 <goal>enforce</goal>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400828 </goals>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400829 <configuration>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500830 <rules>
831 <requireReleaseDeps>
832 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
833 <onlyWhenRelease>true</onlyWhenRelease>
Timoney, Dan (dt5972)5c5d1f02019-01-14 10:44:23 -0500834 <level>WARN</level>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500835 </requireReleaseDeps>
836 </rules>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400837 </configuration>
838 </execution>
839 </executions>
840 </plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500841 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
842 <plugin>
843 <groupId>org.sonarsource.scanner.maven</groupId>
844 <artifactId>sonar-maven-plugin</artifactId>
845 <version>3.2</version>
846 </plugin>
847 <!-- end of plugins from ONAP version (parent of oparent) -->
848
849 <!-- Plugins from ONAP oparent -->
850
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400851 <plugin>
852 <groupId>org.jacoco</groupId>
853 <artifactId>jacoco-maven-plugin</artifactId>
854 <version>${jacoco.version}</version>
855 <configuration>
856 <!-- Note: This exclusion list should match <sonar.exclusions> property
857 above -->
858 <excludes>
859 <exclude>**/gen/**</exclude>
860 <exclude>**/generated-sources/**</exclude>
861 <exclude>**/yang-gen/**</exclude>
862 <exclude>**/pax/**</exclude>
863 </excludes>
864 </configuration>
865 <executions>
866 <!-- Prepares the property pointing to the JaCoCo runtime agent which
867 is passed as VM argument when Maven the Surefire plugin is executed. -->
868 <execution>
869 <id>pre-unit-test</id>
870 <goals>
871 <goal>prepare-agent</goal>
872 </goals>
873 <configuration>
874 <!-- Sets the path to the file which contains the execution data. -->
875 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
876 <!-- Sets the name of the property containing the settings for JaCoCo
877 runtime agent. -->
878 <propertyName>surefireArgLine</propertyName>
879 </configuration>
880 </execution>
881 <!-- Ensures that the code coverage report for unit tests is created
882 after unit tests have been run. -->
883 <execution>
884 <id>post-unit-test</id>
885 <phase>test</phase>
886 <goals>
887 <goal>report</goal>
888 </goals>
889 <configuration>
890 <!-- Sets the path to the file which contains the execution data. -->
891 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
892 <!-- Sets the output directory for the code coverage report. -->
893 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
894 </configuration>
895 </execution>
896 <execution>
897 <id>pre-integration-test</id>
898 <phase>pre-integration-test</phase>
899 <goals>
900 <goal>prepare-agent</goal>
901 </goals>
902 <configuration>
903 <!-- Sets the path to the file which contains the execution data. -->
904 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
905 <!-- Sets the name of the property containing the settings for JaCoCo
906 runtime agent. -->
907 <propertyName>failsafeArgLine</propertyName>
908 </configuration>
909 </execution>
910 <!-- Ensures that the code coverage report for integration tests after
911 integration tests have been run. -->
912 <execution>
913 <id>post-integration-test</id>
914 <phase>post-integration-test</phase>
915 <goals>
916 <goal>report</goal>
917 </goals>
918 <configuration>
919 <!-- Sets the path to the file which contains the execution data. -->
920 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
921 <!-- Sets the output directory for the code coverage report. -->
922 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
923 </configuration>
924 </execution>
925 </executions>
926 </plugin>
927 <plugin>
928 <groupId>org.apache.maven.plugins</groupId>
929 <artifactId>maven-surefire-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500930 <version>2.22.0</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400931 <configuration>
932 <!-- Sets the VM argument line used when unit tests are run. -->
933 <argLine>${surefireArgLine}</argLine>
934 <!-- Excludes integration tests when unit tests are run. -->
935 <excludes>
936 <exclude>**/IT*.java</exclude>
937 </excludes>
938 </configuration>
939 </plugin>
940 <plugin>
941 <groupId>org.apache.maven.plugins</groupId>
942 <artifactId>maven-failsafe-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500943 <version>2.22.0</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400944 <executions>
945 <!-- Ensures that both integration-test and verify goals of the Failsafe
946 Maven plugin are executed. -->
947 <execution>
948 <id>integration-tests</id>
949 <goals>
950 <goal>integration-test</goal>
951 <goal>verify</goal>
952 </goals>
953 <configuration>
954 <!-- Sets the VM argument line used when integration tests are run. -->
955 <argLine>${failsafeArgLine}</argLine>
956 </configuration>
957 </execution>
958 </executions>
959 </plugin>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500960
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400961 <!-- End of plugins from ONAP oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400962 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500963 <groupId>org.codehaus.mojo</groupId>
964 <artifactId>properties-maven-plugin</artifactId>
965 <version>1.0.0</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400966 <executions>
967 <execution>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400968 <goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500969 <goal>set-system-properties</goal>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400970 </goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500971 <configuration>
972 <properties>
973 <property>
974 <name>maven.wagon.http.ssl.allowall</name>
975 <value>${ssl.allowall}</value>
976 </property>
977 <property>
978 <name>maven.wagon.http.ssl.insecure</name>
979 <value>${ssl.insecure}</value>
980 </property>
981 </properties>
982 </configuration>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400983 </execution>
984 </executions>
985 </plugin>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500986
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500987 <plugin>
988 <groupId>org.codehaus.mojo</groupId>
989 <artifactId>versions-maven-plugin</artifactId>
990 <version>2.5</version>
991 <configuration>
992 <processAllModules>true</processAllModules>
993 </configuration>
994 </plugin>
995 <plugin>
996 <artifactId>maven-scm-plugin</artifactId>
997 <version>1.8.1</version>
998 <configuration>
999 <tag>${project.artifactId}-${project.version}</tag>
1000 </configuration>
1001 </plugin>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001002 </plugins>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001003 </pluginManagement>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001004 <plugins>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001005
1006 <!-- Plugins from oparent version (parent of oparent) -->
1007 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001008 <groupId>org.apache.maven.plugins</groupId>
1009 <artifactId>maven-deploy-plugin</artifactId>
1010 </plugin>
1011 <plugin>
1012 <groupId>org.apache.maven.plugins</groupId>
1013 <artifactId>maven-site-plugin</artifactId>
1014 </plugin>
1015 <plugin>
1016 <groupId>org.apache.maven.plugins</groupId>
1017 <artifactId>maven-enforcer-plugin</artifactId>
1018 </plugin>
1019 <!-- end of plugins from oparent version (parent of oparent) -->
1020
1021 <!-- Plugins from oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001022 <plugin>
1023 <artifactId>maven-checkstyle-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001024 <version>2.17</version>
1025 <dependencies>
1026 <dependency>
1027 <groupId>org.onap.oparent</groupId>
1028 <artifactId>checkstyle</artifactId>
1029 <version>1.2.2</version>
1030 </dependency>
1031 </dependencies>
1032 <executions>
1033 <execution>
1034 <id>onap-license</id>
1035 <goals>
1036 <goal>check</goal>
1037 </goals>
1038 <phase>process-sources</phase>
1039 <configuration>
1040 <configLocation>onap-checkstyle/check-license.xml</configLocation>
1041 <includeResources>false</includeResources>
1042 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1043 <includeTestResources>false</includeTestResources>
1044 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1045 <excludes>
1046 </excludes>
1047 <consoleOutput>true</consoleOutput>
1048 <failsOnViolation>false</failsOnViolation>
1049 </configuration>
1050 </execution>
1051 <execution>
1052 <id>onap-java-style</id>
1053 <goals>
1054 <goal>check</goal>
1055 </goals>
1056 <phase>process-sources</phase>
1057 <configuration>
1058 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
1059 with minor changes -->
1060 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
1061 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
1062 sources directory -->
1063 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
1064 <includeResources>true</includeResources>
1065 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1066 <includeTestResources>true</includeTestResources>
1067 <excludes>
1068 </excludes>
1069 <consoleOutput>true</consoleOutput>
1070 <failsOnViolation>false</failsOnViolation>
1071 </configuration>
1072 </execution>
1073 </executions>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001074 </plugin>
1075 <plugin>
1076 <groupId>org.codehaus.mojo</groupId>
1077 <artifactId>build-helper-maven-plugin</artifactId>
1078 <version>1.12</version>
1079 </plugin>
1080 <!-- Jacoco / Sonar -->
1081 <plugin>
1082 <groupId>org.jacoco</groupId>
1083 <artifactId>jacoco-maven-plugin</artifactId>
1084 </plugin>
1085 <plugin>
1086 <groupId>org.apache.maven.plugins</groupId>
1087 <artifactId>maven-surefire-plugin</artifactId>
1088 </plugin>
1089 <plugin>
1090 <groupId>org.apache.maven.plugins</groupId>
1091 <artifactId>maven-failsafe-plugin</artifactId>
1092 </plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001093 <!-- end of plugins from oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001094 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001095 <groupId>org.apache.maven.plugins</groupId>
1096 <artifactId>maven-javadoc-plugin</artifactId>
1097 <version>2.10.4</version>
1098 <executions>
1099 <execution>
1100 <id>attach-javadocs</id>
1101 <goals>
1102 <goal>jar</goal>
1103 </goals>
1104 <configuration>
1105 <additionalparam>-Xdoclint:none</additionalparam>
1106 </configuration>
1107 </execution>
1108 </executions>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001109 </plugin>
1110 </plugins>
1111 </build>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001112 <reporting>
1113 <plugins>
1114 <plugin>
1115 <artifactId>maven-javadoc-plugin</artifactId>
1116 <version>2.10.4</version>
1117 <configuration>
1118 <failOnError>false</failOnError>
1119 <additionalparam>-Xdoclint:none</additionalparam>
1120 </configuration>
1121 </plugin>
1122 </plugins>
1123 </reporting>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001124 <organization>
1125 <name>ONAP</name>
1126 </organization>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001127</project>