Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 2 | <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 Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 5 | |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 6 | <!-- 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 Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 9 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 10 | <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) | e8e914a | 2019-04-30 09:39:01 -0400 | [diff] [blame] | 14 | <version>1.3.0-SNAPSHOT</version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 15 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 16 | <parent> |
| 17 | <groupId>org.opendaylight.controller</groupId> |
| 18 | <artifactId>mdsal-it-parent</artifactId> |
Timoney, Dan (dt5972) | 9341f08 | 2019-03-13 16:05:39 -0400 | [diff] [blame] | 19 | <version>1.8.2</version> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 20 | <relativePath /> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 21 | </parent> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 22 | |
| 23 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 24 | <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 Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 27 | |
| 28 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 29 | <issueManagement> |
| 30 | <system>JIRA</system> |
| 31 | <url>https://jira.onap.org/</url> |
| 32 | </issueManagement> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 33 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 34 | <properties> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 35 | |
Ruchira Agarwal | 53574ba | 2018-07-27 18:47:27 +0000 | [diff] [blame] | 36 | <!-- properties from oparent --> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 37 | <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 Agarwal | 53574ba | 2018-07-27 18:47:27 +0000 | [diff] [blame] | 56 | <!-- end of properties from oparent --> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 57 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 58 | <!-- 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 Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 68 | |
| 69 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 70 | <!-- 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 Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 73 | |
| 74 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 75 | <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 Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 84 | |
| 85 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 86 | <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 Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 91 | |
| 92 | |
| 93 | |
| 94 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 95 | <!-- CCSDK component versions --> |
Timoney, Dan (dt5972) | 8aa219f | 2019-07-15 15:12:57 -0400 | [diff] [blame^] | 96 | <ccsdk.sli.core.version>0.5.0-SNAPSHOT</ccsdk.sli.core.version> |
| 97 | <ccsdk.sli.adaptors.version>0.5.0-SNAPSHOT</ccsdk.sli.adaptors.version> |
| 98 | <ccsdk.sli.northbound.version>0.5.0-SNAPSHOT</ccsdk.sli.northbound.version> |
| 99 | <ccsdk.sli.plugins.version>0.5.0-SNAPSHOT</ccsdk.sli.plugins.version> |
| 100 | <ccsdk.distribution.version>0.5.0-SNAPSHOT</ccsdk.distribution.version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 101 | <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 Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 106 | |
Timoney, Dan (dt5972) | b02ff95 | 2018-03-05 11:01:26 -0500 | [diff] [blame] | 107 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 108 | <!-- Support libraries used by OpenDaylight --> |
Timoney, Dan (dt5972) | 9341f08 | 2019-03-13 16:05:39 -0400 | [diff] [blame] | 109 | <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) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 115 | <!-- Used by aaa, vtn --> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 116 | <commons.codec.version>1.11</commons.codec.version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 117 | <!-- 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) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 128 | <gson.version>2.8.5</gson.version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 129 | <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp --> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 130 | <guava.version>23.6.1-jre</guava.version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 131 | <!-- 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) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 135 | <jackson.version>2.8.11</jackson.version> |
Timoney, Dan (dt5972) | 66f52b5 | 2019-03-22 16:24:19 -0400 | [diff] [blame] | 136 | <jackson.bom.version>2.8.11.20181123</jackson.bom.version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 137 | <!-- Used by snmp4sdn, yangtools --> |
Timoney, Dan (dt5972) | 9341f08 | 2019-03-13 16:05:39 -0400 | [diff] [blame] | 138 | <javassist.version>3.24.0-GA</javassist.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 139 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 140 | <!-- FIXME remove all dependencies for jersey 1.17 after migration all |
| 141 | projects --> |
| 142 | <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all, |
| 143 | snmp4sdn, toolkit --> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 144 | <jersey.version>2.25.1</jersey.version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 145 | <!-- Used by sfc --> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 146 | <jersey.client.version>2.25.1</jersey.client.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 147 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 148 | <!-- New packages for jersey migration 1.17 to 2.8 --> |
| 149 | <!-- appache.geronimo.bundle for DocGen --> |
| 150 | <!-- Used by aaa, iotdm, netconf, ovsdb, sfc --> |
| 151 | <org.json.version>20131018</org.json.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 152 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 153 | <!-- Used by sfc --> |
| 154 | <jettison.version>1.3.8</jettison.version> |
| 155 | <!-- Used by persistence --> |
| 156 | <jsr305.api.version>3.0.0</jsr305.api.version> |
| 157 | <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560 |
| 158 | is fixed (either in PowerMock or with a new JUnit release) --> |
| 159 | <!-- Used everywhere --> |
Stan Bonev | 29e82cf | 2019-05-09 14:52:16 -0400 | [diff] [blame] | 160 | <junit.version>4.12</junit.version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 161 | <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit --> |
Timoney, Dan (dt5972) | 082e507 | 2018-06-18 22:31:42 -0400 | [diff] [blame] | 162 | <logback.version>1.2.3</logback.version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 163 | <!-- Used by nic, sfc, sxp, tsdr --> |
| 164 | <mockito.version>1.10.19</mockito.version> |
| 165 | <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit --> |
Timoney, Dan (dt5972) | 9341f08 | 2019-03-13 16:05:39 -0400 | [diff] [blame] | 166 | <netty.version>4.1.31.Final</netty.version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 167 | <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity, |
| 168 | toolkit --> |
| 169 | <slf4j.version>1.7.25</slf4j.version> |
| 170 | <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit, |
| 171 | tsdr, ttp --> |
Stan Bonev | 29e82cf | 2019-05-09 14:52:16 -0400 | [diff] [blame] | 172 | <spring.version>4.3.18.RELEASE</spring.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 173 | |
| 174 | |
| 175 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 176 | <!-- Extra support libraries used by SDN-C --> |
| 177 | <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version> |
| 178 | <jackson-annotations-version>${jackson.version}</jackson-annotations-version> |
| 179 | <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 180 | <antlr.version>4.7.1</antlr.version> |
| 181 | <mysql.connector.version>5.1.39</mysql.connector.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 182 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 183 | <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version> |
Timoney, Dan (dt5972) | ebc00be | 2018-03-21 09:00:19 -0400 | [diff] [blame] | 184 | |
Timoney, Dan (dt5972) | bbcacd2 | 2019-06-18 10:42:07 -0400 | [diff] [blame] | 185 | |
| 186 | <!-- Managed dependency versions --> |
| 187 | <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version> |
| 188 | <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version> |
| 189 | <derby.version>10.14.2.0</derby.version> |
| 190 | <eelf.version>1.0.0</eelf.version> |
| 191 | <grpc.version>1.17.1</grpc.version> |
| 192 | <jackson.bom.version>2.8.11.20181123</jackson.bom.version> |
| 193 | <jersey.version>2.25.1</jersey.version> |
| 194 | <junit.version>4.12</junit.version> |
| 195 | <logback.version>1.2.3</logback.version> |
| 196 | <mariadb.connector.version>2.1.1</mariadb.connector.version> |
| 197 | <mariadb4j.version>2.2.3</mariadb4j.version> |
| 198 | <spring.version>4.3.18.RELEASE</spring.version> |
| 199 | <slf4j.version>1.7.25</slf4j.version> |
| 200 | <testng.version>6.11</testng.version> |
| 201 | <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version> |
Timoney, Dan (dt5972) | 3beea0e | 2018-12-18 16:05:41 -0500 | [diff] [blame] | 202 | <skip.karaf.featureTest>true</skip.karaf.featureTest> |
| 203 | </properties> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 204 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 205 | <profiles> |
| 206 | <!-- Profiles from ONAP oparent --> |
| 207 | <profile> |
| 208 | <id>generate-json</id> |
| 209 | <activation> |
| 210 | <file> |
| 211 | <exists>${swagger-properties}</exists> |
| 212 | </file> |
| 213 | <property> |
| 214 | <name>swagger-sdk.generate-json</name> |
| 215 | </property> |
| 216 | </activation> |
| 217 | <build> |
| 218 | <plugins> |
| 219 | <plugin> |
| 220 | <groupId>org.codehaus.mojo</groupId> |
| 221 | <artifactId>properties-maven-plugin</artifactId> |
| 222 | <version>1.0.0</version> |
| 223 | <executions> |
| 224 | <execution> |
| 225 | <phase>initialize</phase> |
| 226 | <goals> |
| 227 | <goal>read-project-properties</goal> |
| 228 | </goals> |
| 229 | <configuration> |
| 230 | <files> |
| 231 | <file>${basedir}/src/main/resources/swagger.properties</file> |
| 232 | </files> |
| 233 | </configuration> |
| 234 | </execution> |
| 235 | </executions> |
| 236 | </plugin> |
| 237 | <plugin> |
| 238 | <groupId>com.github.kongchen</groupId> |
| 239 | <artifactId>swagger-maven-plugin</artifactId> |
| 240 | <version>3.1.4</version> |
| 241 | <configuration> |
| 242 | <apiSources> |
| 243 | <apiSource> |
| 244 | <locations>${api-rest-package}</locations> |
| 245 | <schemes>http,https</schemes> |
| 246 | <host>${api-host-ip}:${api-host-port}</host> |
| 247 | <basePath>${api-base-path}</basePath> |
| 248 | <info> |
| 249 | <title>${api-title}</title> |
| 250 | <version>${api-version}</version> |
| 251 | <description>${api-description}</description> |
| 252 | <license> |
| 253 | <name>${api-license}</name> |
| 254 | </license> |
| 255 | </info> |
| 256 | <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory> |
| 257 | </apiSource> |
| 258 | </apiSources> |
| 259 | </configuration> |
| 260 | <executions> |
| 261 | <execution> |
| 262 | <phase>compile</phase> |
| 263 | <goals> |
| 264 | <goal>generate</goal> |
| 265 | </goals> |
| 266 | </execution> |
| 267 | </executions> |
| 268 | </plugin> |
| 269 | <plugin> |
| 270 | <groupId>org.apache.maven.plugins</groupId> |
| 271 | <artifactId>maven-install-plugin</artifactId> |
| 272 | <version>2.3.1</version> |
| 273 | <executions> |
| 274 | <execution> |
| 275 | <id>install-file-id</id> |
| 276 | <phase>install</phase> |
| 277 | <goals> |
| 278 | <goal>install-file</goal> |
| 279 | </goals> |
| 280 | <configuration> |
| 281 | <file>${basedir}/src/main/resources/swagger.json</file> |
| 282 | <groupId>${project.groupId}</groupId> |
| 283 | <artifactId>${project.artifactId}-swagger-schema</artifactId> |
| 284 | <version>${project.version}</version> |
| 285 | <packaging>json</packaging> |
| 286 | </configuration> |
| 287 | </execution> |
| 288 | </executions> |
| 289 | </plugin> |
| 290 | </plugins> |
| 291 | </build> |
| 292 | </profile> |
| 293 | <profile> |
| 294 | <id>generate-sdk</id> |
| 295 | <activation> |
| 296 | <file> |
| 297 | <exists>${swagger-json}</exists> |
| 298 | </file> |
| 299 | <property> |
| 300 | <name>swagger-sdk.generate-java-sdk</name> |
| 301 | </property> |
| 302 | </activation> |
| 303 | <build> |
| 304 | <plugins> |
| 305 | <plugin> |
| 306 | <groupId>org.apache.maven.plugins</groupId> |
| 307 | <artifactId>maven-antrun-plugin</artifactId> |
| 308 | <version>1.8</version> |
| 309 | <executions> |
| 310 | <execution> |
| 311 | <phase>initialize</phase> |
| 312 | <id>ant-create-script</id> |
| 313 | <configuration> |
| 314 | <exportAntProperties>true</exportAntProperties> |
| 315 | <tasks> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 316 | <taskdef resource="net/sf/antcontrib/antlib.xml" |
| 317 | classpathref="maven.plugin.classpath" /> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 318 | <condition property="is_windows" value="true"> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 319 | <os family="windows" /> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 320 | </condition> |
| 321 | <condition property="isLinux" value="true"> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 322 | <os family="unix" /> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 323 | </condition> |
| 324 | <if> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 325 | <equals arg1="${is_windows}" arg2="true" /> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 326 | <then> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 327 | <property name="swagger.sdk.script.file" |
| 328 | value="generated-source-script.bat" /> |
| 329 | <echo |
| 330 | file="${project.build.directory}${file.separator}generated-source-script.bat" |
| 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.bat" |
| 335 | append="true" |
| 336 | message="mvn clean install -Dmaven.test.skip=true${line.separator}" /> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 337 | </then> |
| 338 | <else> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 339 | <property name="swagger.sdk.script.file" |
| 340 | value="generated-source-script.sh" /> |
| 341 | <echo |
| 342 | file="${project.build.directory}${file.separator}generated-source-script.sh" |
| 343 | append="true" |
| 344 | message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" /> |
| 345 | <echo |
| 346 | file="${project.build.directory}${file.separator}generated-source-script.sh" |
| 347 | append="true" |
| 348 | message="mvn clean install -Dmaven.test.skip=true${line.separator}" /> |
| 349 | <chmod |
| 350 | file="${project.build.directory}${file.separator}generated-source-script.sh" |
| 351 | perm="755" /> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 352 | </else> |
| 353 | </if> |
| 354 | </tasks> |
| 355 | </configuration> |
| 356 | <goals> |
| 357 | <goal>run</goal> |
| 358 | </goals> |
| 359 | </execution> |
| 360 | </executions> |
| 361 | <dependencies> |
| 362 | <dependency> |
| 363 | <groupId>ant-contrib</groupId> |
| 364 | <artifactId>ant-contrib</artifactId> |
| 365 | <version>1.0b3</version> |
| 366 | <exclusions> |
| 367 | <exclusion> |
| 368 | <artifactId>ant</artifactId> |
| 369 | <groupId>ant</groupId> |
| 370 | </exclusion> |
| 371 | </exclusions> |
| 372 | </dependency> |
| 373 | </dependencies> |
| 374 | </plugin> |
| 375 | <plugin> |
| 376 | <groupId>io.swagger</groupId> |
| 377 | <artifactId>swagger-codegen-maven-plugin</artifactId> |
| 378 | <version>2.2.1</version> |
| 379 | <executions> |
| 380 | <execution> |
| 381 | <goals> |
| 382 | <goal>generate</goal> |
| 383 | </goals> |
| 384 | <configuration> |
| 385 | <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec> |
| 386 | <output>${project.build.directory}/generated-sources</output> |
| 387 | <language>java</language> |
| 388 | <configOptions> |
| 389 | <dateLibrary>joda</dateLibrary> |
| 390 | </configOptions> |
| 391 | <library>jersey2</library> |
| 392 | <groupId>${project.groupId}</groupId> |
| 393 | <artifactId>${project.artifactId}-java-sdk</artifactId> |
| 394 | <artifactVersion>${project.version}</artifactVersion> |
| 395 | <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage> |
| 396 | <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage> |
| 397 | <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage> |
| 398 | </configuration> |
| 399 | </execution> |
| 400 | </executions> |
| 401 | </plugin> |
| 402 | <plugin> |
| 403 | <artifactId>exec-maven-plugin</artifactId> |
| 404 | <groupId>org.codehaus.mojo</groupId> |
| 405 | <version>1.5.0</version> |
| 406 | <executions> |
| 407 | <execution> |
| 408 | <id>swagger-generate-sources</id> |
| 409 | <phase>generate-sources</phase> |
| 410 | <goals> |
| 411 | <goal>exec</goal> |
| 412 | </goals> |
| 413 | <configuration> |
| 414 | <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable> |
| 415 | </configuration> |
| 416 | </execution> |
| 417 | </executions> |
| 418 | </plugin> |
| 419 | <plugin> |
| 420 | <groupId>org.apache.maven.plugins</groupId> |
| 421 | <artifactId>maven-clean-plugin</artifactId> |
| 422 | <version>3.0.0</version> |
| 423 | <executions> |
| 424 | <execution> |
| 425 | <id>clean-generated-files</id> |
| 426 | <phase>generate-sources</phase> |
| 427 | <goals> |
| 428 | <goal>clean</goal> |
| 429 | </goals> |
| 430 | <configuration> |
| 431 | <filesets> |
| 432 | <fileset> |
| 433 | <directory>${project.build.directory}/generated-sources</directory> |
| 434 | </fileset> |
| 435 | </filesets> |
| 436 | </configuration> |
| 437 | </execution> |
| 438 | </executions> |
| 439 | </plugin> |
| 440 | </plugins> |
| 441 | </build> |
| 442 | <dependencies> |
| 443 | <dependency> |
| 444 | <groupId>org.onap.msb.swagger-sdk</groupId> |
| 445 | <artifactId>swagger-sdk</artifactId> |
| 446 | <version>1.0.0</version> |
| 447 | </dependency> |
| 448 | </dependencies> |
| 449 | </profile> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 450 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 451 | <!-- End of profiles from ONAP oparent --> |
Timoney, Dan (dt5972) | e3948b0 | 2019-03-04 11:49:26 -0500 | [diff] [blame] | 452 | <profile> |
| 453 | <id>nexus-staging</id> |
| 454 | <activation> |
| 455 | <property> |
| 456 | <name>!altDeploymentRepository</name> |
| 457 | </property> |
| 458 | </activation> |
| 459 | <build> |
| 460 | <plugins> |
| 461 | <plugin> |
| 462 | <groupId>org.sonatype.plugins</groupId> |
| 463 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 464 | <version>1.6.7</version> |
| 465 | <extensions>true</extensions> |
| 466 | <configuration> |
| 467 | <nexusUrl>https://nexus.onap.org</nexusUrl> |
Timoney, Dan (dt5972) | 7745b8a | 2019-03-13 15:42:49 -0400 | [diff] [blame] | 468 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 469 | <serverId>ecomp-staging</serverId> |
Timoney, Dan (dt5972) | e3948b0 | 2019-03-04 11:49:26 -0500 | [diff] [blame] | 470 | </configuration> |
| 471 | </plugin> |
| 472 | </plugins> |
| 473 | </build> |
| 474 | </profile> |
Timoney, Dan (dt5972) | 3beea0e | 2018-12-18 16:05:41 -0500 | [diff] [blame] | 475 | <profile> |
Timoney, Dan (dt5972) | bbcacd2 | 2019-06-18 10:42:07 -0400 | [diff] [blame] | 476 | <id>yang-compile</id> |
Timoney, Dan (dt5972) | 3beea0e | 2018-12-18 16:05:41 -0500 | [diff] [blame] | 477 | <activation> |
| 478 | <file> |
| 479 | <exists>src/main/yang</exists> |
| 480 | </file> |
| 481 | </activation> |
| 482 | <build> |
| 483 | <plugins> |
| 484 | <plugin> |
| 485 | <groupId>org.opendaylight.yangtools</groupId> |
| 486 | <artifactId>yang-maven-plugin</artifactId> |
Enbo Wang | 6e54283 | 2019-04-09 07:48:10 +0000 | [diff] [blame] | 487 | <version>2.1.8</version> |
Timoney, Dan (dt5972) | 3beea0e | 2018-12-18 16:05:41 -0500 | [diff] [blame] | 488 | <dependencies> |
| 489 | <dependency> |
| 490 | <groupId>org.opendaylight.mdsal</groupId> |
| 491 | <artifactId>maven-sal-api-gen-plugin</artifactId> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 492 | <version>${odl.mdsal.model.version}</version> |
Timoney, Dan (dt5972) | 3beea0e | 2018-12-18 16:05:41 -0500 | [diff] [blame] | 493 | <type>jar</type> |
| 494 | </dependency> |
| 495 | <dependency> |
| 496 | <groupId>org.opendaylight.netconf</groupId> |
| 497 | <artifactId>sal-rest-docgen-maven</artifactId> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 498 | <version>${odl.netconf.sal.rest.docgen.version}</version> |
Timoney, Dan (dt5972) | 3beea0e | 2018-12-18 16:05:41 -0500 | [diff] [blame] | 499 | <type>jar</type> |
| 500 | </dependency> |
| 501 | </dependencies> |
| 502 | <executions> |
| 503 | <execution> |
| 504 | <goals> |
| 505 | <goal>generate-sources</goal> |
| 506 | </goals> |
| 507 | <configuration> |
| 508 | <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir> |
| 509 | <codeGenerators> |
| 510 | <generator> |
| 511 | <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass> |
| 512 | <outputBaseDir>${salGeneratorPath}</outputBaseDir> |
| 513 | </generator> |
| 514 | <generator> |
| 515 | <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass> |
| 516 | <outputBaseDir>target/swagger</outputBaseDir> |
| 517 | </generator> |
| 518 | </codeGenerators> |
| 519 | <inspectDependencies>true</inspectDependencies> |
| 520 | </configuration> |
| 521 | </execution> |
| 522 | </executions> |
| 523 | </plugin> |
| 524 | </plugins> |
| 525 | </build> |
| 526 | </profile> |
| 527 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 528 | </profiles> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 529 | |
| 530 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 531 | <dependencyManagement> |
| 532 | <dependencies> |
Timoney, Dan (dt5972) | bbcacd2 | 2019-06-18 10:42:07 -0400 | [diff] [blame] | 533 | |
| 534 | <!-- Note: If value in BOM conflicts with value inherited from |
| 535 | parent pom, inherited value takes precedence. This seems more like |
| 536 | a bug than a feature, but this is how maven 3.6 works --> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 537 | <dependency> |
Timoney, Dan (dt5972) | bbcacd2 | 2019-06-18 10:42:07 -0400 | [diff] [blame] | 538 | <groupId>org.onap.ccsdk.parent</groupId> |
| 539 | <artifactId>dependencies-odl-bom</artifactId> |
| 540 | <version>1.3.0-SNAPSHOT</version> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 541 | <type>pom</type> |
| 542 | <scope>import</scope> |
| 543 | </dependency> |
Timoney, Dan (dt5972) | 3beea0e | 2018-12-18 16:05:41 -0500 | [diff] [blame] | 544 | |
Timoney, Dan (dt5972) | bbcacd2 | 2019-06-18 10:42:07 -0400 | [diff] [blame] | 545 | <!-- Override versions in ODL parent poms --> |
Stan Bonev | 29e82cf | 2019-05-09 14:52:16 -0400 | [diff] [blame] | 546 | <dependency> |
| 547 | <groupId>junit</groupId> |
| 548 | <artifactId>junit</artifactId> |
Timoney, Dan (dt5972) | bbcacd2 | 2019-06-18 10:42:07 -0400 | [diff] [blame] | 549 | <version>4.12</version> |
Stan Bonev | 29e82cf | 2019-05-09 14:52:16 -0400 | [diff] [blame] | 550 | <scope>test</scope> |
| 551 | </dependency> |
Timoney, Dan (dt5972) | 3beea0e | 2018-12-18 16:05:41 -0500 | [diff] [blame] | 552 | |
| 553 | <dependency> |
Timoney, Dan (dt5972) | bbcacd2 | 2019-06-18 10:42:07 -0400 | [diff] [blame] | 554 | <groupId>com.google.protobuf</groupId> |
| 555 | <artifactId>protobuf-java</artifactId> |
| 556 | <version>3.6.1</version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 557 | </dependency> |
| 558 | </dependencies> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 559 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 560 | </dependencyManagement> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 561 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 562 | <pluginRepositories> |
| 563 | <pluginRepository> |
| 564 | <id>onap-public</id> |
| 565 | <url>${onap.nexus.public-url}</url> |
| 566 | <releases> |
| 567 | <enabled>true</enabled> |
| 568 | </releases> |
| 569 | <snapshots> |
| 570 | <enabled>true</enabled> |
| 571 | </snapshots> |
| 572 | </pluginRepository> |
| 573 | <pluginRepository> |
| 574 | <id>onap-staging</id> |
| 575 | <url>${onap.nexus.staging-url}</url> |
| 576 | <releases> |
| 577 | <enabled>true</enabled> |
| 578 | </releases> |
| 579 | <snapshots> |
| 580 | <enabled>true</enabled> |
| 581 | </snapshots> |
| 582 | </pluginRepository> |
| 583 | <pluginRepository> |
| 584 | <id>onap-snapshot</id> |
| 585 | <url>${onap.nexus.snapshot-url}</url> |
| 586 | <releases> |
| 587 | <enabled>false</enabled> |
| 588 | </releases> |
| 589 | <snapshots> |
| 590 | <enabled>true</enabled> |
| 591 | </snapshots> |
| 592 | </pluginRepository> |
| 593 | <pluginRepository> |
| 594 | <id>opendaylight-mirror</id> |
| 595 | <name>opendaylight-mirror</name> |
| 596 | <url>${opendaylight.nexus.public-url}</url> |
| 597 | <releases> |
| 598 | <enabled>true</enabled> |
| 599 | <updatePolicy>never</updatePolicy> |
| 600 | </releases> |
| 601 | <snapshots> |
| 602 | <enabled>false</enabled> |
| 603 | </snapshots> |
| 604 | </pluginRepository> |
| 605 | <pluginRepository> |
| 606 | <id>opendaylight-snapshot</id> |
| 607 | <name>opendaylight-snapshot</name> |
| 608 | <url>${opendaylight.nexus.snapshot-url}</url> |
| 609 | <releases> |
| 610 | <enabled>false</enabled> |
| 611 | </releases> |
| 612 | <snapshots> |
| 613 | <enabled>true</enabled> |
| 614 | </snapshots> |
| 615 | </pluginRepository> |
| 616 | <!-- Black Duck plugin dependencies --> |
| 617 | <pluginRepository> |
| 618 | <id>JCenter</id> |
| 619 | <name>JCenter Repository</name> |
| 620 | <url>http://jcenter.bintray.com</url> |
| 621 | </pluginRepository> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 622 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 623 | <pluginRepository> |
| 624 | <id>Restlet</id> |
| 625 | <name>Restlet Repository</name> |
| 626 | <url>http://maven.restlet.com</url> |
| 627 | </pluginRepository> |
| 628 | </pluginRepositories> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 629 | |
| 630 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 631 | <repositories> |
| 632 | <repository> |
| 633 | <id>onap-public</id> |
| 634 | <url>https://nexus.onap.org/content/groups/public</url> |
| 635 | <releases> |
| 636 | <enabled>true</enabled> |
| 637 | <updatePolicy>never</updatePolicy> |
| 638 | </releases> |
| 639 | <snapshots> |
| 640 | <enabled>true</enabled> |
| 641 | <updatePolicy>always</updatePolicy> |
| 642 | </snapshots> |
| 643 | </repository> |
| 644 | <repository> |
| 645 | <id>onap-staging</id> |
| 646 | <url>https://nexus.onap.org/content/groups/staging</url> |
| 647 | <releases> |
| 648 | <enabled>true</enabled> |
| 649 | <updatePolicy>never</updatePolicy> |
| 650 | </releases> |
| 651 | <snapshots> |
| 652 | <enabled>true</enabled> |
| 653 | <updatePolicy>always</updatePolicy> |
| 654 | </snapshots> |
| 655 | </repository> |
| 656 | <repository> |
| 657 | <id>ecomp-release</id> |
| 658 | <name>onap-repository-releases</name> |
| 659 | <url>https://nexus.onap.org/content/repositories/releases</url> |
| 660 | <releases> |
| 661 | <enabled>true</enabled> |
| 662 | <updatePolicy>never</updatePolicy> |
| 663 | </releases> |
| 664 | <snapshots> |
| 665 | <enabled>false</enabled> |
| 666 | </snapshots> |
| 667 | </repository> |
| 668 | <repository> |
| 669 | <id>ecomp-snapshot</id> |
| 670 | <name>onap-repository-snapshots</name> |
| 671 | <url>https://nexus.onap.org/content/repositories/snapshots</url> |
| 672 | <releases> |
| 673 | <enabled>false</enabled> |
| 674 | </releases> |
| 675 | <snapshots> |
| 676 | <enabled>true</enabled> |
| 677 | </snapshots> |
| 678 | </repository> |
| 679 | <repository> |
| 680 | <id>opendaylight-mirror</id> |
| 681 | <name>opendaylight-mirror</name> |
| 682 | <url>https://nexus.opendaylight.org/content/repositories/public/</url> |
| 683 | <releases> |
| 684 | <enabled>true</enabled> |
| 685 | <updatePolicy>never</updatePolicy> |
| 686 | </releases> |
| 687 | <snapshots> |
| 688 | <enabled>false</enabled> |
| 689 | </snapshots> |
| 690 | </repository> |
| 691 | <repository> |
| 692 | <id>opendaylight-snapshot</id> |
| 693 | <name>opendaylight-snapshot</name> |
| 694 | <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url> |
| 695 | <releases> |
| 696 | <enabled>false</enabled> |
| 697 | </releases> |
| 698 | <snapshots> |
| 699 | <enabled>true</enabled> |
| 700 | </snapshots> |
| 701 | </repository> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 702 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 703 | </repositories> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 704 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 705 | <distributionManagement> |
| 706 | <repository> |
| 707 | <id>ecomp-releases</id> |
Timoney, Dan (dt5972) | 98d374f | 2018-10-03 19:47:28 -0400 | [diff] [blame] | 708 | <url>https://nexus.onap.org/content/repositories/releases</url> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 709 | </repository> |
| 710 | <snapshotRepository> |
| 711 | <id>ecomp-snapshots</id> |
Timoney, Dan (dt5972) | 98d374f | 2018-10-03 19:47:28 -0400 | [diff] [blame] | 712 | <url>https://nexus.onap.org/content/repositories/snapshots</url> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 713 | </snapshotRepository> |
| 714 | </distributionManagement> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 715 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 716 | <build> |
| 717 | <pluginManagement> |
| 718 | <plugins> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 719 | |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 720 | <!-- Plugins from ONAP version (parent of oparent) --> |
Timoney, Dan (dt5972) | e3948b0 | 2019-03-04 11:49:26 -0500 | [diff] [blame] | 721 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 722 | <plugin> |
| 723 | <groupId>org.apache.maven.plugins</groupId> |
| 724 | <artifactId>maven-deploy-plugin</artifactId> |
| 725 | <!-- This version supports the "deployAtEnd" parameter --> |
| 726 | <version>2.8</version> |
| 727 | <configuration> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 728 | <skip /> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 729 | </configuration> |
| 730 | </plugin> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 731 | <plugin> |
| 732 | <groupId>org.apache.maven.plugins</groupId> |
| 733 | <artifactId>maven-site-plugin</artifactId> |
| 734 | <version>3.6</version> |
| 735 | <dependencies> |
| 736 | <dependency> |
| 737 | <groupId>org.apache.maven.wagon</groupId> |
| 738 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 739 | <version>2.10</version> |
| 740 | </dependency> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 741 | </dependencies> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 742 | </plugin> |
| 743 | <plugin> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 744 | <groupId>org.apache.maven.plugins</groupId> |
| 745 | <artifactId>maven-enforcer-plugin</artifactId> |
| 746 | <version>3.0.0-M2</version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 747 | <executions> |
| 748 | <execution> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 749 | <id>enforce-property</id> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 750 | <goals> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 751 | <goal>enforce</goal> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 752 | </goals> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 753 | <configuration> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 754 | <rules> |
| 755 | <requireProperty> |
| 756 | <property>onap.nexus.url</property> |
| 757 | <message>You must set a onap.nexus.url property in your |
| 758 | ~/.m2/settings.xml. See oparent/settings.xml for an example.</message> |
| 759 | </requireProperty> |
| 760 | </rules> |
| 761 | <fail>true</fail> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 762 | </configuration> |
| 763 | </execution> |
| 764 | <execution> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 765 | <id>enforce-no-snapshots</id> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 766 | <goals> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 767 | <goal>enforce</goal> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 768 | </goals> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 769 | <configuration> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 770 | <rules> |
| 771 | <requireReleaseDeps> |
| 772 | <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot> |
| 773 | <onlyWhenRelease>true</onlyWhenRelease> |
Timoney, Dan (dt5972) | 5c5d1f0 | 2019-01-14 10:44:23 -0500 | [diff] [blame] | 774 | <level>WARN</level> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 775 | </requireReleaseDeps> |
| 776 | </rules> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 777 | </configuration> |
| 778 | </execution> |
| 779 | </executions> |
| 780 | </plugin> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 781 | <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin --> |
| 782 | <plugin> |
| 783 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 784 | <artifactId>sonar-maven-plugin</artifactId> |
| 785 | <version>3.2</version> |
| 786 | </plugin> |
| 787 | <!-- end of plugins from ONAP version (parent of oparent) --> |
| 788 | |
| 789 | <!-- Plugins from ONAP oparent --> |
| 790 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 791 | <plugin> |
| 792 | <groupId>org.jacoco</groupId> |
| 793 | <artifactId>jacoco-maven-plugin</artifactId> |
| 794 | <version>${jacoco.version}</version> |
| 795 | <configuration> |
| 796 | <!-- Note: This exclusion list should match <sonar.exclusions> property |
| 797 | above --> |
| 798 | <excludes> |
| 799 | <exclude>**/gen/**</exclude> |
| 800 | <exclude>**/generated-sources/**</exclude> |
| 801 | <exclude>**/yang-gen/**</exclude> |
| 802 | <exclude>**/pax/**</exclude> |
| 803 | </excludes> |
| 804 | </configuration> |
| 805 | <executions> |
| 806 | <!-- Prepares the property pointing to the JaCoCo runtime agent which |
| 807 | is passed as VM argument when Maven the Surefire plugin is executed. --> |
| 808 | <execution> |
| 809 | <id>pre-unit-test</id> |
| 810 | <goals> |
| 811 | <goal>prepare-agent</goal> |
| 812 | </goals> |
| 813 | <configuration> |
| 814 | <!-- Sets the path to the file which contains the execution data. --> |
| 815 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
| 816 | <!-- Sets the name of the property containing the settings for JaCoCo |
| 817 | runtime agent. --> |
| 818 | <propertyName>surefireArgLine</propertyName> |
| 819 | </configuration> |
| 820 | </execution> |
| 821 | <!-- Ensures that the code coverage report for unit tests is created |
| 822 | after unit tests have been run. --> |
| 823 | <execution> |
| 824 | <id>post-unit-test</id> |
| 825 | <phase>test</phase> |
| 826 | <goals> |
| 827 | <goal>report</goal> |
| 828 | </goals> |
| 829 | <configuration> |
| 830 | <!-- Sets the path to the file which contains the execution data. --> |
| 831 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 832 | <!-- Sets the output directory for the code coverage report. --> |
| 833 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 834 | </configuration> |
| 835 | </execution> |
| 836 | <execution> |
| 837 | <id>pre-integration-test</id> |
| 838 | <phase>pre-integration-test</phase> |
| 839 | <goals> |
| 840 | <goal>prepare-agent</goal> |
| 841 | </goals> |
| 842 | <configuration> |
| 843 | <!-- Sets the path to the file which contains the execution data. --> |
| 844 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
| 845 | <!-- Sets the name of the property containing the settings for JaCoCo |
| 846 | runtime agent. --> |
| 847 | <propertyName>failsafeArgLine</propertyName> |
| 848 | </configuration> |
| 849 | </execution> |
| 850 | <!-- Ensures that the code coverage report for integration tests after |
| 851 | integration tests have been run. --> |
| 852 | <execution> |
| 853 | <id>post-integration-test</id> |
| 854 | <phase>post-integration-test</phase> |
| 855 | <goals> |
| 856 | <goal>report</goal> |
| 857 | </goals> |
| 858 | <configuration> |
| 859 | <!-- Sets the path to the file which contains the execution data. --> |
| 860 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 861 | <!-- Sets the output directory for the code coverage report. --> |
| 862 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 863 | </configuration> |
| 864 | </execution> |
| 865 | </executions> |
| 866 | </plugin> |
| 867 | <plugin> |
| 868 | <groupId>org.apache.maven.plugins</groupId> |
| 869 | <artifactId>maven-surefire-plugin</artifactId> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 870 | <version>2.22.0</version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 871 | <configuration> |
| 872 | <!-- Sets the VM argument line used when unit tests are run. --> |
| 873 | <argLine>${surefireArgLine}</argLine> |
| 874 | <!-- Excludes integration tests when unit tests are run. --> |
| 875 | <excludes> |
| 876 | <exclude>**/IT*.java</exclude> |
| 877 | </excludes> |
| 878 | </configuration> |
| 879 | </plugin> |
| 880 | <plugin> |
| 881 | <groupId>org.apache.maven.plugins</groupId> |
| 882 | <artifactId>maven-failsafe-plugin</artifactId> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 883 | <version>2.22.0</version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 884 | <executions> |
| 885 | <!-- Ensures that both integration-test and verify goals of the Failsafe |
| 886 | Maven plugin are executed. --> |
| 887 | <execution> |
| 888 | <id>integration-tests</id> |
| 889 | <goals> |
| 890 | <goal>integration-test</goal> |
| 891 | <goal>verify</goal> |
| 892 | </goals> |
| 893 | <configuration> |
| 894 | <!-- Sets the VM argument line used when integration tests are run. --> |
| 895 | <argLine>${failsafeArgLine}</argLine> |
| 896 | </configuration> |
| 897 | </execution> |
| 898 | </executions> |
| 899 | </plugin> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 900 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 901 | <!-- End of plugins from ONAP oparent --> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 902 | <plugin> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 903 | <groupId>org.codehaus.mojo</groupId> |
| 904 | <artifactId>properties-maven-plugin</artifactId> |
| 905 | <version>1.0.0</version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 906 | <executions> |
| 907 | <execution> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 908 | <goals> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 909 | <goal>set-system-properties</goal> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 910 | </goals> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 911 | <configuration> |
| 912 | <properties> |
| 913 | <property> |
| 914 | <name>maven.wagon.http.ssl.allowall</name> |
| 915 | <value>${ssl.allowall}</value> |
| 916 | </property> |
| 917 | <property> |
| 918 | <name>maven.wagon.http.ssl.insecure</name> |
| 919 | <value>${ssl.insecure}</value> |
| 920 | </property> |
| 921 | </properties> |
| 922 | </configuration> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 923 | </execution> |
| 924 | </executions> |
| 925 | </plugin> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 926 | |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 927 | <plugin> |
| 928 | <groupId>org.codehaus.mojo</groupId> |
| 929 | <artifactId>versions-maven-plugin</artifactId> |
| 930 | <version>2.5</version> |
| 931 | <configuration> |
| 932 | <processAllModules>true</processAllModules> |
| 933 | </configuration> |
| 934 | </plugin> |
| 935 | <plugin> |
| 936 | <artifactId>maven-scm-plugin</artifactId> |
| 937 | <version>1.8.1</version> |
| 938 | <configuration> |
| 939 | <tag>${project.artifactId}-${project.version}</tag> |
| 940 | </configuration> |
| 941 | </plugin> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 942 | </plugins> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 943 | </pluginManagement> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 944 | <plugins> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 945 | |
| 946 | <!-- Plugins from oparent version (parent of oparent) --> |
| 947 | <plugin> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 948 | <groupId>org.apache.maven.plugins</groupId> |
| 949 | <artifactId>maven-deploy-plugin</artifactId> |
| 950 | </plugin> |
| 951 | <plugin> |
| 952 | <groupId>org.apache.maven.plugins</groupId> |
| 953 | <artifactId>maven-site-plugin</artifactId> |
| 954 | </plugin> |
| 955 | <plugin> |
| 956 | <groupId>org.apache.maven.plugins</groupId> |
| 957 | <artifactId>maven-enforcer-plugin</artifactId> |
| 958 | </plugin> |
| 959 | <!-- end of plugins from oparent version (parent of oparent) --> |
| 960 | |
| 961 | <!-- Plugins from oparent --> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 962 | <plugin> |
| 963 | <artifactId>maven-checkstyle-plugin</artifactId> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 964 | <version>2.17</version> |
| 965 | <dependencies> |
| 966 | <dependency> |
| 967 | <groupId>org.onap.oparent</groupId> |
| 968 | <artifactId>checkstyle</artifactId> |
| 969 | <version>1.2.2</version> |
| 970 | </dependency> |
| 971 | </dependencies> |
| 972 | <executions> |
| 973 | <execution> |
| 974 | <id>onap-license</id> |
| 975 | <goals> |
| 976 | <goal>check</goal> |
| 977 | </goals> |
| 978 | <phase>process-sources</phase> |
| 979 | <configuration> |
| 980 | <configLocation>onap-checkstyle/check-license.xml</configLocation> |
| 981 | <includeResources>false</includeResources> |
| 982 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 983 | <includeTestResources>false</includeTestResources> |
| 984 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 985 | <excludes> |
| 986 | </excludes> |
| 987 | <consoleOutput>true</consoleOutput> |
Timoney, Dan (dt5972) | bbcacd2 | 2019-06-18 10:42:07 -0400 | [diff] [blame] | 988 | <failOnViolation>false</failOnViolation> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 989 | </configuration> |
| 990 | </execution> |
| 991 | <execution> |
| 992 | <id>onap-java-style</id> |
| 993 | <goals> |
| 994 | <goal>check</goal> |
| 995 | </goals> |
| 996 | <phase>process-sources</phase> |
| 997 | <configuration> |
| 998 | <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 999 | with minor changes --> |
| 1000 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 1001 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated |
| 1002 | sources directory --> |
| 1003 | <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory> |
| 1004 | <includeResources>true</includeResources> |
| 1005 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 1006 | <includeTestResources>true</includeTestResources> |
| 1007 | <excludes> |
| 1008 | </excludes> |
| 1009 | <consoleOutput>true</consoleOutput> |
Timoney, Dan (dt5972) | bbcacd2 | 2019-06-18 10:42:07 -0400 | [diff] [blame] | 1010 | <failOnViolation>false</failOnViolation> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 1011 | </configuration> |
| 1012 | </execution> |
| 1013 | </executions> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 1014 | </plugin> |
| 1015 | <plugin> |
| 1016 | <groupId>org.codehaus.mojo</groupId> |
| 1017 | <artifactId>build-helper-maven-plugin</artifactId> |
| 1018 | <version>1.12</version> |
| 1019 | </plugin> |
| 1020 | <!-- Jacoco / Sonar --> |
| 1021 | <plugin> |
| 1022 | <groupId>org.jacoco</groupId> |
| 1023 | <artifactId>jacoco-maven-plugin</artifactId> |
| 1024 | </plugin> |
| 1025 | <plugin> |
| 1026 | <groupId>org.apache.maven.plugins</groupId> |
| 1027 | <artifactId>maven-surefire-plugin</artifactId> |
| 1028 | </plugin> |
| 1029 | <plugin> |
| 1030 | <groupId>org.apache.maven.plugins</groupId> |
| 1031 | <artifactId>maven-failsafe-plugin</artifactId> |
| 1032 | </plugin> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 1033 | <!-- end of plugins from oparent --> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 1034 | <plugin> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 1035 | <groupId>org.apache.maven.plugins</groupId> |
| 1036 | <artifactId>maven-javadoc-plugin</artifactId> |
| 1037 | <version>2.10.4</version> |
| 1038 | <executions> |
| 1039 | <execution> |
| 1040 | <id>attach-javadocs</id> |
| 1041 | <goals> |
| 1042 | <goal>jar</goal> |
| 1043 | </goals> |
| 1044 | <configuration> |
| 1045 | <additionalparam>-Xdoclint:none</additionalparam> |
| 1046 | </configuration> |
| 1047 | </execution> |
| 1048 | </executions> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 1049 | </plugin> |
| 1050 | </plugins> |
| 1051 | </build> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 1052 | <reporting> |
| 1053 | <plugins> |
| 1054 | <plugin> |
| 1055 | <artifactId>maven-javadoc-plugin</artifactId> |
| 1056 | <version>2.10.4</version> |
| 1057 | <configuration> |
| 1058 | <failOnError>false</failOnError> |
| 1059 | <additionalparam>-Xdoclint:none</additionalparam> |
| 1060 | </configuration> |
| 1061 | </plugin> |
| 1062 | </plugins> |
| 1063 | </reporting> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 1064 | <organization> |
| 1065 | <name>ONAP</name> |
| 1066 | </organization> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1067 | </project> |