blob: 777dd173ca786d918597bfa6682776bbfc282d85 [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>mdsal-it-parent</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -050014 <version>1.2.1-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.controller</groupId>
18 <artifactId>mdsal-it-parent</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -050019 <version>1.8.1</version>
20 <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>
25 <url>http://wiki.onap.org</url>
26 <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)14f04c12019-01-08 16:16:16 -050096 <ccsdk.sli.core.version>0.4.0-SNAPSHOT</ccsdk.sli.core.version>
97 <ccsdk.sli.adaptors.version>0.4.0-SNAPSHOT</ccsdk.sli.adaptors.version>
98 <ccsdk.sli.northbound.version>0.4.0-SNAPSHOT</ccsdk.sli.northbound.version>
99 <ccsdk.sli.plugins.version>0.4.0-SNAPSHOT</ccsdk.sli.plugins.version>
100 <ccsdk.distribution.version>0.4.0-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)79ddeb62018-12-20 08:41:05 -0500109 <odl.controller.mdsal.version>1.8.1</odl.controller.mdsal.version>
110 <odl.mdsal.version>2.5.1</odl.mdsal.version>
111 <odl.mdsal.model.version>0.13.1</odl.mdsal.model.version>
112 <odl.netconf.restconf.version>1.8.1</odl.netconf.restconf.version>
113 <odl.netconf.netconf.version>1.5.1</odl.netconf.netconf.version>
114 <odl.netconf.sal.rest.docgen.version>1.8.1</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>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400136 <!-- Used by snmp4sdn, yangtools -->
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500137 <javassist.version>3.23.1-GA</javassist.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500138
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400139 <!-- FIXME remove all dependencies for jersey 1.17 after migration all
140 projects -->
141 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all,
142 snmp4sdn, toolkit -->
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500143 <jersey.version>2.25.1</jersey.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400144 <!-- Used by sfc -->
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500145 <jersey.client.version>2.25.1</jersey.client.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500146
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400147 <!-- New packages for jersey migration 1.17 to 2.8 -->
148 <!-- appache.geronimo.bundle for DocGen -->
149 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
150 <org.json.version>20131018</org.json.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500151
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400152 <!-- Used by sfc -->
153 <jettison.version>1.3.8</jettison.version>
154 <!-- Used by persistence -->
155 <jsr305.api.version>3.0.0</jsr305.api.version>
156 <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560
157 is fixed (either in PowerMock or with a new JUnit release) -->
158 <!-- Used everywhere -->
159 <junit.version>4.11</junit.version>
160 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
Timoney, Dan (dt5972)082e5072018-06-18 22:31:42 -0400161 <logback.version>1.2.3</logback.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400162 <!-- Used by nic, sfc, sxp, tsdr -->
163 <mockito.version>1.10.19</mockito.version>
164 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500165 <netty.version>4.1.30.Final</netty.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400166 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity,
167 toolkit -->
168 <slf4j.version>1.7.25</slf4j.version>
169 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit,
170 tsdr, ttp -->
171 <spring.version>3.2.17.RELEASE</spring.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500172
173
174
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400175 <!-- Extra support libraries used by SDN-C -->
176 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
177 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
178 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
179 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
180 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
181 <antlr.version>4.7.1</antlr.version>
182 <mysql.connector.version>5.1.39</mysql.connector.version>
183 <mariadb.connector.version>2.1.1</mariadb.connector.version>
184 <h2database.version>1.4.196</h2database.version>
185 <derby.version>10.14.2.0</derby.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500186
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400187 <eelf.version>1.0.0</eelf.version>
188 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
Timoney, Dan (dt5972)ebc00be2018-03-21 09:00:19 -0400189
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400190 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500191
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500192 <glassfish.version>2.27</glassfish.version>
193 <skip.karaf.featureTest>true</skip.karaf.featureTest>
194 </properties>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500195
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400196 <profiles>
197 <!-- Profiles from ONAP oparent -->
198 <profile>
199 <id>generate-json</id>
200 <activation>
201 <file>
202 <exists>${swagger-properties}</exists>
203 </file>
204 <property>
205 <name>swagger-sdk.generate-json</name>
206 </property>
207 </activation>
208 <build>
209 <plugins>
210 <plugin>
211 <groupId>org.codehaus.mojo</groupId>
212 <artifactId>properties-maven-plugin</artifactId>
213 <version>1.0.0</version>
214 <executions>
215 <execution>
216 <phase>initialize</phase>
217 <goals>
218 <goal>read-project-properties</goal>
219 </goals>
220 <configuration>
221 <files>
222 <file>${basedir}/src/main/resources/swagger.properties</file>
223 </files>
224 </configuration>
225 </execution>
226 </executions>
227 </plugin>
228 <plugin>
229 <groupId>com.github.kongchen</groupId>
230 <artifactId>swagger-maven-plugin</artifactId>
231 <version>3.1.4</version>
232 <configuration>
233 <apiSources>
234 <apiSource>
235 <locations>${api-rest-package}</locations>
236 <schemes>http,https</schemes>
237 <host>${api-host-ip}:${api-host-port}</host>
238 <basePath>${api-base-path}</basePath>
239 <info>
240 <title>${api-title}</title>
241 <version>${api-version}</version>
242 <description>${api-description}</description>
243 <license>
244 <name>${api-license}</name>
245 </license>
246 </info>
247 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
248 </apiSource>
249 </apiSources>
250 </configuration>
251 <executions>
252 <execution>
253 <phase>compile</phase>
254 <goals>
255 <goal>generate</goal>
256 </goals>
257 </execution>
258 </executions>
259 </plugin>
260 <plugin>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-install-plugin</artifactId>
263 <version>2.3.1</version>
264 <executions>
265 <execution>
266 <id>install-file-id</id>
267 <phase>install</phase>
268 <goals>
269 <goal>install-file</goal>
270 </goals>
271 <configuration>
272 <file>${basedir}/src/main/resources/swagger.json</file>
273 <groupId>${project.groupId}</groupId>
274 <artifactId>${project.artifactId}-swagger-schema</artifactId>
275 <version>${project.version}</version>
276 <packaging>json</packaging>
277 </configuration>
278 </execution>
279 </executions>
280 </plugin>
281 </plugins>
282 </build>
283 </profile>
284 <profile>
285 <id>generate-sdk</id>
286 <activation>
287 <file>
288 <exists>${swagger-json}</exists>
289 </file>
290 <property>
291 <name>swagger-sdk.generate-java-sdk</name>
292 </property>
293 </activation>
294 <build>
295 <plugins>
296 <plugin>
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-antrun-plugin</artifactId>
299 <version>1.8</version>
300 <executions>
301 <execution>
302 <phase>initialize</phase>
303 <id>ant-create-script</id>
304 <configuration>
305 <exportAntProperties>true</exportAntProperties>
306 <tasks>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500307 <taskdef resource="net/sf/antcontrib/antlib.xml"
308 classpathref="maven.plugin.classpath" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400309 <condition property="is_windows" value="true">
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500310 <os family="windows" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400311 </condition>
312 <condition property="isLinux" value="true">
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500313 <os family="unix" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400314 </condition>
315 <if>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500316 <equals arg1="${is_windows}" arg2="true" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400317 <then>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500318 <property name="swagger.sdk.script.file"
319 value="generated-source-script.bat" />
320 <echo
321 file="${project.build.directory}${file.separator}generated-source-script.bat"
322 append="true"
323 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
324 <echo
325 file="${project.build.directory}${file.separator}generated-source-script.bat"
326 append="true"
327 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400328 </then>
329 <else>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500330 <property name="swagger.sdk.script.file"
331 value="generated-source-script.sh" />
332 <echo
333 file="${project.build.directory}${file.separator}generated-source-script.sh"
334 append="true"
335 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
336 <echo
337 file="${project.build.directory}${file.separator}generated-source-script.sh"
338 append="true"
339 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
340 <chmod
341 file="${project.build.directory}${file.separator}generated-source-script.sh"
342 perm="755" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400343 </else>
344 </if>
345 </tasks>
346 </configuration>
347 <goals>
348 <goal>run</goal>
349 </goals>
350 </execution>
351 </executions>
352 <dependencies>
353 <dependency>
354 <groupId>ant-contrib</groupId>
355 <artifactId>ant-contrib</artifactId>
356 <version>1.0b3</version>
357 <exclusions>
358 <exclusion>
359 <artifactId>ant</artifactId>
360 <groupId>ant</groupId>
361 </exclusion>
362 </exclusions>
363 </dependency>
364 </dependencies>
365 </plugin>
366 <plugin>
367 <groupId>io.swagger</groupId>
368 <artifactId>swagger-codegen-maven-plugin</artifactId>
369 <version>2.2.1</version>
370 <executions>
371 <execution>
372 <goals>
373 <goal>generate</goal>
374 </goals>
375 <configuration>
376 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
377 <output>${project.build.directory}/generated-sources</output>
378 <language>java</language>
379 <configOptions>
380 <dateLibrary>joda</dateLibrary>
381 </configOptions>
382 <library>jersey2</library>
383 <groupId>${project.groupId}</groupId>
384 <artifactId>${project.artifactId}-java-sdk</artifactId>
385 <artifactVersion>${project.version}</artifactVersion>
386 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
387 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
388 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
389 </configuration>
390 </execution>
391 </executions>
392 </plugin>
393 <plugin>
394 <artifactId>exec-maven-plugin</artifactId>
395 <groupId>org.codehaus.mojo</groupId>
396 <version>1.5.0</version>
397 <executions>
398 <execution>
399 <id>swagger-generate-sources</id>
400 <phase>generate-sources</phase>
401 <goals>
402 <goal>exec</goal>
403 </goals>
404 <configuration>
405 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
406 </configuration>
407 </execution>
408 </executions>
409 </plugin>
410 <plugin>
411 <groupId>org.apache.maven.plugins</groupId>
412 <artifactId>maven-clean-plugin</artifactId>
413 <version>3.0.0</version>
414 <executions>
415 <execution>
416 <id>clean-generated-files</id>
417 <phase>generate-sources</phase>
418 <goals>
419 <goal>clean</goal>
420 </goals>
421 <configuration>
422 <filesets>
423 <fileset>
424 <directory>${project.build.directory}/generated-sources</directory>
425 </fileset>
426 </filesets>
427 </configuration>
428 </execution>
429 </executions>
430 </plugin>
431 </plugins>
432 </build>
433 <dependencies>
434 <dependency>
435 <groupId>org.onap.msb.swagger-sdk</groupId>
436 <artifactId>swagger-sdk</artifactId>
437 <version>1.0.0</version>
438 </dependency>
439 </dependencies>
440 </profile>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500441
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400442 <!-- End of profiles from ONAP oparent -->
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500443
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500444 <profile>
445 <activation>
446 <file>
447 <exists>src/main/yang</exists>
448 </file>
449 </activation>
450 <build>
451 <plugins>
452 <plugin>
453 <groupId>org.opendaylight.yangtools</groupId>
454 <artifactId>yang-maven-plugin</artifactId>
455 <dependencies>
456 <dependency>
457 <groupId>org.opendaylight.mdsal</groupId>
458 <artifactId>maven-sal-api-gen-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500459 <version>${odl.mdsal.model.version}</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500460 <type>jar</type>
461 </dependency>
462 <dependency>
463 <groupId>org.opendaylight.netconf</groupId>
464 <artifactId>sal-rest-docgen-maven</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500465 <version>${odl.netconf.sal.rest.docgen.version}</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500466 <type>jar</type>
467 </dependency>
468 </dependencies>
469 <executions>
470 <execution>
471 <goals>
472 <goal>generate-sources</goal>
473 </goals>
474 <configuration>
475 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
476 <codeGenerators>
477 <generator>
478 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
479 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
480 </generator>
481 <generator>
482 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
483 <outputBaseDir>target/swagger</outputBaseDir>
484 </generator>
485 </codeGenerators>
486 <inspectDependencies>true</inspectDependencies>
487 </configuration>
488 </execution>
489 </executions>
490 </plugin>
491 </plugins>
492 </build>
493 </profile>
494
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400495 </profiles>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500496
497
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400498 <dependencyManagement>
499 <dependencies>
500 <dependency>
501 <groupId>org.opendaylight.controller</groupId>
502 <artifactId>mdsal-artifacts</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500503 <version>${odl.controller.mdsal.version}</version>
504 <type>pom</type>
505 <scope>import</scope>
506 </dependency>
507 <dependency>
508 <groupId>org.opendaylight.mdsal</groupId>
509 <artifactId>mdsal-artifacts</artifactId>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400510 <version>${odl.mdsal.version}</version>
511 <type>pom</type>
512 <scope>import</scope>
513 </dependency>
514 <dependency>
515 <groupId>org.opendaylight.mdsal.model</groupId>
516 <artifactId>mdsal-model-artifacts</artifactId>
517 <version>${odl.mdsal.model.version}</version>
518 <type>pom</type>
519 <scope>import</scope>
520 </dependency>
521 <dependency>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500522 <groupId>org.opendaylight.netconf</groupId>
523 <artifactId>netconf-artifacts</artifactId>
524 <version>${odl.netconf.netconf.version}</version>
525 <type>pom</type>
526 <scope>import</scope>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500527 </dependency>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500528 <dependency>
529 <groupId>org.opendaylight.netconf</groupId>
530 <artifactId>restconf-artifacts</artifactId>
531 <version>${odl.netconf.restconf.version}</version>
532 <type>pom</type>
533 <scope>import</scope>
534 </dependency>
535 <dependency>
536 <groupId>org.onap.ccsdk.sli.core</groupId>
537 <artifactId>sli-core-artifacts</artifactId>
538 <version>${ccsdk.sli.core.version}</version>
539 <type>pom</type>
540 <scope>import</scope>
541 </dependency>
542 <dependency>
543 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
544 <artifactId>sli-adaptors-artifacts</artifactId>
545 <version>${ccsdk.sli.adaptors.version}</version>
546 <type>pom</type>
547 <scope>import</scope>
548 </dependency>
549 <dependency>
550 <groupId>org.onap.ccsdk.sli.northbound</groupId>
551 <artifactId>sli-northbound-artifacts</artifactId>
552 <version>${ccsdk.sli.northbound.version}</version>
553 <type>pom</type>
554 <scope>import</scope>
555 </dependency>
556 <dependency>
557 <groupId>org.onap.ccsdk.sli.plugins</groupId>
558 <artifactId>sli-plugins-artifacts</artifactId>
559 <version>${ccsdk.sli.plugins.version}</version>
560 <type>pom</type>
561 <scope>import</scope>
562 </dependency>
563
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500564
565 <dependency>
566 <groupId>org.opendaylight.controller</groupId>
567 <artifactId>sal-test-model</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500568 <version>${odl.controller.mdsal.version}</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500569 </dependency>
570 <dependency>
571 <groupId>org.opendaylight.controller</groupId>
572 <artifactId>sal-binding-broker-impl</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500573 <version>${odl.controller.mdsal.version}</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500574 </dependency>
575 <dependency>
576 <groupId>org.opendaylight.controller</groupId>
577 <artifactId>sal-binding-broker-impl</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500578 <version>${odl.controller.mdsal.version}</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500579 <type>test-jar</type>
580 <classifier>tests</classifier>
581 <scope>test</scope>
582 </dependency>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500583
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500584
585 <dependency>
586 <groupId>org.testng</groupId>
587 <artifactId>testng</artifactId>
588 <version>6.11</version>
589 </dependency>
590 <dependency>
591 <groupId>org.springframework</groupId>
592 <artifactId>spring-test</artifactId>
593 <version>${spring.version}</version>
594 </dependency>
595 <dependency>
596 <groupId>org.springframework</groupId>
597 <artifactId>spring-beans</artifactId>
598 <version>${spring.version}</version>
599 </dependency>
600 <dependency>
601 <groupId>org.springframework</groupId>
602 <artifactId>spring-context</artifactId>
603 <version>${spring.version}</version>
604 </dependency>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400605 <dependency>
606 <groupId>com.att.eelf</groupId>
607 <artifactId>eelf-core</artifactId>
608 <version>${eelf.version}</version>
609 </dependency>
610 <dependency>
611 <groupId>org.apache.derby</groupId>
612 <artifactId>derby</artifactId>
613 <version>${derby.version}</version>
614 <scope>test</scope>
615 </dependency>
616 </dependencies>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500617
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400618 </dependencyManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500619
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400620 <pluginRepositories>
621 <pluginRepository>
622 <id>onap-public</id>
623 <url>${onap.nexus.public-url}</url>
624 <releases>
625 <enabled>true</enabled>
626 </releases>
627 <snapshots>
628 <enabled>true</enabled>
629 </snapshots>
630 </pluginRepository>
631 <pluginRepository>
632 <id>onap-staging</id>
633 <url>${onap.nexus.staging-url}</url>
634 <releases>
635 <enabled>true</enabled>
636 </releases>
637 <snapshots>
638 <enabled>true</enabled>
639 </snapshots>
640 </pluginRepository>
641 <pluginRepository>
642 <id>onap-snapshot</id>
643 <url>${onap.nexus.snapshot-url}</url>
644 <releases>
645 <enabled>false</enabled>
646 </releases>
647 <snapshots>
648 <enabled>true</enabled>
649 </snapshots>
650 </pluginRepository>
651 <pluginRepository>
652 <id>opendaylight-mirror</id>
653 <name>opendaylight-mirror</name>
654 <url>${opendaylight.nexus.public-url}</url>
655 <releases>
656 <enabled>true</enabled>
657 <updatePolicy>never</updatePolicy>
658 </releases>
659 <snapshots>
660 <enabled>false</enabled>
661 </snapshots>
662 </pluginRepository>
663 <pluginRepository>
664 <id>opendaylight-snapshot</id>
665 <name>opendaylight-snapshot</name>
666 <url>${opendaylight.nexus.snapshot-url}</url>
667 <releases>
668 <enabled>false</enabled>
669 </releases>
670 <snapshots>
671 <enabled>true</enabled>
672 </snapshots>
673 </pluginRepository>
674 <!-- Black Duck plugin dependencies -->
675 <pluginRepository>
676 <id>JCenter</id>
677 <name>JCenter Repository</name>
678 <url>http://jcenter.bintray.com</url>
679 </pluginRepository>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500680
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400681 <pluginRepository>
682 <id>Restlet</id>
683 <name>Restlet Repository</name>
684 <url>http://maven.restlet.com</url>
685 </pluginRepository>
686 </pluginRepositories>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500687
688
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400689 <repositories>
690 <repository>
691 <id>onap-public</id>
692 <url>https://nexus.onap.org/content/groups/public</url>
693 <releases>
694 <enabled>true</enabled>
695 <updatePolicy>never</updatePolicy>
696 </releases>
697 <snapshots>
698 <enabled>true</enabled>
699 <updatePolicy>always</updatePolicy>
700 </snapshots>
701 </repository>
702 <repository>
703 <id>onap-staging</id>
704 <url>https://nexus.onap.org/content/groups/staging</url>
705 <releases>
706 <enabled>true</enabled>
707 <updatePolicy>never</updatePolicy>
708 </releases>
709 <snapshots>
710 <enabled>true</enabled>
711 <updatePolicy>always</updatePolicy>
712 </snapshots>
713 </repository>
714 <repository>
715 <id>ecomp-release</id>
716 <name>onap-repository-releases</name>
717 <url>https://nexus.onap.org/content/repositories/releases</url>
718 <releases>
719 <enabled>true</enabled>
720 <updatePolicy>never</updatePolicy>
721 </releases>
722 <snapshots>
723 <enabled>false</enabled>
724 </snapshots>
725 </repository>
726 <repository>
727 <id>ecomp-snapshot</id>
728 <name>onap-repository-snapshots</name>
729 <url>https://nexus.onap.org/content/repositories/snapshots</url>
730 <releases>
731 <enabled>false</enabled>
732 </releases>
733 <snapshots>
734 <enabled>true</enabled>
735 </snapshots>
736 </repository>
737 <repository>
738 <id>opendaylight-mirror</id>
739 <name>opendaylight-mirror</name>
740 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
741 <releases>
742 <enabled>true</enabled>
743 <updatePolicy>never</updatePolicy>
744 </releases>
745 <snapshots>
746 <enabled>false</enabled>
747 </snapshots>
748 </repository>
749 <repository>
750 <id>opendaylight-snapshot</id>
751 <name>opendaylight-snapshot</name>
752 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
753 <releases>
754 <enabled>false</enabled>
755 </releases>
756 <snapshots>
757 <enabled>true</enabled>
758 </snapshots>
759 </repository>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500760
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400761 </repositories>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500762
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400763 <distributionManagement>
764 <repository>
765 <id>ecomp-releases</id>
Timoney, Dan (dt5972)98d374f2018-10-03 19:47:28 -0400766 <url>https://nexus.onap.org/content/repositories/releases</url>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400767 </repository>
768 <snapshotRepository>
769 <id>ecomp-snapshots</id>
Timoney, Dan (dt5972)98d374f2018-10-03 19:47:28 -0400770 <url>https://nexus.onap.org/content/repositories/snapshots</url>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400771 </snapshotRepository>
772 </distributionManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500773
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400774 <build>
775 <pluginManagement>
776 <plugins>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500777
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500778 <!-- Plugins from ONAP version (parent of oparent) -->
779 <plugin>
780 <groupId>org.sonatype.plugins</groupId>
781 <artifactId>nexus-staging-maven-plugin</artifactId>
782 <version>1.6.7</version>
783 <extensions>true</extensions>
784 <configuration>
785 <nexusUrl>${onap.nexus.url}</nexusUrl>
786 <stagingProfileId>176c31dfe190a</stagingProfileId>
787 <serverId>ecomp-staging</serverId>
788 </configuration>
789 </plugin>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400790 <plugin>
791 <groupId>org.apache.maven.plugins</groupId>
792 <artifactId>maven-deploy-plugin</artifactId>
793 <!-- This version supports the "deployAtEnd" parameter -->
794 <version>2.8</version>
795 <configuration>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500796 <skip />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400797 </configuration>
798 </plugin>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400799 <plugin>
800 <groupId>org.apache.maven.plugins</groupId>
801 <artifactId>maven-site-plugin</artifactId>
802 <version>3.6</version>
803 <dependencies>
804 <dependency>
805 <groupId>org.apache.maven.wagon</groupId>
806 <artifactId>wagon-webdav-jackrabbit</artifactId>
807 <version>2.10</version>
808 </dependency>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400809 </dependencies>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400810 </plugin>
811 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500812 <groupId>org.apache.maven.plugins</groupId>
813 <artifactId>maven-enforcer-plugin</artifactId>
814 <version>3.0.0-M2</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400815 <executions>
816 <execution>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500817 <id>enforce-property</id>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400818 <goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500819 <goal>enforce</goal>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400820 </goals>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400821 <configuration>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500822 <rules>
823 <requireProperty>
824 <property>onap.nexus.url</property>
825 <message>You must set a onap.nexus.url property in your
826 ~/.m2/settings.xml. See oparent/settings.xml for an example.</message>
827 </requireProperty>
828 </rules>
829 <fail>true</fail>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400830 </configuration>
831 </execution>
832 <execution>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500833 <id>enforce-no-snapshots</id>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400834 <goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500835 <goal>enforce</goal>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400836 </goals>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400837 <configuration>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500838 <rules>
839 <requireReleaseDeps>
840 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
841 <onlyWhenRelease>true</onlyWhenRelease>
842 <level>ERROR</level>
843 </requireReleaseDeps>
844 </rules>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400845 </configuration>
846 </execution>
847 </executions>
848 </plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500849 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
850 <plugin>
851 <groupId>org.sonarsource.scanner.maven</groupId>
852 <artifactId>sonar-maven-plugin</artifactId>
853 <version>3.2</version>
854 </plugin>
855 <!-- end of plugins from ONAP version (parent of oparent) -->
856
857 <!-- Plugins from ONAP oparent -->
858
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400859 <plugin>
860 <groupId>org.jacoco</groupId>
861 <artifactId>jacoco-maven-plugin</artifactId>
862 <version>${jacoco.version}</version>
863 <configuration>
864 <!-- Note: This exclusion list should match <sonar.exclusions> property
865 above -->
866 <excludes>
867 <exclude>**/gen/**</exclude>
868 <exclude>**/generated-sources/**</exclude>
869 <exclude>**/yang-gen/**</exclude>
870 <exclude>**/pax/**</exclude>
871 </excludes>
872 </configuration>
873 <executions>
874 <!-- Prepares the property pointing to the JaCoCo runtime agent which
875 is passed as VM argument when Maven the Surefire plugin is executed. -->
876 <execution>
877 <id>pre-unit-test</id>
878 <goals>
879 <goal>prepare-agent</goal>
880 </goals>
881 <configuration>
882 <!-- Sets the path to the file which contains the execution data. -->
883 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
884 <!-- Sets the name of the property containing the settings for JaCoCo
885 runtime agent. -->
886 <propertyName>surefireArgLine</propertyName>
887 </configuration>
888 </execution>
889 <!-- Ensures that the code coverage report for unit tests is created
890 after unit tests have been run. -->
891 <execution>
892 <id>post-unit-test</id>
893 <phase>test</phase>
894 <goals>
895 <goal>report</goal>
896 </goals>
897 <configuration>
898 <!-- Sets the path to the file which contains the execution data. -->
899 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
900 <!-- Sets the output directory for the code coverage report. -->
901 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
902 </configuration>
903 </execution>
904 <execution>
905 <id>pre-integration-test</id>
906 <phase>pre-integration-test</phase>
907 <goals>
908 <goal>prepare-agent</goal>
909 </goals>
910 <configuration>
911 <!-- Sets the path to the file which contains the execution data. -->
912 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
913 <!-- Sets the name of the property containing the settings for JaCoCo
914 runtime agent. -->
915 <propertyName>failsafeArgLine</propertyName>
916 </configuration>
917 </execution>
918 <!-- Ensures that the code coverage report for integration tests after
919 integration tests have been run. -->
920 <execution>
921 <id>post-integration-test</id>
922 <phase>post-integration-test</phase>
923 <goals>
924 <goal>report</goal>
925 </goals>
926 <configuration>
927 <!-- Sets the path to the file which contains the execution data. -->
928 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
929 <!-- Sets the output directory for the code coverage report. -->
930 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
931 </configuration>
932 </execution>
933 </executions>
934 </plugin>
935 <plugin>
936 <groupId>org.apache.maven.plugins</groupId>
937 <artifactId>maven-surefire-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500938 <version>2.22.0</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400939 <configuration>
940 <!-- Sets the VM argument line used when unit tests are run. -->
941 <argLine>${surefireArgLine}</argLine>
942 <!-- Excludes integration tests when unit tests are run. -->
943 <excludes>
944 <exclude>**/IT*.java</exclude>
945 </excludes>
946 </configuration>
947 </plugin>
948 <plugin>
949 <groupId>org.apache.maven.plugins</groupId>
950 <artifactId>maven-failsafe-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500951 <version>2.22.0</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400952 <executions>
953 <!-- Ensures that both integration-test and verify goals of the Failsafe
954 Maven plugin are executed. -->
955 <execution>
956 <id>integration-tests</id>
957 <goals>
958 <goal>integration-test</goal>
959 <goal>verify</goal>
960 </goals>
961 <configuration>
962 <!-- Sets the VM argument line used when integration tests are run. -->
963 <argLine>${failsafeArgLine}</argLine>
964 </configuration>
965 </execution>
966 </executions>
967 </plugin>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500968
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400969 <!-- End of plugins from ONAP oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400970 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500971 <groupId>org.codehaus.mojo</groupId>
972 <artifactId>properties-maven-plugin</artifactId>
973 <version>1.0.0</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400974 <executions>
975 <execution>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400976 <goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500977 <goal>set-system-properties</goal>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400978 </goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500979 <configuration>
980 <properties>
981 <property>
982 <name>maven.wagon.http.ssl.allowall</name>
983 <value>${ssl.allowall}</value>
984 </property>
985 <property>
986 <name>maven.wagon.http.ssl.insecure</name>
987 <value>${ssl.insecure}</value>
988 </property>
989 </properties>
990 </configuration>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400991 </execution>
992 </executions>
993 </plugin>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500994
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500995 <plugin>
996 <groupId>org.codehaus.mojo</groupId>
997 <artifactId>versions-maven-plugin</artifactId>
998 <version>2.5</version>
999 <configuration>
1000 <processAllModules>true</processAllModules>
1001 </configuration>
1002 </plugin>
1003 <plugin>
1004 <artifactId>maven-scm-plugin</artifactId>
1005 <version>1.8.1</version>
1006 <configuration>
1007 <tag>${project.artifactId}-${project.version}</tag>
1008 </configuration>
1009 </plugin>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001010 </plugins>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001011 </pluginManagement>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001012 <plugins>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001013
1014 <!-- Plugins from oparent version (parent of oparent) -->
1015 <plugin>
1016 <groupId>org.sonatype.plugins</groupId>
1017 <artifactId>nexus-staging-maven-plugin</artifactId>
1018 </plugin>
1019 <plugin>
1020 <groupId>org.apache.maven.plugins</groupId>
1021 <artifactId>maven-deploy-plugin</artifactId>
1022 </plugin>
1023 <plugin>
1024 <groupId>org.apache.maven.plugins</groupId>
1025 <artifactId>maven-site-plugin</artifactId>
1026 </plugin>
1027 <plugin>
1028 <groupId>org.apache.maven.plugins</groupId>
1029 <artifactId>maven-enforcer-plugin</artifactId>
1030 </plugin>
1031 <!-- end of plugins from oparent version (parent of oparent) -->
1032
1033 <!-- Plugins from oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001034 <plugin>
1035 <artifactId>maven-checkstyle-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001036 <version>2.17</version>
1037 <dependencies>
1038 <dependency>
1039 <groupId>org.onap.oparent</groupId>
1040 <artifactId>checkstyle</artifactId>
1041 <version>1.2.2</version>
1042 </dependency>
1043 </dependencies>
1044 <executions>
1045 <execution>
1046 <id>onap-license</id>
1047 <goals>
1048 <goal>check</goal>
1049 </goals>
1050 <phase>process-sources</phase>
1051 <configuration>
1052 <configLocation>onap-checkstyle/check-license.xml</configLocation>
1053 <includeResources>false</includeResources>
1054 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1055 <includeTestResources>false</includeTestResources>
1056 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1057 <excludes>
1058 </excludes>
1059 <consoleOutput>true</consoleOutput>
1060 <failsOnViolation>false</failsOnViolation>
1061 </configuration>
1062 </execution>
1063 <execution>
1064 <id>onap-java-style</id>
1065 <goals>
1066 <goal>check</goal>
1067 </goals>
1068 <phase>process-sources</phase>
1069 <configuration>
1070 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
1071 with minor changes -->
1072 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
1073 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
1074 sources directory -->
1075 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
1076 <includeResources>true</includeResources>
1077 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1078 <includeTestResources>true</includeTestResources>
1079 <excludes>
1080 </excludes>
1081 <consoleOutput>true</consoleOutput>
1082 <failsOnViolation>false</failsOnViolation>
1083 </configuration>
1084 </execution>
1085 </executions>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001086 </plugin>
1087 <plugin>
1088 <groupId>org.codehaus.mojo</groupId>
1089 <artifactId>build-helper-maven-plugin</artifactId>
1090 <version>1.12</version>
1091 </plugin>
1092 <!-- Jacoco / Sonar -->
1093 <plugin>
1094 <groupId>org.jacoco</groupId>
1095 <artifactId>jacoco-maven-plugin</artifactId>
1096 </plugin>
1097 <plugin>
1098 <groupId>org.apache.maven.plugins</groupId>
1099 <artifactId>maven-surefire-plugin</artifactId>
1100 </plugin>
1101 <plugin>
1102 <groupId>org.apache.maven.plugins</groupId>
1103 <artifactId>maven-failsafe-plugin</artifactId>
1104 </plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001105 <!-- end of plugins from oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001106 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001107 <groupId>org.apache.maven.plugins</groupId>
1108 <artifactId>maven-javadoc-plugin</artifactId>
1109 <version>2.10.4</version>
1110 <executions>
1111 <execution>
1112 <id>attach-javadocs</id>
1113 <goals>
1114 <goal>jar</goal>
1115 </goals>
1116 <configuration>
1117 <additionalparam>-Xdoclint:none</additionalparam>
1118 </configuration>
1119 </execution>
1120 </executions>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001121 </plugin>
1122 </plugins>
1123 </build>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001124 <reporting>
1125 <plugins>
1126 <plugin>
1127 <artifactId>maven-javadoc-plugin</artifactId>
1128 <version>2.10.4</version>
1129 <configuration>
1130 <failOnError>false</failOnError>
1131 <additionalparam>-Xdoclint:none</additionalparam>
1132 </configuration>
1133 </plugin>
1134 </plugins>
1135 </reporting>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001136 <organization>
1137 <name>ONAP</name>
1138 </organization>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001139</project>