blob: 2df57452695e6cf64a494195a603f100c5fbde0f [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>single-feature-parent</artifactId>
Timoney, Dan (dt5972)db8b3632019-08-28 13:07:42 -040014 <version>1.4.1-SNAPSHOT</version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050015
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -040016 <parent>
17 <groupId>org.opendaylight.odlparent</groupId>
18 <artifactId>single-feature-parent</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>
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)db8b3632019-08-28 13:07:42 -040096 <ccsdk.sli.core.version>0.6.1-SNAPSHOT</ccsdk.sli.core.version>
97 <ccsdk.sli.adaptors.version>0.6.1-SNAPSHOT</ccsdk.sli.adaptors.version>
98 <ccsdk.sli.northbound.version>0.6.1-SNAPSHOT</ccsdk.sli.northbound.version>
99 <ccsdk.sli.plugins.version>0.6.1-SNAPSHOT</ccsdk.sli.plugins.version>
100 <ccsdk.distribution.version>0.6.1-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)84ba5cd2018-10-10 12:19:54 -0400190 <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
496
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)db8b3632019-08-28 13:07:42 -0400506 <version>1.4.1-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>
514 <groupId>org.eclipse.jetty</groupId>
515 <artifactId>jetty-server</artifactId>
516 <version>9.4.12.v20180830</version>
517 </dependency>
518 <dependency>
519 <groupId>org.eclipse.jetty</groupId>
520 <artifactId>jetty-servlets</artifactId>
521 <version>9.4.12.v20180830</version>
522 </dependency>
Stan Bonev29e82cf2019-05-09 14:52:16 -0400523 <dependency>
524 <groupId>junit</groupId>
525 <artifactId>junit</artifactId>
Timoney, Dan (dt5972)bbcacd22019-06-18 10:42:07 -0400526 <version>4.12</version>
Stan Bonev29e82cf2019-05-09 14:52:16 -0400527 <scope>test</scope>
528 </dependency>
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400529 <dependency>
530 <groupId>org.codehaus.jettison</groupId>
531 <artifactId>jettison</artifactId>
532 <version>1.3.8</version>
533 </dependency>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400534 <dependency>
Timoney, Dan (dt5972)bbcacd22019-06-18 10:42:07 -0400535 <groupId>com.google.protobuf</groupId>
536 <artifactId>protobuf-java</artifactId>
537 <version>3.6.1</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400538 </dependency>
539 </dependencies>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500540
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400541 </dependencyManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500542
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400543 <pluginRepositories>
544 <pluginRepository>
545 <id>onap-public</id>
546 <url>${onap.nexus.public-url}</url>
547 <releases>
548 <enabled>true</enabled>
549 </releases>
550 <snapshots>
551 <enabled>true</enabled>
552 </snapshots>
553 </pluginRepository>
554 <pluginRepository>
555 <id>onap-staging</id>
556 <url>${onap.nexus.staging-url}</url>
557 <releases>
558 <enabled>true</enabled>
559 </releases>
560 <snapshots>
561 <enabled>true</enabled>
562 </snapshots>
563 </pluginRepository>
564 <pluginRepository>
565 <id>onap-snapshot</id>
566 <url>${onap.nexus.snapshot-url}</url>
567 <releases>
568 <enabled>false</enabled>
569 </releases>
570 <snapshots>
571 <enabled>true</enabled>
572 </snapshots>
573 </pluginRepository>
574 <pluginRepository>
575 <id>opendaylight-mirror</id>
576 <name>opendaylight-mirror</name>
577 <url>${opendaylight.nexus.public-url}</url>
578 <releases>
579 <enabled>true</enabled>
580 <updatePolicy>never</updatePolicy>
581 </releases>
582 <snapshots>
583 <enabled>false</enabled>
584 </snapshots>
585 </pluginRepository>
586 <pluginRepository>
587 <id>opendaylight-snapshot</id>
588 <name>opendaylight-snapshot</name>
589 <url>${opendaylight.nexus.snapshot-url}</url>
590 <releases>
591 <enabled>false</enabled>
592 </releases>
593 <snapshots>
594 <enabled>true</enabled>
595 </snapshots>
596 </pluginRepository>
597 <!-- Black Duck plugin dependencies -->
598 <pluginRepository>
599 <id>JCenter</id>
600 <name>JCenter Repository</name>
601 <url>http://jcenter.bintray.com</url>
602 </pluginRepository>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500603
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400604 <pluginRepository>
605 <id>Restlet</id>
606 <name>Restlet Repository</name>
607 <url>http://maven.restlet.com</url>
608 </pluginRepository>
609 </pluginRepositories>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500610
611
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400612 <repositories>
613 <repository>
614 <id>onap-public</id>
615 <url>https://nexus.onap.org/content/groups/public</url>
616 <releases>
617 <enabled>true</enabled>
618 <updatePolicy>never</updatePolicy>
619 </releases>
620 <snapshots>
621 <enabled>true</enabled>
622 <updatePolicy>always</updatePolicy>
623 </snapshots>
624 </repository>
625 <repository>
626 <id>onap-staging</id>
627 <url>https://nexus.onap.org/content/groups/staging</url>
628 <releases>
629 <enabled>true</enabled>
630 <updatePolicy>never</updatePolicy>
631 </releases>
632 <snapshots>
633 <enabled>true</enabled>
634 <updatePolicy>always</updatePolicy>
635 </snapshots>
636 </repository>
637 <repository>
638 <id>ecomp-release</id>
639 <name>onap-repository-releases</name>
640 <url>https://nexus.onap.org/content/repositories/releases</url>
641 <releases>
642 <enabled>true</enabled>
643 <updatePolicy>never</updatePolicy>
644 </releases>
645 <snapshots>
646 <enabled>false</enabled>
647 </snapshots>
648 </repository>
649 <repository>
650 <id>ecomp-snapshot</id>
651 <name>onap-repository-snapshots</name>
652 <url>https://nexus.onap.org/content/repositories/snapshots</url>
653 <releases>
654 <enabled>false</enabled>
655 </releases>
656 <snapshots>
657 <enabled>true</enabled>
658 </snapshots>
659 </repository>
660 <repository>
661 <id>opendaylight-mirror</id>
662 <name>opendaylight-mirror</name>
663 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
664 <releases>
665 <enabled>true</enabled>
666 <updatePolicy>never</updatePolicy>
667 </releases>
668 <snapshots>
669 <enabled>false</enabled>
670 </snapshots>
671 </repository>
672 <repository>
673 <id>opendaylight-snapshot</id>
674 <name>opendaylight-snapshot</name>
675 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
676 <releases>
677 <enabled>false</enabled>
678 </releases>
679 <snapshots>
680 <enabled>true</enabled>
681 </snapshots>
682 </repository>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500683
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400684 </repositories>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500685
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400686 <distributionManagement>
687 <repository>
688 <id>ecomp-releases</id>
Timoney, Dan (dt5972)98d374f2018-10-03 19:47:28 -0400689 <url>https://nexus.onap.org/content/repositories/releases</url>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400690 </repository>
691 <snapshotRepository>
692 <id>ecomp-snapshots</id>
Timoney, Dan (dt5972)98d374f2018-10-03 19:47:28 -0400693 <url>https://nexus.onap.org/content/repositories/snapshots</url>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400694 </snapshotRepository>
695 </distributionManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500696
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400697 <build>
698 <pluginManagement>
699 <plugins>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500700
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500701 <!-- Plugins from ONAP version (parent of oparent) -->
Timoney, Dan (dt5972)e3948b02019-03-04 11:49:26 -0500702
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400703 <plugin>
704 <groupId>org.apache.maven.plugins</groupId>
705 <artifactId>maven-deploy-plugin</artifactId>
706 <!-- This version supports the "deployAtEnd" parameter -->
707 <version>2.8</version>
708 <configuration>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500709 <skip />
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400710 </configuration>
711 </plugin>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400712 <plugin>
713 <groupId>org.apache.maven.plugins</groupId>
714 <artifactId>maven-site-plugin</artifactId>
715 <version>3.6</version>
716 <dependencies>
717 <dependency>
718 <groupId>org.apache.maven.wagon</groupId>
719 <artifactId>wagon-webdav-jackrabbit</artifactId>
720 <version>2.10</version>
721 </dependency>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400722 </dependencies>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400723 </plugin>
724 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500725 <groupId>org.apache.maven.plugins</groupId>
726 <artifactId>maven-enforcer-plugin</artifactId>
727 <version>3.0.0-M2</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400728 <executions>
729 <execution>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500730 <id>enforce-property</id>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400731 <goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500732 <goal>enforce</goal>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400733 </goals>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400734 <configuration>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500735 <rules>
736 <requireProperty>
737 <property>onap.nexus.url</property>
738 <message>You must set a onap.nexus.url property in your
739 ~/.m2/settings.xml. See oparent/settings.xml for an example.</message>
740 </requireProperty>
741 </rules>
742 <fail>true</fail>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400743 </configuration>
744 </execution>
745 <execution>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500746 <id>enforce-no-snapshots</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 <requireReleaseDeps>
753 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
754 <onlyWhenRelease>true</onlyWhenRelease>
Timoney, Dan (dt5972)5c5d1f02019-01-14 10:44:23 -0500755 <level>WARN</level>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500756 </requireReleaseDeps>
757 </rules>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400758 </configuration>
759 </execution>
760 </executions>
761 </plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500762 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
763 <plugin>
764 <groupId>org.sonarsource.scanner.maven</groupId>
765 <artifactId>sonar-maven-plugin</artifactId>
766 <version>3.2</version>
767 </plugin>
768 <!-- end of plugins from ONAP version (parent of oparent) -->
769
770 <!-- Plugins from ONAP oparent -->
771
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400772 <plugin>
773 <groupId>org.jacoco</groupId>
774 <artifactId>jacoco-maven-plugin</artifactId>
775 <version>${jacoco.version}</version>
776 <configuration>
777 <!-- Note: This exclusion list should match <sonar.exclusions> property
778 above -->
779 <excludes>
780 <exclude>**/gen/**</exclude>
781 <exclude>**/generated-sources/**</exclude>
782 <exclude>**/yang-gen/**</exclude>
783 <exclude>**/pax/**</exclude>
784 </excludes>
785 </configuration>
786 <executions>
787 <!-- Prepares the property pointing to the JaCoCo runtime agent which
788 is passed as VM argument when Maven the Surefire plugin is executed. -->
789 <execution>
790 <id>pre-unit-test</id>
791 <goals>
792 <goal>prepare-agent</goal>
793 </goals>
794 <configuration>
795 <!-- Sets the path to the file which contains the execution data. -->
796 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
797 <!-- Sets the name of the property containing the settings for JaCoCo
798 runtime agent. -->
799 <propertyName>surefireArgLine</propertyName>
800 </configuration>
801 </execution>
802 <!-- Ensures that the code coverage report for unit tests is created
803 after unit tests have been run. -->
804 <execution>
805 <id>post-unit-test</id>
806 <phase>test</phase>
807 <goals>
808 <goal>report</goal>
809 </goals>
810 <configuration>
811 <!-- Sets the path to the file which contains the execution data. -->
812 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
813 <!-- Sets the output directory for the code coverage report. -->
814 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
815 </configuration>
816 </execution>
817 <execution>
818 <id>pre-integration-test</id>
819 <phase>pre-integration-test</phase>
820 <goals>
821 <goal>prepare-agent</goal>
822 </goals>
823 <configuration>
824 <!-- Sets the path to the file which contains the execution data. -->
825 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
826 <!-- Sets the name of the property containing the settings for JaCoCo
827 runtime agent. -->
828 <propertyName>failsafeArgLine</propertyName>
829 </configuration>
830 </execution>
831 <!-- Ensures that the code coverage report for integration tests after
832 integration tests have been run. -->
833 <execution>
834 <id>post-integration-test</id>
835 <phase>post-integration-test</phase>
836 <goals>
837 <goal>report</goal>
838 </goals>
839 <configuration>
840 <!-- Sets the path to the file which contains the execution data. -->
841 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
842 <!-- Sets the output directory for the code coverage report. -->
843 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
844 </configuration>
845 </execution>
846 </executions>
847 </plugin>
848 <plugin>
849 <groupId>org.apache.maven.plugins</groupId>
850 <artifactId>maven-surefire-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500851 <version>2.22.0</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400852 <configuration>
853 <!-- Sets the VM argument line used when unit tests are run. -->
854 <argLine>${surefireArgLine}</argLine>
855 <!-- Excludes integration tests when unit tests are run. -->
856 <excludes>
857 <exclude>**/IT*.java</exclude>
858 </excludes>
859 </configuration>
860 </plugin>
861 <plugin>
862 <groupId>org.apache.maven.plugins</groupId>
863 <artifactId>maven-failsafe-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500864 <version>2.22.0</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400865 <executions>
866 <!-- Ensures that both integration-test and verify goals of the Failsafe
867 Maven plugin are executed. -->
868 <execution>
869 <id>integration-tests</id>
870 <goals>
871 <goal>integration-test</goal>
872 <goal>verify</goal>
873 </goals>
874 <configuration>
875 <!-- Sets the VM argument line used when integration tests are run. -->
876 <argLine>${failsafeArgLine}</argLine>
877 </configuration>
878 </execution>
879 </executions>
880 </plugin>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500881
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400882 <!-- End of plugins from ONAP oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400883 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500884 <groupId>org.codehaus.mojo</groupId>
885 <artifactId>properties-maven-plugin</artifactId>
886 <version>1.0.0</version>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400887 <executions>
888 <execution>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400889 <goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500890 <goal>set-system-properties</goal>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400891 </goals>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500892 <configuration>
893 <properties>
894 <property>
895 <name>maven.wagon.http.ssl.allowall</name>
896 <value>${ssl.allowall}</value>
897 </property>
898 <property>
899 <name>maven.wagon.http.ssl.insecure</name>
900 <value>${ssl.insecure}</value>
901 </property>
902 </properties>
903 </configuration>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400904 </execution>
905 </executions>
906 </plugin>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500907
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500908 <plugin>
909 <groupId>org.codehaus.mojo</groupId>
910 <artifactId>versions-maven-plugin</artifactId>
911 <version>2.5</version>
912 <configuration>
913 <processAllModules>true</processAllModules>
914 </configuration>
915 </plugin>
916 <plugin>
917 <artifactId>maven-scm-plugin</artifactId>
918 <version>1.8.1</version>
919 <configuration>
920 <tag>${project.artifactId}-${project.version}</tag>
921 </configuration>
922 </plugin>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400923 </plugins>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400924 </pluginManagement>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400925 <plugins>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500926
927 <!-- Plugins from oparent version (parent of oparent) -->
928 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500929 <groupId>org.apache.maven.plugins</groupId>
930 <artifactId>maven-deploy-plugin</artifactId>
931 </plugin>
932 <plugin>
933 <groupId>org.apache.maven.plugins</groupId>
934 <artifactId>maven-site-plugin</artifactId>
935 </plugin>
936 <plugin>
937 <groupId>org.apache.maven.plugins</groupId>
938 <artifactId>maven-enforcer-plugin</artifactId>
939 </plugin>
940 <!-- end of plugins from oparent version (parent of oparent) -->
941
942 <!-- Plugins from oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400943 <plugin>
944 <artifactId>maven-checkstyle-plugin</artifactId>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500945 <version>2.17</version>
946 <dependencies>
947 <dependency>
948 <groupId>org.onap.oparent</groupId>
949 <artifactId>checkstyle</artifactId>
950 <version>1.2.2</version>
951 </dependency>
952 </dependencies>
953 <executions>
954 <execution>
955 <id>onap-license</id>
956 <goals>
957 <goal>check</goal>
958 </goals>
959 <phase>process-sources</phase>
960 <configuration>
961 <configLocation>onap-checkstyle/check-license.xml</configLocation>
962 <includeResources>false</includeResources>
963 <includeTestSourceDirectory>true</includeTestSourceDirectory>
964 <includeTestResources>false</includeTestResources>
965 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
966 <excludes>
967 </excludes>
968 <consoleOutput>true</consoleOutput>
Timoney, Dan (dt5972)bbcacd22019-06-18 10:42:07 -0400969 <failOnViolation>false</failOnViolation>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500970 </configuration>
971 </execution>
972 <execution>
973 <id>onap-java-style</id>
974 <goals>
975 <goal>check</goal>
976 </goals>
977 <phase>process-sources</phase>
978 <configuration>
979 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
980 with minor changes -->
981 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
982 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
983 sources directory -->
984 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
985 <includeResources>true</includeResources>
986 <includeTestSourceDirectory>true</includeTestSourceDirectory>
987 <includeTestResources>true</includeTestResources>
988 <excludes>
989 </excludes>
990 <consoleOutput>true</consoleOutput>
Timoney, Dan (dt5972)bbcacd22019-06-18 10:42:07 -0400991 <failOnViolation>false</failOnViolation>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500992 </configuration>
993 </execution>
994 </executions>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -0400995 </plugin>
996 <plugin>
997 <groupId>org.codehaus.mojo</groupId>
998 <artifactId>build-helper-maven-plugin</artifactId>
999 <version>1.12</version>
1000 </plugin>
1001 <!-- Jacoco / Sonar -->
1002 <plugin>
1003 <groupId>org.jacoco</groupId>
1004 <artifactId>jacoco-maven-plugin</artifactId>
1005 </plugin>
1006 <plugin>
1007 <groupId>org.apache.maven.plugins</groupId>
1008 <artifactId>maven-surefire-plugin</artifactId>
1009 </plugin>
1010 <plugin>
1011 <groupId>org.apache.maven.plugins</groupId>
1012 <artifactId>maven-failsafe-plugin</artifactId>
1013 </plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001014 <!-- end of plugins from oparent -->
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001015 <plugin>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001016 <groupId>org.apache.maven.plugins</groupId>
1017 <artifactId>maven-javadoc-plugin</artifactId>
1018 <version>2.10.4</version>
1019 <executions>
1020 <execution>
1021 <id>attach-javadocs</id>
1022 <goals>
1023 <goal>jar</goal>
1024 </goals>
1025 <configuration>
1026 <additionalparam>-Xdoclint:none</additionalparam>
1027 </configuration>
1028 </execution>
1029 </executions>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001030 </plugin>
1031 </plugins>
1032 </build>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -05001033 <reporting>
1034 <plugins>
1035 <plugin>
1036 <artifactId>maven-javadoc-plugin</artifactId>
1037 <version>2.10.4</version>
1038 <configuration>
1039 <failOnError>false</failOnError>
1040 <additionalparam>-Xdoclint:none</additionalparam>
1041 </configuration>
1042 </plugin>
1043 </plugins>
1044 </reporting>
Stilwell, David (stilwelld)b470afd2018-06-13 14:53:37 -04001045 <organization>
1046 <name>ONAP</name>
1047 </organization>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001048</project>