blob: b2a76739a60810f983383744807255701f6f788d [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)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.controller</groupId>
18 <artifactId>mdsal-it-parent</artifactId>
Timoney, Dan (dt5972)9341f082019-03-13 16:05:39 -040019 <version>1.8.2</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>
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)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>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400136 <!-- Used by snmp4sdn, yangtools -->
Timoney, Dan (dt5972)9341f082019-03-13 16:05:39 -0400137 <javassist.version>3.24.0-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)9341f082019-03-13 16:05:39 -0400165 <netty.version>4.1.31.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 -->
Timoney, Dan (dt5972)e3948b02019-03-04 11:49:26 -0500443 <profile>
444 <id>nexus-staging</id>
445 <activation>
446 <property>
447 <name>!altDeploymentRepository</name>
448 </property>
449 </activation>
450 <build>
451 <plugins>
452 <plugin>
453 <groupId>org.sonatype.plugins</groupId>
454 <artifactId>nexus-staging-maven-plugin</artifactId>
455 <version>1.6.7</version>
456 <extensions>true</extensions>
457 <configuration>
458 <nexusUrl>https://nexus.onap.org</nexusUrl>
Timoney, Dan (dt5972)7745b8a2019-03-13 15:42:49 -0400459 <stagingProfileId>176c31dfe190a</stagingProfileId>
460 <serverId>ecomp-staging</serverId>
Timoney, Dan (dt5972)e3948b02019-03-04 11:49:26 -0500461 </configuration>
462 </plugin>
463 </plugins>
464 </build>
465 </profile>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500466 <profile>
467 <activation>
468 <file>
469 <exists>src/main/yang</exists>
470 </file>
471 </activation>
472 <build>
473 <plugins>
474 <plugin>
475 <groupId>org.opendaylight.yangtools</groupId>
476 <artifactId>yang-maven-plugin</artifactId>
477 <dependencies>
478 <dependency>
479 <groupId>org.opendaylight.mdsal</groupId>
480 <artifactId>maven-sal-api-gen-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500481 <version>${odl.mdsal.model.version}</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500482 <type>jar</type>
483 </dependency>
484 <dependency>
485 <groupId>org.opendaylight.netconf</groupId>
486 <artifactId>sal-rest-docgen-maven</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500487 <version>${odl.netconf.sal.rest.docgen.version}</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500488 <type>jar</type>
489 </dependency>
490 </dependencies>
491 <executions>
492 <execution>
493 <goals>
494 <goal>generate-sources</goal>
495 </goals>
496 <configuration>
497 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
498 <codeGenerators>
499 <generator>
500 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
501 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
502 </generator>
503 <generator>
504 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
505 <outputBaseDir>target/swagger</outputBaseDir>
506 </generator>
507 </codeGenerators>
508 <inspectDependencies>true</inspectDependencies>
509 </configuration>
510 </execution>
511 </executions>
512 </plugin>
513 </plugins>
514 </build>
515 </profile>
516
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400517 </profiles>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500518
519
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400520 <dependencyManagement>
521 <dependencies>
522 <dependency>
523 <groupId>org.opendaylight.controller</groupId>
524 <artifactId>mdsal-artifacts</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500525 <version>${odl.controller.mdsal.version}</version>
526 <type>pom</type>
527 <scope>import</scope>
528 </dependency>
529 <dependency>
530 <groupId>org.opendaylight.mdsal</groupId>
531 <artifactId>mdsal-artifacts</artifactId>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400532 <version>${odl.mdsal.version}</version>
533 <type>pom</type>
534 <scope>import</scope>
535 </dependency>
536 <dependency>
537 <groupId>org.opendaylight.mdsal.model</groupId>
538 <artifactId>mdsal-model-artifacts</artifactId>
539 <version>${odl.mdsal.model.version}</version>
540 <type>pom</type>
541 <scope>import</scope>
542 </dependency>
543 <dependency>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500544 <groupId>org.opendaylight.netconf</groupId>
545 <artifactId>netconf-artifacts</artifactId>
546 <version>${odl.netconf.netconf.version}</version>
547 <type>pom</type>
548 <scope>import</scope>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500549 </dependency>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500550 <dependency>
551 <groupId>org.opendaylight.netconf</groupId>
552 <artifactId>restconf-artifacts</artifactId>
553 <version>${odl.netconf.restconf.version}</version>
554 <type>pom</type>
555 <scope>import</scope>
556 </dependency>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500557
558 <dependency>
559 <groupId>org.opendaylight.controller</groupId>
560 <artifactId>sal-test-model</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500561 <version>${odl.controller.mdsal.version}</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500562 </dependency>
563 <dependency>
564 <groupId>org.opendaylight.controller</groupId>
565 <artifactId>sal-binding-broker-impl</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500566 <version>${odl.controller.mdsal.version}</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500567 </dependency>
568 <dependency>
569 <groupId>org.opendaylight.controller</groupId>
570 <artifactId>sal-binding-broker-impl</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500571 <version>${odl.controller.mdsal.version}</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500572 <type>test-jar</type>
573 <classifier>tests</classifier>
574 <scope>test</scope>
575 </dependency>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500576
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500577
578 <dependency>
579 <groupId>org.testng</groupId>
580 <artifactId>testng</artifactId>
581 <version>6.11</version>
582 </dependency>
583 <dependency>
584 <groupId>org.springframework</groupId>
585 <artifactId>spring-test</artifactId>
586 <version>${spring.version}</version>
587 </dependency>
588 <dependency>
589 <groupId>org.springframework</groupId>
590 <artifactId>spring-beans</artifactId>
591 <version>${spring.version}</version>
592 </dependency>
593 <dependency>
594 <groupId>org.springframework</groupId>
595 <artifactId>spring-context</artifactId>
596 <version>${spring.version}</version>
597 </dependency>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400598 <dependency>
599 <groupId>com.att.eelf</groupId>
600 <artifactId>eelf-core</artifactId>
601 <version>${eelf.version}</version>
602 </dependency>
603 <dependency>
604 <groupId>org.apache.derby</groupId>
605 <artifactId>derby</artifactId>
606 <version>${derby.version}</version>
607 <scope>test</scope>
608 </dependency>
609 </dependencies>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500610
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400611 </dependencyManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500612
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400613 <pluginRepositories>
614 <pluginRepository>
615 <id>onap-public</id>
616 <url>${onap.nexus.public-url}</url>
617 <releases>
618 <enabled>true</enabled>
619 </releases>
620 <snapshots>
621 <enabled>true</enabled>
622 </snapshots>
623 </pluginRepository>
624 <pluginRepository>
625 <id>onap-staging</id>
626 <url>${onap.nexus.staging-url}</url>
627 <releases>
628 <enabled>true</enabled>
629 </releases>
630 <snapshots>
631 <enabled>true</enabled>
632 </snapshots>
633 </pluginRepository>
634 <pluginRepository>
635 <id>onap-snapshot</id>
636 <url>${onap.nexus.snapshot-url}</url>
637 <releases>
638 <enabled>false</enabled>
639 </releases>
640 <snapshots>
641 <enabled>true</enabled>
642 </snapshots>
643 </pluginRepository>
644 <pluginRepository>
645 <id>opendaylight-mirror</id>
646 <name>opendaylight-mirror</name>
647 <url>${opendaylight.nexus.public-url}</url>
648 <releases>
649 <enabled>true</enabled>
650 <updatePolicy>never</updatePolicy>
651 </releases>
652 <snapshots>
653 <enabled>false</enabled>
654 </snapshots>
655 </pluginRepository>
656 <pluginRepository>
657 <id>opendaylight-snapshot</id>
658 <name>opendaylight-snapshot</name>
659 <url>${opendaylight.nexus.snapshot-url}</url>
660 <releases>
661 <enabled>false</enabled>
662 </releases>
663 <snapshots>
664 <enabled>true</enabled>
665 </snapshots>
666 </pluginRepository>
667 <!-- Black Duck plugin dependencies -->
668 <pluginRepository>
669 <id>JCenter</id>
670 <name>JCenter Repository</name>
671 <url>http://jcenter.bintray.com</url>
672 </pluginRepository>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500673
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400674 <pluginRepository>
675 <id>Restlet</id>
676 <name>Restlet Repository</name>
677 <url>http://maven.restlet.com</url>
678 </pluginRepository>
679 </pluginRepositories>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500680
681
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400682 <repositories>
683 <repository>
684 <id>onap-public</id>
685 <url>https://nexus.onap.org/content/groups/public</url>
686 <releases>
687 <enabled>true</enabled>
688 <updatePolicy>never</updatePolicy>
689 </releases>
690 <snapshots>
691 <enabled>true</enabled>
692 <updatePolicy>always</updatePolicy>
693 </snapshots>
694 </repository>
695 <repository>
696 <id>onap-staging</id>
697 <url>https://nexus.onap.org/content/groups/staging</url>
698 <releases>
699 <enabled>true</enabled>
700 <updatePolicy>never</updatePolicy>
701 </releases>
702 <snapshots>
703 <enabled>true</enabled>
704 <updatePolicy>always</updatePolicy>
705 </snapshots>
706 </repository>
707 <repository>
708 <id>ecomp-release</id>
709 <name>onap-repository-releases</name>
710 <url>https://nexus.onap.org/content/repositories/releases</url>
711 <releases>
712 <enabled>true</enabled>
713 <updatePolicy>never</updatePolicy>
714 </releases>
715 <snapshots>
716 <enabled>false</enabled>
717 </snapshots>
718 </repository>
719 <repository>
720 <id>ecomp-snapshot</id>
721 <name>onap-repository-snapshots</name>
722 <url>https://nexus.onap.org/content/repositories/snapshots</url>
723 <releases>
724 <enabled>false</enabled>
725 </releases>
726 <snapshots>
727 <enabled>true</enabled>
728 </snapshots>
729 </repository>
730 <repository>
731 <id>opendaylight-mirror</id>
732 <name>opendaylight-mirror</name>
733 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
734 <releases>
735 <enabled>true</enabled>
736 <updatePolicy>never</updatePolicy>
737 </releases>
738 <snapshots>
739 <enabled>false</enabled>
740 </snapshots>
741 </repository>
742 <repository>
743 <id>opendaylight-snapshot</id>
744 <name>opendaylight-snapshot</name>
745 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
746 <releases>
747 <enabled>false</enabled>
748 </releases>
749 <snapshots>
750 <enabled>true</enabled>
751 </snapshots>
752 </repository>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500753
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400754 </repositories>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500755
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400756 <distributionManagement>
757 <repository>
758 <id>ecomp-releases</id>
Timoney, Dan (dt5972)98d374f2018-10-03 19:47:28 -0400759 <url>https://nexus.onap.org/content/repositories/releases</url>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400760 </repository>
761 <snapshotRepository>
762 <id>ecomp-snapshots</id>
Timoney, Dan (dt5972)98d374f2018-10-03 19:47:28 -0400763 <url>https://nexus.onap.org/content/repositories/snapshots</url>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400764 </snapshotRepository>
765 </distributionManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500766
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400767 <build>
768 <pluginManagement>
769 <plugins>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500770
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500771 <!-- Plugins from ONAP version (parent of oparent) -->
Timoney, Dan (dt5972)e3948b02019-03-04 11:49:26 -0500772
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400773 <plugin>
774 <groupId>org.apache.maven.plugins</groupId>
775 <artifactId>maven-deploy-plugin</artifactId>
776 <!-- This version supports the "deployAtEnd" parameter -->
777 <version>2.8</version>
778 <configuration>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500779 <skip />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400780 </configuration>
781 </plugin>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400782 <plugin>
783 <groupId>org.apache.maven.plugins</groupId>
784 <artifactId>maven-site-plugin</artifactId>
785 <version>3.6</version>
786 <dependencies>
787 <dependency>
788 <groupId>org.apache.maven.wagon</groupId>
789 <artifactId>wagon-webdav-jackrabbit</artifactId>
790 <version>2.10</version>
791 </dependency>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400792 </dependencies>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400793 </plugin>
794 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500795 <groupId>org.apache.maven.plugins</groupId>
796 <artifactId>maven-enforcer-plugin</artifactId>
797 <version>3.0.0-M2</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400798 <executions>
799 <execution>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500800 <id>enforce-property</id>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400801 <goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500802 <goal>enforce</goal>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400803 </goals>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400804 <configuration>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500805 <rules>
806 <requireProperty>
807 <property>onap.nexus.url</property>
808 <message>You must set a onap.nexus.url property in your
809 ~/.m2/settings.xml. See oparent/settings.xml for an example.</message>
810 </requireProperty>
811 </rules>
812 <fail>true</fail>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400813 </configuration>
814 </execution>
815 <execution>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500816 <id>enforce-no-snapshots</id>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400817 <goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500818 <goal>enforce</goal>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400819 </goals>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400820 <configuration>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500821 <rules>
822 <requireReleaseDeps>
823 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
824 <onlyWhenRelease>true</onlyWhenRelease>
Timoney, Dan (dt5972)5c5d1f02019-01-14 10:44:23 -0500825 <level>WARN</level>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500826 </requireReleaseDeps>
827 </rules>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400828 </configuration>
829 </execution>
830 </executions>
831 </plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500832 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
833 <plugin>
834 <groupId>org.sonarsource.scanner.maven</groupId>
835 <artifactId>sonar-maven-plugin</artifactId>
836 <version>3.2</version>
837 </plugin>
838 <!-- end of plugins from ONAP version (parent of oparent) -->
839
840 <!-- Plugins from ONAP oparent -->
841
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400842 <plugin>
843 <groupId>org.jacoco</groupId>
844 <artifactId>jacoco-maven-plugin</artifactId>
845 <version>${jacoco.version}</version>
846 <configuration>
847 <!-- Note: This exclusion list should match <sonar.exclusions> property
848 above -->
849 <excludes>
850 <exclude>**/gen/**</exclude>
851 <exclude>**/generated-sources/**</exclude>
852 <exclude>**/yang-gen/**</exclude>
853 <exclude>**/pax/**</exclude>
854 </excludes>
855 </configuration>
856 <executions>
857 <!-- Prepares the property pointing to the JaCoCo runtime agent which
858 is passed as VM argument when Maven the Surefire plugin is executed. -->
859 <execution>
860 <id>pre-unit-test</id>
861 <goals>
862 <goal>prepare-agent</goal>
863 </goals>
864 <configuration>
865 <!-- Sets the path to the file which contains the execution data. -->
866 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
867 <!-- Sets the name of the property containing the settings for JaCoCo
868 runtime agent. -->
869 <propertyName>surefireArgLine</propertyName>
870 </configuration>
871 </execution>
872 <!-- Ensures that the code coverage report for unit tests is created
873 after unit tests have been run. -->
874 <execution>
875 <id>post-unit-test</id>
876 <phase>test</phase>
877 <goals>
878 <goal>report</goal>
879 </goals>
880 <configuration>
881 <!-- Sets the path to the file which contains the execution data. -->
882 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
883 <!-- Sets the output directory for the code coverage report. -->
884 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
885 </configuration>
886 </execution>
887 <execution>
888 <id>pre-integration-test</id>
889 <phase>pre-integration-test</phase>
890 <goals>
891 <goal>prepare-agent</goal>
892 </goals>
893 <configuration>
894 <!-- Sets the path to the file which contains the execution data. -->
895 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
896 <!-- Sets the name of the property containing the settings for JaCoCo
897 runtime agent. -->
898 <propertyName>failsafeArgLine</propertyName>
899 </configuration>
900 </execution>
901 <!-- Ensures that the code coverage report for integration tests after
902 integration tests have been run. -->
903 <execution>
904 <id>post-integration-test</id>
905 <phase>post-integration-test</phase>
906 <goals>
907 <goal>report</goal>
908 </goals>
909 <configuration>
910 <!-- Sets the path to the file which contains the execution data. -->
911 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
912 <!-- Sets the output directory for the code coverage report. -->
913 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
914 </configuration>
915 </execution>
916 </executions>
917 </plugin>
918 <plugin>
919 <groupId>org.apache.maven.plugins</groupId>
920 <artifactId>maven-surefire-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500921 <version>2.22.0</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400922 <configuration>
923 <!-- Sets the VM argument line used when unit tests are run. -->
924 <argLine>${surefireArgLine}</argLine>
925 <!-- Excludes integration tests when unit tests are run. -->
926 <excludes>
927 <exclude>**/IT*.java</exclude>
928 </excludes>
929 </configuration>
930 </plugin>
931 <plugin>
932 <groupId>org.apache.maven.plugins</groupId>
933 <artifactId>maven-failsafe-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500934 <version>2.22.0</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400935 <executions>
936 <!-- Ensures that both integration-test and verify goals of the Failsafe
937 Maven plugin are executed. -->
938 <execution>
939 <id>integration-tests</id>
940 <goals>
941 <goal>integration-test</goal>
942 <goal>verify</goal>
943 </goals>
944 <configuration>
945 <!-- Sets the VM argument line used when integration tests are run. -->
946 <argLine>${failsafeArgLine}</argLine>
947 </configuration>
948 </execution>
949 </executions>
950 </plugin>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500951
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400952 <!-- End of plugins from ONAP oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400953 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500954 <groupId>org.codehaus.mojo</groupId>
955 <artifactId>properties-maven-plugin</artifactId>
956 <version>1.0.0</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400957 <executions>
958 <execution>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400959 <goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500960 <goal>set-system-properties</goal>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400961 </goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500962 <configuration>
963 <properties>
964 <property>
965 <name>maven.wagon.http.ssl.allowall</name>
966 <value>${ssl.allowall}</value>
967 </property>
968 <property>
969 <name>maven.wagon.http.ssl.insecure</name>
970 <value>${ssl.insecure}</value>
971 </property>
972 </properties>
973 </configuration>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400974 </execution>
975 </executions>
976 </plugin>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500977
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500978 <plugin>
979 <groupId>org.codehaus.mojo</groupId>
980 <artifactId>versions-maven-plugin</artifactId>
981 <version>2.5</version>
982 <configuration>
983 <processAllModules>true</processAllModules>
984 </configuration>
985 </plugin>
986 <plugin>
987 <artifactId>maven-scm-plugin</artifactId>
988 <version>1.8.1</version>
989 <configuration>
990 <tag>${project.artifactId}-${project.version}</tag>
991 </configuration>
992 </plugin>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400993 </plugins>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400994 </pluginManagement>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400995 <plugins>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500996
997 <!-- Plugins from oparent version (parent of oparent) -->
998 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500999 <groupId>org.apache.maven.plugins</groupId>
1000 <artifactId>maven-deploy-plugin</artifactId>
1001 </plugin>
1002 <plugin>
1003 <groupId>org.apache.maven.plugins</groupId>
1004 <artifactId>maven-site-plugin</artifactId>
1005 </plugin>
1006 <plugin>
1007 <groupId>org.apache.maven.plugins</groupId>
1008 <artifactId>maven-enforcer-plugin</artifactId>
1009 </plugin>
1010 <!-- end of plugins from oparent version (parent of oparent) -->
1011
1012 <!-- Plugins from oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001013 <plugin>
1014 <artifactId>maven-checkstyle-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001015 <version>2.17</version>
1016 <dependencies>
1017 <dependency>
1018 <groupId>org.onap.oparent</groupId>
1019 <artifactId>checkstyle</artifactId>
1020 <version>1.2.2</version>
1021 </dependency>
1022 </dependencies>
1023 <executions>
1024 <execution>
1025 <id>onap-license</id>
1026 <goals>
1027 <goal>check</goal>
1028 </goals>
1029 <phase>process-sources</phase>
1030 <configuration>
1031 <configLocation>onap-checkstyle/check-license.xml</configLocation>
1032 <includeResources>false</includeResources>
1033 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1034 <includeTestResources>false</includeTestResources>
1035 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1036 <excludes>
1037 </excludes>
1038 <consoleOutput>true</consoleOutput>
1039 <failsOnViolation>false</failsOnViolation>
1040 </configuration>
1041 </execution>
1042 <execution>
1043 <id>onap-java-style</id>
1044 <goals>
1045 <goal>check</goal>
1046 </goals>
1047 <phase>process-sources</phase>
1048 <configuration>
1049 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
1050 with minor changes -->
1051 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
1052 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
1053 sources directory -->
1054 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
1055 <includeResources>true</includeResources>
1056 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1057 <includeTestResources>true</includeTestResources>
1058 <excludes>
1059 </excludes>
1060 <consoleOutput>true</consoleOutput>
1061 <failsOnViolation>false</failsOnViolation>
1062 </configuration>
1063 </execution>
1064 </executions>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001065 </plugin>
1066 <plugin>
1067 <groupId>org.codehaus.mojo</groupId>
1068 <artifactId>build-helper-maven-plugin</artifactId>
1069 <version>1.12</version>
1070 </plugin>
1071 <!-- Jacoco / Sonar -->
1072 <plugin>
1073 <groupId>org.jacoco</groupId>
1074 <artifactId>jacoco-maven-plugin</artifactId>
1075 </plugin>
1076 <plugin>
1077 <groupId>org.apache.maven.plugins</groupId>
1078 <artifactId>maven-surefire-plugin</artifactId>
1079 </plugin>
1080 <plugin>
1081 <groupId>org.apache.maven.plugins</groupId>
1082 <artifactId>maven-failsafe-plugin</artifactId>
1083 </plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001084 <!-- end of plugins from oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001085 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001086 <groupId>org.apache.maven.plugins</groupId>
1087 <artifactId>maven-javadoc-plugin</artifactId>
1088 <version>2.10.4</version>
1089 <executions>
1090 <execution>
1091 <id>attach-javadocs</id>
1092 <goals>
1093 <goal>jar</goal>
1094 </goals>
1095 <configuration>
1096 <additionalparam>-Xdoclint:none</additionalparam>
1097 </configuration>
1098 </execution>
1099 </executions>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001100 </plugin>
1101 </plugins>
1102 </build>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001103 <reporting>
1104 <plugins>
1105 <plugin>
1106 <artifactId>maven-javadoc-plugin</artifactId>
1107 <version>2.10.4</version>
1108 <configuration>
1109 <failOnError>false</failOnError>
1110 <additionalparam>-Xdoclint:none</additionalparam>
1111 </configuration>
1112 </plugin>
1113 </plugins>
1114 </reporting>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001115 <organization>
1116 <name>ONAP</name>
1117 </organization>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001118</project>