blob: dfa5eb4b39a68b6ae2c99dc5c1c93800771d2b29 [file] [log] [blame]
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001<?xml version="1.0" encoding="UTF-8"?>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05002<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
Dan Timoney0f2db3f2018-01-25 16:23:27 -05005
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05006 <!-- PLEASE READ !!!!! This file is generated from ccsdk/parent/setup/src/main/template/pom-template.xml
7 Any updates needed should be made to that template and not to the generated
8 pom.xml file -->
Dan Timoney0f2db3f2018-01-25 16:23:27 -05009
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040010 <modelVersion>4.0.0</modelVersion>
11 <packaging>pom</packaging>
12 <groupId>org.onap.ccsdk.parent</groupId>
13 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)e45b6a22019-09-10 14:47:58 -040014 <version>1.5.0-SNAPSHOT</version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050015
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040016 <parent>
17 <groupId>org.opendaylight.odlparent</groupId>
18 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -040019 <version>4.0.10</version>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -050020 <relativePath />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040021 </parent>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050022
23
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040024 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -050025 <url>http://wiki.onap.org</url>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040026 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050027
28
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040029 <issueManagement>
30 <system>JIRA</system>
31 <url>https://jira.onap.org/</url>
32 </issueManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050033
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040034 <properties>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050035
Ruchira Agarwal53574ba2018-07-27 18:47:27 +000036 <!-- properties from oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040037 <maven.compiler.source>1.8</maven.compiler.source>
38 <maven.compiler.target>1.8</maven.compiler.target>
39 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
41 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
42 <!-- sitePath may be overridden in the inheriting POM if desired -->
43 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
44 <jacoco.version>0.7.7.201606060606</jacoco.version>
45 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
46 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
47 <!-- Default Sonar configuration -->
48 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
49 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
50 below -->
51 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
52 <!-- If following file exist, auto-generation of swagger.json will be done -->
53 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
54 <!-- If following file exist, auto-generation of sdk will be done -->
55 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
Ruchira Agarwal53574ba2018-07-27 18:47:27 +000056 <!-- end of properties from oparent -->
Dan Timoney0f2db3f2018-01-25 16:23:27 -050057
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040058 <!-- ONAP repositories -->
59 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
60 <onap.nexus.port>443</onap.nexus.port>
61 <onap.nexus.protocol>https</onap.nexus.protocol>
62 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
63 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
64 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
65 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
66 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
67 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050068
69
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040070 <!-- OpenDaylight repositories -->
71 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
72 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050073
74
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040075 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
76 <java.version.source>1.8</java.version.source>
77 <java.version.target>1.8</java.version.target>
78 <bundle.plugin.version>2.5.0</bundle.plugin.version>
79 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
80 <features.file>features.xml</features.file>
81 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
82 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
83 <checkstyle.skip>true</checkstyle.skip>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050084
85
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040086 <sonar.language>java</sonar.language>
87 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
88 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
89 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
90 <sonar.projectVersion>${project.version}</sonar.projectVersion>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050091
92
93
94
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040095 <!-- CCSDK component versions -->
Timoney, Dan (dt5972)e45b6a22019-09-10 14:47:58 -040096 <ccsdk.sli.core.version>0.7.0-SNAPSHOT</ccsdk.sli.core.version>
97 <ccsdk.sli.adaptors.version>0.7.0-SNAPSHOT</ccsdk.sli.adaptors.version>
98 <ccsdk.sli.northbound.version>0.7.0-SNAPSHOT</ccsdk.sli.northbound.version>
99 <ccsdk.sli.plugins.version>0.7.0-SNAPSHOT</ccsdk.sli.plugins.version>
100 <ccsdk.distribution.version>0.7.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)135e4072019-07-01 13:08:58 -0400109 <odl.controller.mdsal.version>1.9.1</odl.controller.mdsal.version>
110 <odl.mdsal.version>3.0.8</odl.mdsal.version>
111 <odl.mdsal.model.version>1.0.8</odl.mdsal.model.version>
112 <odl.netconf.restconf.version>1.9.1</odl.netconf.restconf.version>
113 <odl.netconf.netconf.version>1.6.1</odl.netconf.netconf.version>
114 <odl.netconf.sal.rest.docgen.version>1.9.1</odl.netconf.sal.rest.docgen.version>
115
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400116 <!-- Used by aaa, vtn -->
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400117 <commons.codec.version>1.12</commons.codec.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400118 <!-- Used by netconf, ovsdb -->
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400119 <commons.lang3.version>3.8.1</commons.lang3.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400120 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
121 <commons.lang.version>2.6</commons.lang.version>
122 <!-- Used by neutron; see also controller, vtn -->
123 <commons.net.version>3.6</commons.net.version>
124 <!-- Used by neutron -->
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400125 <eclipse.persistence.version>2.7.3</eclipse.persistence.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400126 <!-- Used by aaa -->
127 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
128 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500129 <gson.version>2.8.5</gson.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400130 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400131 <guava.version>25.1-jre</guava.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400132 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
133 integration/distribution, snmp4sdn, toolkit, ttp -->
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400134 <jackson.version>2.9.8</jackson.version>
135 <jackson.bom.version>2.9.8</jackson.bom.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400136 <!-- Used by snmp4sdn, yangtools -->
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400137 <javassist.version>3.24.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
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400152
153
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400154 <!-- Used everywhere -->
Stan Bonev29e82cf2019-05-09 14:52:16 -0400155 <junit.version>4.12</junit.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400156 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
Timoney, Dan (dt5972)082e5072018-06-18 22:31:42 -0400157 <logback.version>1.2.3</logback.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400158 <!-- Used by nic, sfc, sxp, tsdr -->
159 <mockito.version>1.10.19</mockito.version>
160 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400161 <netty.version>4.1.34.Final</netty.version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400162 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity,
163 toolkit -->
164 <slf4j.version>1.7.25</slf4j.version>
165 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit,
166 tsdr, ttp -->
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400167 <spring.version>4.3.24.RELEASE</spring.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500168
169
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500170
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400171 <!-- Extra support libraries used by SDN-C -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400172 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
173 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400174 <antlr.version>4.7.2</antlr.version>
Timoney, Dan (dt5972)ebc00be2018-03-21 09:00:19 -0400175
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400176 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
Timoney, Dan (dt5972)2f4cbed2018-05-04 12:05:16 -0400177
Timoney, Dan (dt5972)bbcacd22019-06-18 10:42:07 -0400178
179 <!-- Managed dependency versions -->
180 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
181 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
182 <derby.version>10.14.2.0</derby.version>
183 <eelf.version>1.0.0</eelf.version>
184 <grpc.version>1.17.1</grpc.version>
Timoney, Dan (dt5972)ab6a0162019-09-03 13:37:39 -0400185 <mariadb.connector.version>2.1.1</mariadb.connector.version>
Timoney, Dan (dt5972)bbcacd22019-06-18 10:42:07 -0400186 <mariadb4j.version>2.2.3</mariadb4j.version>
Timoney, Dan (dt5972)bbcacd22019-06-18 10:42:07 -0400187 <testng.version>6.11</testng.version>
188 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400189 <jetty.version>9.4.12.v20180830</jetty.version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500190 <skip.karaf.featureTest>true</skip.karaf.featureTest>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400191 </properties>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500192
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400193 <profiles>
194 <!-- Profiles from ONAP oparent -->
195 <profile>
196 <id>generate-json</id>
197 <activation>
198 <file>
199 <exists>${swagger-properties}</exists>
200 </file>
201 <property>
202 <name>swagger-sdk.generate-json</name>
203 </property>
204 </activation>
205 <build>
206 <plugins>
207 <plugin>
208 <groupId>org.codehaus.mojo</groupId>
209 <artifactId>properties-maven-plugin</artifactId>
210 <version>1.0.0</version>
211 <executions>
212 <execution>
213 <phase>initialize</phase>
214 <goals>
215 <goal>read-project-properties</goal>
216 </goals>
217 <configuration>
218 <files>
219 <file>${basedir}/src/main/resources/swagger.properties</file>
220 </files>
221 </configuration>
222 </execution>
223 </executions>
224 </plugin>
225 <plugin>
226 <groupId>com.github.kongchen</groupId>
227 <artifactId>swagger-maven-plugin</artifactId>
228 <version>3.1.4</version>
229 <configuration>
230 <apiSources>
231 <apiSource>
232 <locations>${api-rest-package}</locations>
233 <schemes>http,https</schemes>
234 <host>${api-host-ip}:${api-host-port}</host>
235 <basePath>${api-base-path}</basePath>
236 <info>
237 <title>${api-title}</title>
238 <version>${api-version}</version>
239 <description>${api-description}</description>
240 <license>
241 <name>${api-license}</name>
242 </license>
243 </info>
244 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
245 </apiSource>
246 </apiSources>
247 </configuration>
248 <executions>
249 <execution>
250 <phase>compile</phase>
251 <goals>
252 <goal>generate</goal>
253 </goals>
254 </execution>
255 </executions>
256 </plugin>
257 <plugin>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-install-plugin</artifactId>
260 <version>2.3.1</version>
261 <executions>
262 <execution>
263 <id>install-file-id</id>
264 <phase>install</phase>
265 <goals>
266 <goal>install-file</goal>
267 </goals>
268 <configuration>
269 <file>${basedir}/src/main/resources/swagger.json</file>
270 <groupId>${project.groupId}</groupId>
271 <artifactId>${project.artifactId}-swagger-schema</artifactId>
272 <version>${project.version}</version>
273 <packaging>json</packaging>
274 </configuration>
275 </execution>
276 </executions>
277 </plugin>
278 </plugins>
279 </build>
280 </profile>
281 <profile>
282 <id>generate-sdk</id>
283 <activation>
284 <file>
285 <exists>${swagger-json}</exists>
286 </file>
287 <property>
288 <name>swagger-sdk.generate-java-sdk</name>
289 </property>
290 </activation>
291 <build>
292 <plugins>
293 <plugin>
294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-antrun-plugin</artifactId>
296 <version>1.8</version>
297 <executions>
298 <execution>
299 <phase>initialize</phase>
300 <id>ant-create-script</id>
301 <configuration>
302 <exportAntProperties>true</exportAntProperties>
303 <tasks>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500304 <taskdef resource="net/sf/antcontrib/antlib.xml"
305 classpathref="maven.plugin.classpath" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400306 <condition property="is_windows" value="true">
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500307 <os family="windows" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400308 </condition>
309 <condition property="isLinux" value="true">
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500310 <os family="unix" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400311 </condition>
312 <if>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500313 <equals arg1="${is_windows}" arg2="true" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400314 <then>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500315 <property name="swagger.sdk.script.file"
316 value="generated-source-script.bat" />
317 <echo
318 file="${project.build.directory}${file.separator}generated-source-script.bat"
319 append="true"
320 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
321 <echo
322 file="${project.build.directory}${file.separator}generated-source-script.bat"
323 append="true"
324 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400325 </then>
326 <else>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500327 <property name="swagger.sdk.script.file"
328 value="generated-source-script.sh" />
329 <echo
330 file="${project.build.directory}${file.separator}generated-source-script.sh"
331 append="true"
332 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
333 <echo
334 file="${project.build.directory}${file.separator}generated-source-script.sh"
335 append="true"
336 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
337 <chmod
338 file="${project.build.directory}${file.separator}generated-source-script.sh"
339 perm="755" />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400340 </else>
341 </if>
342 </tasks>
343 </configuration>
344 <goals>
345 <goal>run</goal>
346 </goals>
347 </execution>
348 </executions>
349 <dependencies>
350 <dependency>
351 <groupId>ant-contrib</groupId>
352 <artifactId>ant-contrib</artifactId>
353 <version>1.0b3</version>
354 <exclusions>
355 <exclusion>
356 <artifactId>ant</artifactId>
357 <groupId>ant</groupId>
358 </exclusion>
359 </exclusions>
360 </dependency>
361 </dependencies>
362 </plugin>
363 <plugin>
364 <groupId>io.swagger</groupId>
365 <artifactId>swagger-codegen-maven-plugin</artifactId>
366 <version>2.2.1</version>
367 <executions>
368 <execution>
369 <goals>
370 <goal>generate</goal>
371 </goals>
372 <configuration>
373 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
374 <output>${project.build.directory}/generated-sources</output>
375 <language>java</language>
376 <configOptions>
377 <dateLibrary>joda</dateLibrary>
378 </configOptions>
379 <library>jersey2</library>
380 <groupId>${project.groupId}</groupId>
381 <artifactId>${project.artifactId}-java-sdk</artifactId>
382 <artifactVersion>${project.version}</artifactVersion>
383 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
384 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
385 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
386 </configuration>
387 </execution>
388 </executions>
389 </plugin>
390 <plugin>
391 <artifactId>exec-maven-plugin</artifactId>
392 <groupId>org.codehaus.mojo</groupId>
393 <version>1.5.0</version>
394 <executions>
395 <execution>
396 <id>swagger-generate-sources</id>
397 <phase>generate-sources</phase>
398 <goals>
399 <goal>exec</goal>
400 </goals>
401 <configuration>
402 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
403 </configuration>
404 </execution>
405 </executions>
406 </plugin>
407 <plugin>
408 <groupId>org.apache.maven.plugins</groupId>
409 <artifactId>maven-clean-plugin</artifactId>
410 <version>3.0.0</version>
411 <executions>
412 <execution>
413 <id>clean-generated-files</id>
414 <phase>generate-sources</phase>
415 <goals>
416 <goal>clean</goal>
417 </goals>
418 <configuration>
419 <filesets>
420 <fileset>
421 <directory>${project.build.directory}/generated-sources</directory>
422 </fileset>
423 </filesets>
424 </configuration>
425 </execution>
426 </executions>
427 </plugin>
428 </plugins>
429 </build>
430 <dependencies>
431 <dependency>
432 <groupId>org.onap.msb.swagger-sdk</groupId>
433 <artifactId>swagger-sdk</artifactId>
434 <version>1.0.0</version>
435 </dependency>
436 </dependencies>
437 </profile>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500438
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400439 <!-- End of profiles from ONAP oparent -->
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400440
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500441 <profile>
Timoney, Dan (dt5972)bbcacd22019-06-18 10:42:07 -0400442 <id>yang-compile</id>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500443 <activation>
444 <file>
445 <exists>src/main/yang</exists>
446 </file>
447 </activation>
448 <build>
449 <plugins>
450 <plugin>
451 <groupId>org.opendaylight.yangtools</groupId>
452 <artifactId>yang-maven-plugin</artifactId>
Enbo Wang6e542832019-04-09 07:48:10 +0000453 <version>2.1.8</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500454 <dependencies>
455 <dependency>
456 <groupId>org.opendaylight.mdsal</groupId>
457 <artifactId>maven-sal-api-gen-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500458 <version>${odl.mdsal.model.version}</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500459 <type>jar</type>
460 </dependency>
461 <dependency>
462 <groupId>org.opendaylight.netconf</groupId>
463 <artifactId>sal-rest-docgen-maven</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500464 <version>${odl.netconf.sal.rest.docgen.version}</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500465 <type>jar</type>
466 </dependency>
467 </dependencies>
468 <executions>
469 <execution>
470 <goals>
471 <goal>generate-sources</goal>
472 </goals>
473 <configuration>
474 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
475 <codeGenerators>
476 <generator>
477 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
478 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
479 </generator>
480 <generator>
481 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
482 <outputBaseDir>target/swagger</outputBaseDir>
483 </generator>
484 </codeGenerators>
485 <inspectDependencies>true</inspectDependencies>
486 </configuration>
487 </execution>
488 </executions>
489 </plugin>
490 </plugins>
491 </build>
492 </profile>
493
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400494 </profiles>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500495
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500496
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400497 <dependencyManagement>
498 <dependencies>
Timoney, Dan (dt5972)bbcacd22019-06-18 10:42:07 -0400499
500 <!-- Note: If value in BOM conflicts with value inherited from
501 parent pom, inherited value takes precedence. This seems more like
502 a bug than a feature, but this is how maven 3.6 works -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400503 <dependency>
Timoney, Dan (dt5972)bbcacd22019-06-18 10:42:07 -0400504 <groupId>org.onap.ccsdk.parent</groupId>
505 <artifactId>dependencies-odl-bom</artifactId>
Timoney, Dan (dt5972)e45b6a22019-09-10 14:47:58 -0400506 <version>1.5.0-SNAPSHOT</version>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500507 <type>pom</type>
508 <scope>import</scope>
509 </dependency>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500510
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400511 <!-- Override incorrect versions in ODL parent poms -->
512 <!-- to match versions actually installed in ODL Neon -->
513 <dependency>
Timoney, Dan (dt5972)93ebb3d2019-09-06 12:16:00 -0400514 <groupId>com.google.protobuf</groupId>
515 <artifactId>protobuf-java</artifactId>
516 <version>3.6.1</version>
517 </dependency>
518 <dependency>
519 <groupId>io.netty</groupId>
520 <artifactId>netty-transport</artifactId>
521 <version>4.1.34.Final</version>
522 </dependency>
523 <dependency>
524 <groupId>io.netty</groupId>
525 <artifactId>netty-all</artifactId>
526 <version>4.1.34.Final</version>
527 <!-- <version>${netty.version}</version> -->
528 </dependency>
529 <dependency>
530 <groupId>junit</groupId>
531 <artifactId>junit</artifactId>
532 <version>4.12</version>
533 <scope>test</scope>
534 </dependency>
535 <dependency>
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400536 <groupId>org.eclipse.jetty</groupId>
537 <artifactId>jetty-server</artifactId>
538 <version>9.4.12.v20180830</version>
539 </dependency>
540 <dependency>
541 <groupId>org.eclipse.jetty</groupId>
542 <artifactId>jetty-servlets</artifactId>
543 <version>9.4.12.v20180830</version>
544 </dependency>
Stan Bonev29e82cf2019-05-09 14:52:16 -0400545 <dependency>
Timoney, Dan (dt5972)93ebb3d2019-09-06 12:16:00 -0400546 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
547 <artifactId>jersey-guava</artifactId>
548 <version>2.25.1</version>
Stan Bonev29e82cf2019-05-09 14:52:16 -0400549 </dependency>
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400550 <dependency>
551 <groupId>org.codehaus.jettison</groupId>
552 <artifactId>jettison</artifactId>
553 <version>1.3.8</version>
554 </dependency>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400555 </dependencies>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500556
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400557 </dependencyManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500558
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400559 <pluginRepositories>
560 <pluginRepository>
561 <id>onap-public</id>
562 <url>${onap.nexus.public-url}</url>
563 <releases>
564 <enabled>true</enabled>
565 </releases>
566 <snapshots>
567 <enabled>true</enabled>
568 </snapshots>
569 </pluginRepository>
570 <pluginRepository>
571 <id>onap-staging</id>
572 <url>${onap.nexus.staging-url}</url>
573 <releases>
574 <enabled>true</enabled>
575 </releases>
576 <snapshots>
577 <enabled>true</enabled>
578 </snapshots>
579 </pluginRepository>
580 <pluginRepository>
581 <id>onap-snapshot</id>
582 <url>${onap.nexus.snapshot-url}</url>
583 <releases>
584 <enabled>false</enabled>
585 </releases>
586 <snapshots>
587 <enabled>true</enabled>
588 </snapshots>
589 </pluginRepository>
590 <pluginRepository>
591 <id>opendaylight-mirror</id>
592 <name>opendaylight-mirror</name>
593 <url>${opendaylight.nexus.public-url}</url>
594 <releases>
595 <enabled>true</enabled>
596 <updatePolicy>never</updatePolicy>
597 </releases>
598 <snapshots>
599 <enabled>false</enabled>
600 </snapshots>
601 </pluginRepository>
602 <pluginRepository>
603 <id>opendaylight-snapshot</id>
604 <name>opendaylight-snapshot</name>
605 <url>${opendaylight.nexus.snapshot-url}</url>
606 <releases>
607 <enabled>false</enabled>
608 </releases>
609 <snapshots>
610 <enabled>true</enabled>
611 </snapshots>
612 </pluginRepository>
613 <!-- Black Duck plugin dependencies -->
614 <pluginRepository>
615 <id>JCenter</id>
616 <name>JCenter Repository</name>
617 <url>http://jcenter.bintray.com</url>
618 </pluginRepository>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500619
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400620 <pluginRepository>
621 <id>Restlet</id>
622 <name>Restlet Repository</name>
623 <url>http://maven.restlet.com</url>
624 </pluginRepository>
625 </pluginRepositories>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500626
627
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400628 <repositories>
629 <repository>
630 <id>onap-public</id>
631 <url>https://nexus.onap.org/content/groups/public</url>
632 <releases>
633 <enabled>true</enabled>
634 <updatePolicy>never</updatePolicy>
635 </releases>
636 <snapshots>
637 <enabled>true</enabled>
638 <updatePolicy>always</updatePolicy>
639 </snapshots>
640 </repository>
641 <repository>
642 <id>onap-staging</id>
643 <url>https://nexus.onap.org/content/groups/staging</url>
644 <releases>
645 <enabled>true</enabled>
646 <updatePolicy>never</updatePolicy>
647 </releases>
648 <snapshots>
649 <enabled>true</enabled>
650 <updatePolicy>always</updatePolicy>
651 </snapshots>
652 </repository>
653 <repository>
654 <id>ecomp-release</id>
655 <name>onap-repository-releases</name>
656 <url>https://nexus.onap.org/content/repositories/releases</url>
657 <releases>
658 <enabled>true</enabled>
659 <updatePolicy>never</updatePolicy>
660 </releases>
661 <snapshots>
662 <enabled>false</enabled>
663 </snapshots>
664 </repository>
665 <repository>
666 <id>ecomp-snapshot</id>
667 <name>onap-repository-snapshots</name>
668 <url>https://nexus.onap.org/content/repositories/snapshots</url>
669 <releases>
670 <enabled>false</enabled>
671 </releases>
672 <snapshots>
673 <enabled>true</enabled>
674 </snapshots>
675 </repository>
676 <repository>
677 <id>opendaylight-mirror</id>
678 <name>opendaylight-mirror</name>
679 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
680 <releases>
681 <enabled>true</enabled>
682 <updatePolicy>never</updatePolicy>
683 </releases>
684 <snapshots>
685 <enabled>false</enabled>
686 </snapshots>
687 </repository>
688 <repository>
689 <id>opendaylight-snapshot</id>
690 <name>opendaylight-snapshot</name>
691 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
692 <releases>
693 <enabled>false</enabled>
694 </releases>
695 <snapshots>
696 <enabled>true</enabled>
697 </snapshots>
698 </repository>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500699
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400700 </repositories>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500701
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400702 <distributionManagement>
703 <repository>
704 <id>ecomp-releases</id>
Timoney, Dan (dt5972)98d374f2018-10-03 19:47:28 -0400705 <url>https://nexus.onap.org/content/repositories/releases</url>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400706 </repository>
707 <snapshotRepository>
708 <id>ecomp-snapshots</id>
Timoney, Dan (dt5972)98d374f2018-10-03 19:47:28 -0400709 <url>https://nexus.onap.org/content/repositories/snapshots</url>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400710 </snapshotRepository>
711 </distributionManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500712
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400713 <build>
714 <pluginManagement>
715 <plugins>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500716
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500717 <!-- Plugins from ONAP version (parent of oparent) -->
Timoney, Dan (dt5972)e3948b02019-03-04 11:49:26 -0500718
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400719 <plugin>
720 <groupId>org.apache.maven.plugins</groupId>
721 <artifactId>maven-deploy-plugin</artifactId>
722 <!-- This version supports the "deployAtEnd" parameter -->
723 <version>2.8</version>
724 <configuration>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500725 <skip />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400726 </configuration>
727 </plugin>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400728 <plugin>
729 <groupId>org.apache.maven.plugins</groupId>
730 <artifactId>maven-site-plugin</artifactId>
731 <version>3.6</version>
732 <dependencies>
733 <dependency>
734 <groupId>org.apache.maven.wagon</groupId>
735 <artifactId>wagon-webdav-jackrabbit</artifactId>
736 <version>2.10</version>
737 </dependency>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400738 </dependencies>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400739 </plugin>
740 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500741 <groupId>org.apache.maven.plugins</groupId>
742 <artifactId>maven-enforcer-plugin</artifactId>
743 <version>3.0.0-M2</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400744 <executions>
745 <execution>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500746 <id>enforce-property</id>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400747 <goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500748 <goal>enforce</goal>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400749 </goals>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400750 <configuration>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500751 <rules>
752 <requireProperty>
753 <property>onap.nexus.url</property>
754 <message>You must set a onap.nexus.url property in your
755 ~/.m2/settings.xml. See oparent/settings.xml for an example.</message>
756 </requireProperty>
757 </rules>
758 <fail>true</fail>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400759 </configuration>
760 </execution>
761 <execution>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500762 <id>enforce-no-snapshots</id>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400763 <goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500764 <goal>enforce</goal>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400765 </goals>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400766 <configuration>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500767 <rules>
768 <requireReleaseDeps>
769 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
770 <onlyWhenRelease>true</onlyWhenRelease>
Timoney, Dan (dt5972)5c5d1f02019-01-14 10:44:23 -0500771 <level>WARN</level>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500772 </requireReleaseDeps>
773 </rules>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400774 </configuration>
775 </execution>
776 </executions>
777 </plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500778 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
779 <plugin>
780 <groupId>org.sonarsource.scanner.maven</groupId>
781 <artifactId>sonar-maven-plugin</artifactId>
782 <version>3.2</version>
783 </plugin>
784 <!-- end of plugins from ONAP version (parent of oparent) -->
785
786 <!-- Plugins from ONAP oparent -->
787
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400788 <plugin>
789 <groupId>org.jacoco</groupId>
790 <artifactId>jacoco-maven-plugin</artifactId>
791 <version>${jacoco.version}</version>
792 <configuration>
793 <!-- Note: This exclusion list should match <sonar.exclusions> property
794 above -->
795 <excludes>
796 <exclude>**/gen/**</exclude>
797 <exclude>**/generated-sources/**</exclude>
798 <exclude>**/yang-gen/**</exclude>
799 <exclude>**/pax/**</exclude>
800 </excludes>
801 </configuration>
802 <executions>
803 <!-- Prepares the property pointing to the JaCoCo runtime agent which
804 is passed as VM argument when Maven the Surefire plugin is executed. -->
805 <execution>
806 <id>pre-unit-test</id>
807 <goals>
808 <goal>prepare-agent</goal>
809 </goals>
810 <configuration>
811 <!-- Sets the path to the file which contains the execution data. -->
812 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
813 <!-- Sets the name of the property containing the settings for JaCoCo
814 runtime agent. -->
815 <propertyName>surefireArgLine</propertyName>
816 </configuration>
817 </execution>
818 <!-- Ensures that the code coverage report for unit tests is created
819 after unit tests have been run. -->
820 <execution>
821 <id>post-unit-test</id>
822 <phase>test</phase>
823 <goals>
824 <goal>report</goal>
825 </goals>
826 <configuration>
827 <!-- Sets the path to the file which contains the execution data. -->
828 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
829 <!-- Sets the output directory for the code coverage report. -->
830 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
831 </configuration>
832 </execution>
833 <execution>
834 <id>pre-integration-test</id>
835 <phase>pre-integration-test</phase>
836 <goals>
837 <goal>prepare-agent</goal>
838 </goals>
839 <configuration>
840 <!-- Sets the path to the file which contains the execution data. -->
841 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
842 <!-- Sets the name of the property containing the settings for JaCoCo
843 runtime agent. -->
844 <propertyName>failsafeArgLine</propertyName>
845 </configuration>
846 </execution>
847 <!-- Ensures that the code coverage report for integration tests after
848 integration tests have been run. -->
849 <execution>
850 <id>post-integration-test</id>
851 <phase>post-integration-test</phase>
852 <goals>
853 <goal>report</goal>
854 </goals>
855 <configuration>
856 <!-- Sets the path to the file which contains the execution data. -->
857 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
858 <!-- Sets the output directory for the code coverage report. -->
859 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
860 </configuration>
861 </execution>
862 </executions>
863 </plugin>
864 <plugin>
865 <groupId>org.apache.maven.plugins</groupId>
866 <artifactId>maven-surefire-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500867 <version>2.22.0</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400868 <configuration>
869 <!-- Sets the VM argument line used when unit tests are run. -->
870 <argLine>${surefireArgLine}</argLine>
871 <!-- Excludes integration tests when unit tests are run. -->
872 <excludes>
873 <exclude>**/IT*.java</exclude>
874 </excludes>
875 </configuration>
876 </plugin>
877 <plugin>
878 <groupId>org.apache.maven.plugins</groupId>
879 <artifactId>maven-failsafe-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500880 <version>2.22.0</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400881 <executions>
882 <!-- Ensures that both integration-test and verify goals of the Failsafe
883 Maven plugin are executed. -->
884 <execution>
885 <id>integration-tests</id>
886 <goals>
887 <goal>integration-test</goal>
888 <goal>verify</goal>
889 </goals>
890 <configuration>
891 <!-- Sets the VM argument line used when integration tests are run. -->
892 <argLine>${failsafeArgLine}</argLine>
893 </configuration>
894 </execution>
895 </executions>
896 </plugin>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500897
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400898 <!-- End of plugins from ONAP oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400899 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500900 <groupId>org.codehaus.mojo</groupId>
901 <artifactId>properties-maven-plugin</artifactId>
902 <version>1.0.0</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400903 <executions>
904 <execution>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400905 <goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500906 <goal>set-system-properties</goal>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400907 </goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500908 <configuration>
909 <properties>
910 <property>
911 <name>maven.wagon.http.ssl.allowall</name>
912 <value>${ssl.allowall}</value>
913 </property>
914 <property>
915 <name>maven.wagon.http.ssl.insecure</name>
916 <value>${ssl.insecure}</value>
917 </property>
918 </properties>
919 </configuration>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400920 </execution>
921 </executions>
922 </plugin>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500923
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500924 <plugin>
925 <groupId>org.codehaus.mojo</groupId>
926 <artifactId>versions-maven-plugin</artifactId>
927 <version>2.5</version>
928 <configuration>
929 <processAllModules>true</processAllModules>
930 </configuration>
931 </plugin>
932 <plugin>
933 <artifactId>maven-scm-plugin</artifactId>
934 <version>1.8.1</version>
935 <configuration>
936 <tag>${project.artifactId}-${project.version}</tag>
937 </configuration>
938 </plugin>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400939 </plugins>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400940 </pluginManagement>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400941 <plugins>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500942
943 <!-- Plugins from oparent version (parent of oparent) -->
944 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500945 <groupId>org.apache.maven.plugins</groupId>
946 <artifactId>maven-deploy-plugin</artifactId>
947 </plugin>
948 <plugin>
949 <groupId>org.apache.maven.plugins</groupId>
950 <artifactId>maven-site-plugin</artifactId>
951 </plugin>
952 <plugin>
953 <groupId>org.apache.maven.plugins</groupId>
954 <artifactId>maven-enforcer-plugin</artifactId>
955 </plugin>
956 <!-- end of plugins from oparent version (parent of oparent) -->
957
958 <!-- Plugins from oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400959 <plugin>
960 <artifactId>maven-checkstyle-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500961 <version>2.17</version>
962 <dependencies>
963 <dependency>
964 <groupId>org.onap.oparent</groupId>
965 <artifactId>checkstyle</artifactId>
966 <version>1.2.2</version>
967 </dependency>
968 </dependencies>
969 <executions>
970 <execution>
971 <id>onap-license</id>
972 <goals>
973 <goal>check</goal>
974 </goals>
975 <phase>process-sources</phase>
976 <configuration>
977 <configLocation>onap-checkstyle/check-license.xml</configLocation>
978 <includeResources>false</includeResources>
979 <includeTestSourceDirectory>true</includeTestSourceDirectory>
980 <includeTestResources>false</includeTestResources>
981 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
982 <excludes>
983 </excludes>
984 <consoleOutput>true</consoleOutput>
Timoney, Dan (dt5972)bbcacd22019-06-18 10:42:07 -0400985 <failOnViolation>false</failOnViolation>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500986 </configuration>
987 </execution>
988 <execution>
989 <id>onap-java-style</id>
990 <goals>
991 <goal>check</goal>
992 </goals>
993 <phase>process-sources</phase>
994 <configuration>
995 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
996 with minor changes -->
997 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
998 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
999 sources directory -->
1000 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
1001 <includeResources>true</includeResources>
1002 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1003 <includeTestResources>true</includeTestResources>
1004 <excludes>
1005 </excludes>
1006 <consoleOutput>true</consoleOutput>
Timoney, Dan (dt5972)bbcacd22019-06-18 10:42:07 -04001007 <failOnViolation>false</failOnViolation>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001008 </configuration>
1009 </execution>
1010 </executions>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001011 </plugin>
1012 <plugin>
1013 <groupId>org.codehaus.mojo</groupId>
1014 <artifactId>build-helper-maven-plugin</artifactId>
1015 <version>1.12</version>
1016 </plugin>
1017 <!-- Jacoco / Sonar -->
1018 <plugin>
1019 <groupId>org.jacoco</groupId>
1020 <artifactId>jacoco-maven-plugin</artifactId>
1021 </plugin>
1022 <plugin>
1023 <groupId>org.apache.maven.plugins</groupId>
1024 <artifactId>maven-surefire-plugin</artifactId>
1025 </plugin>
1026 <plugin>
1027 <groupId>org.apache.maven.plugins</groupId>
1028 <artifactId>maven-failsafe-plugin</artifactId>
1029 </plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001030 <!-- end of plugins from oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001031 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001032 <groupId>org.apache.maven.plugins</groupId>
1033 <artifactId>maven-javadoc-plugin</artifactId>
1034 <version>2.10.4</version>
1035 <executions>
1036 <execution>
1037 <id>attach-javadocs</id>
1038 <goals>
1039 <goal>jar</goal>
1040 </goals>
1041 <configuration>
1042 <additionalparam>-Xdoclint:none</additionalparam>
1043 </configuration>
1044 </execution>
1045 </executions>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001046 </plugin>
1047 </plugins>
1048 </build>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001049 <reporting>
1050 <plugins>
1051 <plugin>
1052 <artifactId>maven-javadoc-plugin</artifactId>
1053 <version>2.10.4</version>
1054 <configuration>
1055 <failOnError>false</failOnError>
1056 <additionalparam>-Xdoclint:none</additionalparam>
1057 </configuration>
1058 </plugin>
1059 </plugins>
1060 </reporting>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001061 <organization>
1062 <name>ONAP</name>
1063 </organization>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001064</project>