Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Gary Wu | 0cf3074 | 2018-08-24 15:17:14 -0700 | [diff] [blame] | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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] | 3 | |
| 4 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 5 | <modelVersion>4.0.0</modelVersion> |
| 6 | <packaging>pom</packaging> |
| 7 | <groupId>org.onap.ccsdk.parent</groupId> |
| 8 | <artifactId>mdsal-it-parent</artifactId> |
Timoney, Dan (dt5972) | 881a2e1 | 2018-09-25 13:54:12 -0400 | [diff] [blame] | 9 | <version>1.1.1-SNAPSHOT</version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 10 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 11 | <parent> |
| 12 | <groupId>org.opendaylight.controller</groupId> |
| 13 | <artifactId>mdsal-it-parent</artifactId> |
Timoney, Dan (dt5972) | cc9e0d8 | 2018-08-15 11:08:40 -0400 | [diff] [blame] | 14 | <version>1.7.3</version> |
Gary Wu | 0cf3074 | 2018-08-24 15:17:14 -0700 | [diff] [blame] | 15 | <relativePath/> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 16 | </parent> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 17 | |
| 18 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 19 | <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name> |
| 20 | <url>http://wiki.onap.org</url> |
| 21 | <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] | 22 | |
| 23 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 24 | <issueManagement> |
| 25 | <system>JIRA</system> |
| 26 | <url>https://jira.onap.org/</url> |
| 27 | </issueManagement> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 28 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 29 | <properties> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 30 | |
Ruchira Agarwal | 53574ba | 2018-07-27 18:47:27 +0000 | [diff] [blame] | 31 | <!-- properties from oparent --> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 32 | <maven.compiler.source>1.8</maven.compiler.source> |
| 33 | <maven.compiler.target>1.8</maven.compiler.target> |
| 34 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 35 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 36 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
| 37 | <!-- sitePath may be overridden in the inheriting POM if desired --> |
| 38 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
| 39 | <jacoco.version>0.7.7.201606060606</jacoco.version> |
| 40 | <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> |
| 41 | <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> |
| 42 | <!-- Default Sonar configuration --> |
| 43 | <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths> |
| 44 | <!-- Note: This list should match jacoco-maven-plugin's exclusion list |
| 45 | below --> |
| 46 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
| 47 | <!-- If following file exist, auto-generation of swagger.json will be done --> |
| 48 | <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties> |
| 49 | <!-- If following file exist, auto-generation of sdk will be done --> |
| 50 | <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json> |
Ruchira Agarwal | 53574ba | 2018-07-27 18:47:27 +0000 | [diff] [blame] | 51 | <!-- end of properties from oparent --> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 52 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 53 | <!-- ONAP repositories --> |
| 54 | <onap.nexus.host>nexus.onap.org</onap.nexus.host> |
| 55 | <onap.nexus.port>443</onap.nexus.port> |
| 56 | <onap.nexus.protocol>https</onap.nexus.protocol> |
| 57 | <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url> |
| 58 | <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url> |
| 59 | <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url> |
| 60 | <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url> |
| 61 | <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id> |
| 62 | <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 63 | |
| 64 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 65 | <!-- OpenDaylight repositories --> |
| 66 | <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url> |
| 67 | <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] | 68 | |
| 69 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 70 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 71 | <java.version.source>1.8</java.version.source> |
| 72 | <java.version.target>1.8</java.version.target> |
| 73 | <bundle.plugin.version>2.5.0</bundle.plugin.version> |
| 74 | <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version> |
| 75 | <features.file>features.xml</features.file> |
| 76 | <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath> |
| 77 | <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> |
| 78 | <checkstyle.skip>true</checkstyle.skip> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 79 | |
| 80 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 81 | <sonar.language>java</sonar.language> |
| 82 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 83 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 84 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> |
| 85 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 86 | |
| 87 | |
| 88 | |
| 89 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 90 | <!-- CCSDK component versions --> |
Timoney, Dan (dt5972) | f314a5d | 2018-09-25 11:31:10 -0400 | [diff] [blame] | 91 | <ccsdk.sli.core.version>0.3.1-SNAPSHOT</ccsdk.sli.core.version> |
| 92 | <ccsdk.sli.adaptors.version>0.3.1-SNAPSHOT</ccsdk.sli.adaptors.version> |
| 93 | <ccsdk.sli.northbound.version>0.3.1-SNAPSHOT</ccsdk.sli.northbound.version> |
| 94 | <ccsdk.sli.plugins.version>0.3.1-SNAPSHOT</ccsdk.sli.plugins.version> |
| 95 | <ccsdk.distribution.version>0.3.1-SNAPSHOT</ccsdk.distribution.version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 96 | <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version> |
| 97 | <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version> |
| 98 | <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version> |
| 99 | <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version> |
| 100 | <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 101 | |
Timoney, Dan (dt5972) | b02ff95 | 2018-03-05 11:01:26 -0500 | [diff] [blame] | 102 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 103 | <!-- Support libraries used by OpenDaylight --> |
Timoney, Dan (dt5972) | cc9e0d8 | 2018-08-15 11:08:40 -0400 | [diff] [blame] | 104 | <odl.mdsal.version>1.7.3</odl.mdsal.version> |
| 105 | <odl.mdsal.model.version>0.12.3</odl.mdsal.model.version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 106 | <!-- Used by aaa, vtn --> |
| 107 | <commons.codec.version>1.10</commons.codec.version> |
| 108 | <!-- Used by netconf, ovsdb --> |
| 109 | <commons.lang3.version>3.7</commons.lang3.version> |
| 110 | <!-- Used by sfc, snmp4sdn; see also affinity, toolkit --> |
| 111 | <commons.lang.version>2.6</commons.lang.version> |
| 112 | <!-- Used by neutron; see also controller, vtn --> |
| 113 | <commons.net.version>3.6</commons.net.version> |
| 114 | <!-- Used by neutron --> |
| 115 | <eclipse.persistence.version>2.7.1</eclipse.persistence.version> |
| 116 | <!-- Used by aaa --> |
| 117 | <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version> |
| 118 | <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn --> |
| 119 | <gson.version>2.8.2</gson.version> |
| 120 | <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp --> |
| 121 | <guava.version>23.6</guava.version> |
| 122 | <!-- Used by lispflowmapping, sxp, vtn/manager --> |
| 123 | <hamcrest.version>1.3.1</hamcrest.version> |
| 124 | <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all, |
| 125 | integration/distribution, snmp4sdn, toolkit, ttp --> |
| 126 | <jackson.version>2.3.2</jackson.version> |
| 127 | <!-- Used by snmp4sdn, yangtools --> |
| 128 | <javassist.version>3.20.0-GA</javassist.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 129 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 130 | <!-- FIXME remove all dependencies for jersey 1.17 after migration all |
| 131 | projects --> |
| 132 | <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all, |
| 133 | snmp4sdn, toolkit --> |
| 134 | <jersey.version>1.19.4</jersey.version> |
| 135 | <!-- Used by sfc --> |
| 136 | <jersey.client.version>1.19.4</jersey.client.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 137 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 138 | <!-- New packages for jersey migration 1.17 to 2.8 --> |
| 139 | <!-- appache.geronimo.bundle for DocGen --> |
| 140 | <!-- Used by aaa, iotdm, netconf, ovsdb, sfc --> |
| 141 | <org.json.version>20131018</org.json.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 142 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 143 | <!-- Used by sfc --> |
| 144 | <jettison.version>1.3.8</jettison.version> |
| 145 | <!-- Used by persistence --> |
| 146 | <jsr305.api.version>3.0.0</jsr305.api.version> |
| 147 | <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560 |
| 148 | is fixed (either in PowerMock or with a new JUnit release) --> |
| 149 | <!-- Used everywhere --> |
| 150 | <junit.version>4.11</junit.version> |
| 151 | <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit --> |
Timoney, Dan (dt5972) | 082e507 | 2018-06-18 22:31:42 -0400 | [diff] [blame] | 152 | <logback.version>1.2.3</logback.version> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 153 | <!-- Used by nic, sfc, sxp, tsdr --> |
| 154 | <mockito.version>1.10.19</mockito.version> |
| 155 | <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit --> |
| 156 | <netty.version>4.1.22.Final</netty.version> |
| 157 | <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity, |
| 158 | toolkit --> |
| 159 | <slf4j.version>1.7.25</slf4j.version> |
| 160 | <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit, |
| 161 | tsdr, ttp --> |
| 162 | <spring.version>3.2.17.RELEASE</spring.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 163 | |
| 164 | |
| 165 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 166 | <!-- Extra support libraries used by SDN-C --> |
| 167 | <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version> |
| 168 | <jackson-annotations-version>${jackson.version}</jackson-annotations-version> |
| 169 | <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version> |
| 170 | <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version> |
| 171 | <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version> |
| 172 | <antlr.version>4.7.1</antlr.version> |
| 173 | <mysql.connector.version>5.1.39</mysql.connector.version> |
| 174 | <mariadb.connector.version>2.1.1</mariadb.connector.version> |
| 175 | <h2database.version>1.4.196</h2database.version> |
| 176 | <derby.version>10.14.2.0</derby.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 177 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 178 | <eelf.version>1.0.0</eelf.version> |
| 179 | <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version> |
Timoney, Dan (dt5972) | ebc00be | 2018-03-21 09:00:19 -0400 | [diff] [blame] | 180 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 181 | <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version> |
| 182 | </properties> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 183 | |
| 184 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 185 | <profiles> |
| 186 | <!-- Profiles from ONAP oparent --> |
| 187 | <profile> |
| 188 | <id>generate-json</id> |
| 189 | <activation> |
| 190 | <file> |
| 191 | <exists>${swagger-properties}</exists> |
| 192 | </file> |
| 193 | <property> |
| 194 | <name>swagger-sdk.generate-json</name> |
| 195 | </property> |
| 196 | </activation> |
| 197 | <build> |
| 198 | <plugins> |
| 199 | <plugin> |
| 200 | <groupId>org.codehaus.mojo</groupId> |
| 201 | <artifactId>properties-maven-plugin</artifactId> |
| 202 | <version>1.0.0</version> |
| 203 | <executions> |
| 204 | <execution> |
| 205 | <phase>initialize</phase> |
| 206 | <goals> |
| 207 | <goal>read-project-properties</goal> |
| 208 | </goals> |
| 209 | <configuration> |
| 210 | <files> |
| 211 | <file>${basedir}/src/main/resources/swagger.properties</file> |
| 212 | </files> |
| 213 | </configuration> |
| 214 | </execution> |
| 215 | </executions> |
| 216 | </plugin> |
| 217 | <plugin> |
| 218 | <groupId>com.github.kongchen</groupId> |
| 219 | <artifactId>swagger-maven-plugin</artifactId> |
| 220 | <version>3.1.4</version> |
| 221 | <configuration> |
| 222 | <apiSources> |
| 223 | <apiSource> |
| 224 | <locations>${api-rest-package}</locations> |
| 225 | <schemes>http,https</schemes> |
| 226 | <host>${api-host-ip}:${api-host-port}</host> |
| 227 | <basePath>${api-base-path}</basePath> |
| 228 | <info> |
| 229 | <title>${api-title}</title> |
| 230 | <version>${api-version}</version> |
| 231 | <description>${api-description}</description> |
| 232 | <license> |
| 233 | <name>${api-license}</name> |
| 234 | </license> |
| 235 | </info> |
| 236 | <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory> |
| 237 | </apiSource> |
| 238 | </apiSources> |
| 239 | </configuration> |
| 240 | <executions> |
| 241 | <execution> |
| 242 | <phase>compile</phase> |
| 243 | <goals> |
| 244 | <goal>generate</goal> |
| 245 | </goals> |
| 246 | </execution> |
| 247 | </executions> |
| 248 | </plugin> |
| 249 | <plugin> |
| 250 | <groupId>org.apache.maven.plugins</groupId> |
| 251 | <artifactId>maven-install-plugin</artifactId> |
| 252 | <version>2.3.1</version> |
| 253 | <executions> |
| 254 | <execution> |
| 255 | <id>install-file-id</id> |
| 256 | <phase>install</phase> |
| 257 | <goals> |
| 258 | <goal>install-file</goal> |
| 259 | </goals> |
| 260 | <configuration> |
| 261 | <file>${basedir}/src/main/resources/swagger.json</file> |
| 262 | <groupId>${project.groupId}</groupId> |
| 263 | <artifactId>${project.artifactId}-swagger-schema</artifactId> |
| 264 | <version>${project.version}</version> |
| 265 | <packaging>json</packaging> |
| 266 | </configuration> |
| 267 | </execution> |
| 268 | </executions> |
| 269 | </plugin> |
| 270 | </plugins> |
| 271 | </build> |
| 272 | </profile> |
| 273 | <profile> |
| 274 | <id>generate-sdk</id> |
| 275 | <activation> |
| 276 | <file> |
| 277 | <exists>${swagger-json}</exists> |
| 278 | </file> |
| 279 | <property> |
| 280 | <name>swagger-sdk.generate-java-sdk</name> |
| 281 | </property> |
| 282 | </activation> |
| 283 | <build> |
| 284 | <plugins> |
| 285 | <plugin> |
| 286 | <groupId>org.apache.maven.plugins</groupId> |
| 287 | <artifactId>maven-antrun-plugin</artifactId> |
| 288 | <version>1.8</version> |
| 289 | <executions> |
| 290 | <execution> |
| 291 | <phase>initialize</phase> |
| 292 | <id>ant-create-script</id> |
| 293 | <configuration> |
| 294 | <exportAntProperties>true</exportAntProperties> |
| 295 | <tasks> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 296 | |
Gary Wu | 0cf3074 | 2018-08-24 15:17:14 -0700 | [diff] [blame] | 297 | <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 298 | <condition property="is_windows" value="true"> |
Gary Wu | 0cf3074 | 2018-08-24 15:17:14 -0700 | [diff] [blame] | 299 | <os family="windows"/> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 300 | </condition> |
| 301 | <condition property="isLinux" value="true"> |
Gary Wu | 0cf3074 | 2018-08-24 15:17:14 -0700 | [diff] [blame] | 302 | <os family="unix"/> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 303 | </condition> |
| 304 | <if> |
Gary Wu | 0cf3074 | 2018-08-24 15:17:14 -0700 | [diff] [blame] | 305 | <equals arg1="${is_windows}" arg2="true"/> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 306 | <then> |
Gary Wu | 0cf3074 | 2018-08-24 15:17:14 -0700 | [diff] [blame] | 307 | <property name="swagger.sdk.script.file" value="generated-source-script.bat"/> |
| 308 | <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/> |
| 309 | <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 310 | </then> |
| 311 | <else> |
Gary Wu | 0cf3074 | 2018-08-24 15:17:14 -0700 | [diff] [blame] | 312 | <property name="swagger.sdk.script.file" value="generated-source-script.sh"/> |
| 313 | <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/> |
| 314 | <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/> |
| 315 | <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 316 | </else> |
| 317 | </if> |
| 318 | </tasks> |
| 319 | </configuration> |
| 320 | <goals> |
| 321 | <goal>run</goal> |
| 322 | </goals> |
| 323 | </execution> |
| 324 | </executions> |
| 325 | <dependencies> |
| 326 | <dependency> |
| 327 | <groupId>ant-contrib</groupId> |
| 328 | <artifactId>ant-contrib</artifactId> |
| 329 | <version>1.0b3</version> |
| 330 | <exclusions> |
| 331 | <exclusion> |
| 332 | <artifactId>ant</artifactId> |
| 333 | <groupId>ant</groupId> |
| 334 | </exclusion> |
| 335 | </exclusions> |
| 336 | </dependency> |
| 337 | </dependencies> |
| 338 | </plugin> |
| 339 | <plugin> |
| 340 | <groupId>io.swagger</groupId> |
| 341 | <artifactId>swagger-codegen-maven-plugin</artifactId> |
| 342 | <version>2.2.1</version> |
| 343 | <executions> |
| 344 | <execution> |
| 345 | <goals> |
| 346 | <goal>generate</goal> |
| 347 | </goals> |
| 348 | <configuration> |
| 349 | <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec> |
| 350 | <output>${project.build.directory}/generated-sources</output> |
| 351 | <language>java</language> |
| 352 | <configOptions> |
| 353 | <dateLibrary>joda</dateLibrary> |
| 354 | </configOptions> |
| 355 | <library>jersey2</library> |
| 356 | <groupId>${project.groupId}</groupId> |
| 357 | <artifactId>${project.artifactId}-java-sdk</artifactId> |
| 358 | <artifactVersion>${project.version}</artifactVersion> |
| 359 | <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage> |
| 360 | <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage> |
| 361 | <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage> |
| 362 | </configuration> |
| 363 | </execution> |
| 364 | </executions> |
| 365 | </plugin> |
| 366 | <plugin> |
| 367 | <artifactId>exec-maven-plugin</artifactId> |
| 368 | <groupId>org.codehaus.mojo</groupId> |
| 369 | <version>1.5.0</version> |
| 370 | <executions> |
| 371 | <execution> |
| 372 | <id>swagger-generate-sources</id> |
| 373 | <phase>generate-sources</phase> |
| 374 | <goals> |
| 375 | <goal>exec</goal> |
| 376 | </goals> |
| 377 | <configuration> |
| 378 | <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable> |
| 379 | </configuration> |
| 380 | </execution> |
| 381 | </executions> |
| 382 | </plugin> |
| 383 | <plugin> |
| 384 | <groupId>org.apache.maven.plugins</groupId> |
| 385 | <artifactId>maven-clean-plugin</artifactId> |
| 386 | <version>3.0.0</version> |
| 387 | <executions> |
| 388 | <execution> |
| 389 | <id>clean-generated-files</id> |
| 390 | <phase>generate-sources</phase> |
| 391 | <goals> |
| 392 | <goal>clean</goal> |
| 393 | </goals> |
| 394 | <configuration> |
| 395 | <filesets> |
| 396 | <fileset> |
| 397 | <directory>${project.build.directory}/generated-sources</directory> |
| 398 | </fileset> |
| 399 | </filesets> |
| 400 | </configuration> |
| 401 | </execution> |
| 402 | </executions> |
| 403 | </plugin> |
| 404 | </plugins> |
| 405 | </build> |
| 406 | <dependencies> |
| 407 | <dependency> |
| 408 | <groupId>org.onap.msb.swagger-sdk</groupId> |
| 409 | <artifactId>swagger-sdk</artifactId> |
| 410 | <version>1.0.0</version> |
| 411 | </dependency> |
| 412 | </dependencies> |
| 413 | </profile> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 414 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 415 | <!-- End of profiles from ONAP oparent --> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 416 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 417 | </profiles> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 418 | |
| 419 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 420 | <dependencyManagement> |
| 421 | <dependencies> |
| 422 | <dependency> |
| 423 | <groupId>org.opendaylight.controller</groupId> |
| 424 | <artifactId>mdsal-artifacts</artifactId> |
| 425 | <version>${odl.mdsal.version}</version> |
| 426 | <type>pom</type> |
| 427 | <scope>import</scope> |
| 428 | </dependency> |
| 429 | <dependency> |
| 430 | <groupId>org.opendaylight.mdsal.model</groupId> |
| 431 | <artifactId>mdsal-model-artifacts</artifactId> |
| 432 | <version>${odl.mdsal.model.version}</version> |
| 433 | <type>pom</type> |
| 434 | <scope>import</scope> |
| 435 | </dependency> |
| 436 | <dependency> |
| 437 | <groupId>org.onap.sdnc.core</groupId> |
| 438 | <artifactId>sli-common</artifactId> |
| 439 | <version>${sdnctl.sli.version}</version> |
| 440 | </dependency> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 441 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 442 | <dependency> |
| 443 | <groupId>org.onap.sdnc.core</groupId> |
| 444 | <artifactId>sli-provider</artifactId> |
| 445 | <version>${sdnctl.sli.version}</version> |
| 446 | </dependency> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 447 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 448 | <dependency> |
| 449 | <groupId>org.onap.sdnc.core</groupId> |
| 450 | <artifactId>aai-service-provider</artifactId> |
| 451 | <version>${sdnctl.aai.service.version}</version> |
| 452 | </dependency> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 453 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 454 | <dependency> |
| 455 | <groupId>org.onap.sdnc.core</groupId> |
| 456 | <artifactId>dblib-provider</artifactId> |
| 457 | <version>${sdnctl.dblib.version}</version> |
| 458 | </dependency> |
| 459 | <dependency> |
| 460 | <groupId>com.att.eelf</groupId> |
| 461 | <artifactId>eelf-core</artifactId> |
| 462 | <version>${eelf.version}</version> |
| 463 | </dependency> |
| 464 | <dependency> |
| 465 | <groupId>org.apache.derby</groupId> |
| 466 | <artifactId>derby</artifactId> |
| 467 | <version>${derby.version}</version> |
| 468 | <scope>test</scope> |
| 469 | </dependency> |
| 470 | </dependencies> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 471 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 472 | </dependencyManagement> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 473 | |
| 474 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 475 | <reporting> |
| 476 | <plugins> |
| 477 | <plugin> |
| 478 | <artifactId>maven-javadoc-plugin</artifactId> |
| 479 | <version>2.10.4</version> |
| 480 | <configuration> |
| 481 | <failOnError>false</failOnError> |
| 482 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 483 | <docletArtifact> |
| 484 | <groupId>org.umlgraph</groupId> |
| 485 | <artifactId>umlgraph</artifactId> |
| 486 | <version>5.6</version> |
| 487 | </docletArtifact> |
| 488 | <additionalparam>-views</additionalparam> |
| 489 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 490 | <excludePackageNames>org.opendaylight.*</excludePackageNames> |
| 491 | <additionalDependencies> |
| 492 | <additionalDependency> |
| 493 | <groupId>org.slf4j</groupId> |
| 494 | <artifactId>slf4j-api</artifactId> |
| 495 | <version>${slf4j.version}</version> |
| 496 | </additionalDependency> |
| 497 | <additionalDependency> |
| 498 | <groupId>org.antlr</groupId> |
| 499 | <artifactId>antlr4</artifactId> |
| 500 | <version>${antlr.version}</version> |
| 501 | </additionalDependency> |
| 502 | <additionalDependency> |
| 503 | <groupId>org.antlr</groupId> |
| 504 | <artifactId>antlr4-runtime</artifactId> |
| 505 | <version>${antlr.version}</version> |
| 506 | </additionalDependency> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 507 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 508 | <additionalDependency> |
| 509 | <groupId>com.sun.jersey</groupId> |
| 510 | <artifactId>jersey-client</artifactId> |
| 511 | <version>${jersey.json.version}</version> |
| 512 | </additionalDependency> |
| 513 | <additionalDependency> |
| 514 | <groupId>com.sun.jersey</groupId> |
| 515 | <artifactId>jersey-core</artifactId> |
| 516 | <version>${jersey.json.version}</version> |
| 517 | </additionalDependency> |
| 518 | <additionalDependency> |
| 519 | <groupId>org.apache.httpcomponents</groupId> |
| 520 | <artifactId>httpcore-osgi</artifactId> |
| 521 | <version>${apache.httpcomponents.core.version}</version> |
| 522 | </additionalDependency> |
| 523 | <additionalDependency> |
| 524 | <groupId>org.apache.httpcomponents</groupId> |
| 525 | <artifactId>httpclient-osgi</artifactId> |
| 526 | <version>${apache.httpcomponents.client.version}</version> |
| 527 | </additionalDependency> |
| 528 | <additionalDependency> |
| 529 | <groupId>com.fasterxml.jackson.core</groupId> |
| 530 | <artifactId>jackson-databind</artifactId> |
| 531 | <version>${fasterxml.jackson.version}</version> |
| 532 | </additionalDependency> |
| 533 | <additionalDependency> |
| 534 | <groupId>com.fasterxml.jackson.core</groupId> |
| 535 | <artifactId>jackson-annotations</artifactId> |
| 536 | <version>${fasterxml.jackson.version}</version> |
| 537 | </additionalDependency> |
| 538 | <additionalDependency> |
| 539 | <groupId>com.fasterxml.jackson.core</groupId> |
| 540 | <artifactId>jackson-core</artifactId> |
| 541 | <version>${fasterxml.jackson.version}</version> |
| 542 | </additionalDependency> |
| 543 | <additionalDependency> |
| 544 | <groupId>commons-lang</groupId> |
| 545 | <artifactId>commons-lang</artifactId> |
| 546 | <version>${commons.lang.version}</version> |
| 547 | </additionalDependency> |
| 548 | </additionalDependencies> |
| 549 | </configuration> |
| 550 | <reportSets> |
| 551 | <reportSet> |
| 552 | <reports> |
| 553 | <report>javadoc-no-fork</report> |
| 554 | <report>test-javadoc-no-fork</report> |
| 555 | </reports> |
| 556 | </reportSet> |
| 557 | <reportSet> |
| 558 | <id>aggregate</id> |
| 559 | <reports> |
| 560 | <report>aggregate</report> |
| 561 | <report>test-aggregate</report> |
| 562 | </reports> |
| 563 | </reportSet> |
| 564 | </reportSets> |
| 565 | </plugin> |
| 566 | <plugin> |
| 567 | <groupId>org.apache.maven.plugins</groupId> |
| 568 | <artifactId>maven-jxr-plugin</artifactId> |
| 569 | <version>2.3</version> |
| 570 | <reportSets> |
| 571 | <reportSet> |
| 572 | <id>aggregate</id> |
| 573 | <reports> |
| 574 | <report>aggregate</report> |
| 575 | <report>test-aggregate</report> |
| 576 | </reports> |
| 577 | </reportSet> |
| 578 | </reportSets> |
| 579 | </plugin> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 580 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 581 | <plugin> |
| 582 | <artifactId>maven-surefire-plugin</artifactId> |
| 583 | <version>2.17</version> |
| 584 | </plugin> |
| 585 | <plugin> |
| 586 | <groupId>org.apache.maven.plugins</groupId> |
| 587 | <artifactId>maven-changelog-plugin</artifactId> |
| 588 | <version>2.3</version> |
| 589 | <reportSets> |
| 590 | <reportSet> |
| 591 | <id>dual-report</id> |
| 592 | <configuration> |
| 593 | <type>range</type> |
| 594 | <range>30</range> |
| 595 | </configuration> |
| 596 | <reports> |
| 597 | <report>changelog</report> |
| 598 | <report>file-activity</report> |
| 599 | </reports> |
| 600 | </reportSet> |
| 601 | </reportSets> |
| 602 | </plugin> |
| 603 | <plugin> |
| 604 | <groupId>org.codehaus.mojo</groupId> |
| 605 | <artifactId>taglist-maven-plugin</artifactId> |
| 606 | <version>2.4</version> |
| 607 | </plugin> |
| 608 | </plugins> |
| 609 | </reporting> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 610 | |
| 611 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 612 | <pluginRepositories> |
| 613 | <pluginRepository> |
| 614 | <id>onap-public</id> |
| 615 | <url>${onap.nexus.public-url}</url> |
| 616 | <releases> |
| 617 | <enabled>true</enabled> |
| 618 | </releases> |
| 619 | <snapshots> |
| 620 | <enabled>true</enabled> |
| 621 | </snapshots> |
| 622 | </pluginRepository> |
| 623 | <pluginRepository> |
| 624 | <id>onap-staging</id> |
| 625 | <url>${onap.nexus.staging-url}</url> |
| 626 | <releases> |
| 627 | <enabled>true</enabled> |
| 628 | </releases> |
| 629 | <snapshots> |
| 630 | <enabled>true</enabled> |
| 631 | </snapshots> |
| 632 | </pluginRepository> |
| 633 | <pluginRepository> |
| 634 | <id>onap-snapshot</id> |
| 635 | <url>${onap.nexus.snapshot-url}</url> |
| 636 | <releases> |
| 637 | <enabled>false</enabled> |
| 638 | </releases> |
| 639 | <snapshots> |
| 640 | <enabled>true</enabled> |
| 641 | </snapshots> |
| 642 | </pluginRepository> |
| 643 | <pluginRepository> |
| 644 | <id>opendaylight-mirror</id> |
| 645 | <name>opendaylight-mirror</name> |
| 646 | <url>${opendaylight.nexus.public-url}</url> |
| 647 | <releases> |
| 648 | <enabled>true</enabled> |
| 649 | <updatePolicy>never</updatePolicy> |
| 650 | </releases> |
| 651 | <snapshots> |
| 652 | <enabled>false</enabled> |
| 653 | </snapshots> |
| 654 | </pluginRepository> |
| 655 | <pluginRepository> |
| 656 | <id>opendaylight-snapshot</id> |
| 657 | <name>opendaylight-snapshot</name> |
| 658 | <url>${opendaylight.nexus.snapshot-url}</url> |
| 659 | <releases> |
| 660 | <enabled>false</enabled> |
| 661 | </releases> |
| 662 | <snapshots> |
| 663 | <enabled>true</enabled> |
| 664 | </snapshots> |
| 665 | </pluginRepository> |
| 666 | <!-- Black Duck plugin dependencies --> |
| 667 | <pluginRepository> |
| 668 | <id>JCenter</id> |
| 669 | <name>JCenter Repository</name> |
| 670 | <url>http://jcenter.bintray.com</url> |
| 671 | </pluginRepository> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 672 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 673 | <pluginRepository> |
| 674 | <id>Restlet</id> |
| 675 | <name>Restlet Repository</name> |
| 676 | <url>http://maven.restlet.com</url> |
| 677 | </pluginRepository> |
| 678 | </pluginRepositories> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 679 | |
| 680 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 681 | <repositories> |
| 682 | <repository> |
| 683 | <id>onap-public</id> |
| 684 | <url>https://nexus.onap.org/content/groups/public</url> |
| 685 | <releases> |
| 686 | <enabled>true</enabled> |
| 687 | <updatePolicy>never</updatePolicy> |
| 688 | </releases> |
| 689 | <snapshots> |
| 690 | <enabled>true</enabled> |
| 691 | <updatePolicy>always</updatePolicy> |
| 692 | </snapshots> |
| 693 | </repository> |
| 694 | <repository> |
| 695 | <id>onap-staging</id> |
| 696 | <url>https://nexus.onap.org/content/groups/staging</url> |
| 697 | <releases> |
| 698 | <enabled>true</enabled> |
| 699 | <updatePolicy>never</updatePolicy> |
| 700 | </releases> |
| 701 | <snapshots> |
| 702 | <enabled>true</enabled> |
| 703 | <updatePolicy>always</updatePolicy> |
| 704 | </snapshots> |
| 705 | </repository> |
| 706 | <repository> |
| 707 | <id>ecomp-release</id> |
| 708 | <name>onap-repository-releases</name> |
| 709 | <url>https://nexus.onap.org/content/repositories/releases</url> |
| 710 | <releases> |
| 711 | <enabled>true</enabled> |
| 712 | <updatePolicy>never</updatePolicy> |
| 713 | </releases> |
| 714 | <snapshots> |
| 715 | <enabled>false</enabled> |
| 716 | </snapshots> |
| 717 | </repository> |
| 718 | <repository> |
| 719 | <id>ecomp-snapshot</id> |
| 720 | <name>onap-repository-snapshots</name> |
| 721 | <url>https://nexus.onap.org/content/repositories/snapshots</url> |
| 722 | <releases> |
| 723 | <enabled>false</enabled> |
| 724 | </releases> |
| 725 | <snapshots> |
| 726 | <enabled>true</enabled> |
| 727 | </snapshots> |
| 728 | </repository> |
| 729 | <repository> |
| 730 | <id>opendaylight-mirror</id> |
| 731 | <name>opendaylight-mirror</name> |
| 732 | <url>https://nexus.opendaylight.org/content/repositories/public/</url> |
| 733 | <releases> |
| 734 | <enabled>true</enabled> |
| 735 | <updatePolicy>never</updatePolicy> |
| 736 | </releases> |
| 737 | <snapshots> |
| 738 | <enabled>false</enabled> |
| 739 | </snapshots> |
| 740 | </repository> |
| 741 | <repository> |
| 742 | <id>opendaylight-snapshot</id> |
| 743 | <name>opendaylight-snapshot</name> |
| 744 | <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url> |
| 745 | <releases> |
| 746 | <enabled>false</enabled> |
| 747 | </releases> |
| 748 | <snapshots> |
| 749 | <enabled>true</enabled> |
| 750 | </snapshots> |
| 751 | </repository> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 752 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 753 | </repositories> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 754 | |
Dan Timoney | 45ddb6c | 2018-02-06 10:19:20 -0500 | [diff] [blame] | 755 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 756 | <distributionManagement> |
| 757 | <repository> |
| 758 | <id>ecomp-releases</id> |
Timoney, Dan (dt5972) | 98d374f | 2018-10-03 19:47:28 -0400 | [diff] [blame^] | 759 | <url>https://nexus.onap.org/content/repositories/releases</url> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 760 | </repository> |
| 761 | <snapshotRepository> |
| 762 | <id>ecomp-snapshots</id> |
Timoney, Dan (dt5972) | 98d374f | 2018-10-03 19:47:28 -0400 | [diff] [blame^] | 763 | <url>https://nexus.onap.org/content/repositories/snapshots</url> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 764 | </snapshotRepository> |
| 765 | </distributionManagement> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 766 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 767 | <build> |
| 768 | <pluginManagement> |
| 769 | <plugins> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 770 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 771 | <!-- Plugins from ONAP oparent --> |
| 772 | <plugin> |
| 773 | <groupId>org.apache.maven.plugins</groupId> |
| 774 | <artifactId>maven-deploy-plugin</artifactId> |
| 775 | <!-- This version supports the "deployAtEnd" parameter --> |
| 776 | <version>2.8</version> |
| 777 | <configuration> |
Gary Wu | 0cf3074 | 2018-08-24 15:17:14 -0700 | [diff] [blame] | 778 | <skip/> |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 779 | </configuration> |
| 780 | </plugin> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 781 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 782 | <plugin> |
| 783 | <groupId>org.apache.maven.plugins</groupId> |
| 784 | <artifactId>maven-site-plugin</artifactId> |
| 785 | <version>3.6</version> |
| 786 | <dependencies> |
| 787 | <dependency> |
| 788 | <groupId>org.apache.maven.wagon</groupId> |
| 789 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 790 | <version>2.10</version> |
| 791 | </dependency> |
| 792 | <dependency> |
| 793 | <groupId>org.apache.maven.doxia</groupId> |
| 794 | <artifactId>doxia-core</artifactId> |
| 795 | <version>1.7</version> |
| 796 | </dependency> |
| 797 | <dependency> |
| 798 | <groupId>org.apache.maven.doxia</groupId> |
| 799 | <artifactId>doxia-sink-api</artifactId> |
| 800 | <version>1.7</version> |
| 801 | </dependency> |
| 802 | <dependency> |
| 803 | <groupId>org.apache.maven.doxia</groupId> |
| 804 | <artifactId>doxia-logging-api</artifactId> |
| 805 | <version>1.7</version> |
| 806 | </dependency> |
| 807 | </dependencies> |
| 808 | <executions> |
| 809 | <execution> |
| 810 | <id>attach-descriptor</id> |
| 811 | <goals> |
| 812 | <goal>attach-descriptor</goal> |
| 813 | </goals> |
| 814 | </execution> |
| 815 | </executions> |
| 816 | </plugin> |
| 817 | <plugin> |
| 818 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 819 | <version>2.17</version> |
| 820 | <dependencies> |
| 821 | <dependency> |
| 822 | <groupId>org.onap.oparent</groupId> |
| 823 | <artifactId>checkstyle</artifactId> |
| 824 | <version>1.1.1</version> |
| 825 | </dependency> |
| 826 | </dependencies> |
| 827 | <executions> |
| 828 | <execution> |
| 829 | <id>check-license</id> |
| 830 | <goals> |
| 831 | <goal>check</goal> |
| 832 | </goals> |
| 833 | <phase>process-sources</phase> |
| 834 | <configuration> |
| 835 | <configLocation>onap-checkstyle/check-license.xml</configLocation> |
| 836 | <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation> |
| 837 | <includeResources>false</includeResources> |
| 838 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 839 | <includeTestResources>false</includeTestResources> |
| 840 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 841 | <excludes> |
| 842 | </excludes> |
| 843 | <failsOnError>false</failsOnError> |
| 844 | <consoleOutput>true</consoleOutput> |
| 845 | </configuration> |
| 846 | </execution> |
| 847 | <execution> |
| 848 | <id>check-style</id> |
| 849 | <goals> |
| 850 | <goal>check</goal> |
| 851 | </goals> |
| 852 | <phase>process-sources</phase> |
| 853 | <configuration> |
| 854 | <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 855 | with minor changes --> |
| 856 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 857 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated |
| 858 | sources directory --> |
| 859 | <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory> |
| 860 | <includeResources>true</includeResources> |
| 861 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 862 | <includeTestResources>true</includeTestResources> |
| 863 | <excludes> |
| 864 | </excludes> |
| 865 | <failsOnError>false</failsOnError> |
| 866 | <consoleOutput>true</consoleOutput> |
| 867 | </configuration> |
| 868 | </execution> |
| 869 | </executions> |
| 870 | </plugin> |
| 871 | <plugin> |
| 872 | <groupId>org.jacoco</groupId> |
| 873 | <artifactId>jacoco-maven-plugin</artifactId> |
| 874 | <version>${jacoco.version}</version> |
| 875 | <configuration> |
| 876 | <!-- Note: This exclusion list should match <sonar.exclusions> property |
| 877 | above --> |
| 878 | <excludes> |
| 879 | <exclude>**/gen/**</exclude> |
| 880 | <exclude>**/generated-sources/**</exclude> |
| 881 | <exclude>**/yang-gen/**</exclude> |
| 882 | <exclude>**/pax/**</exclude> |
| 883 | </excludes> |
| 884 | </configuration> |
| 885 | <executions> |
| 886 | <!-- Prepares the property pointing to the JaCoCo runtime agent which |
| 887 | is passed as VM argument when Maven the Surefire plugin is executed. --> |
| 888 | <execution> |
| 889 | <id>pre-unit-test</id> |
| 890 | <goals> |
| 891 | <goal>prepare-agent</goal> |
| 892 | </goals> |
| 893 | <configuration> |
| 894 | <!-- Sets the path to the file which contains the execution data. --> |
| 895 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
| 896 | <!-- Sets the name of the property containing the settings for JaCoCo |
| 897 | runtime agent. --> |
| 898 | <propertyName>surefireArgLine</propertyName> |
| 899 | </configuration> |
| 900 | </execution> |
| 901 | <!-- Ensures that the code coverage report for unit tests is created |
| 902 | after unit tests have been run. --> |
| 903 | <execution> |
| 904 | <id>post-unit-test</id> |
| 905 | <phase>test</phase> |
| 906 | <goals> |
| 907 | <goal>report</goal> |
| 908 | </goals> |
| 909 | <configuration> |
| 910 | <!-- Sets the path to the file which contains the execution data. --> |
| 911 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 912 | <!-- Sets the output directory for the code coverage report. --> |
| 913 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 914 | </configuration> |
| 915 | </execution> |
| 916 | <execution> |
| 917 | <id>pre-integration-test</id> |
| 918 | <phase>pre-integration-test</phase> |
| 919 | <goals> |
| 920 | <goal>prepare-agent</goal> |
| 921 | </goals> |
| 922 | <configuration> |
| 923 | <!-- Sets the path to the file which contains the execution data. --> |
| 924 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
| 925 | <!-- Sets the name of the property containing the settings for JaCoCo |
| 926 | runtime agent. --> |
| 927 | <propertyName>failsafeArgLine</propertyName> |
| 928 | </configuration> |
| 929 | </execution> |
| 930 | <!-- Ensures that the code coverage report for integration tests after |
| 931 | integration tests have been run. --> |
| 932 | <execution> |
| 933 | <id>post-integration-test</id> |
| 934 | <phase>post-integration-test</phase> |
| 935 | <goals> |
| 936 | <goal>report</goal> |
| 937 | </goals> |
| 938 | <configuration> |
| 939 | <!-- Sets the path to the file which contains the execution data. --> |
| 940 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 941 | <!-- Sets the output directory for the code coverage report. --> |
| 942 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 943 | </configuration> |
| 944 | </execution> |
| 945 | </executions> |
| 946 | </plugin> |
| 947 | <plugin> |
| 948 | <groupId>org.apache.maven.plugins</groupId> |
| 949 | <artifactId>maven-surefire-plugin</artifactId> |
| 950 | <version>2.19.1</version> |
| 951 | <configuration> |
| 952 | <!-- Sets the VM argument line used when unit tests are run. --> |
| 953 | <argLine>${surefireArgLine}</argLine> |
| 954 | <!-- Excludes integration tests when unit tests are run. --> |
| 955 | <excludes> |
| 956 | <exclude>**/IT*.java</exclude> |
| 957 | </excludes> |
| 958 | </configuration> |
| 959 | </plugin> |
| 960 | <plugin> |
| 961 | <groupId>org.apache.maven.plugins</groupId> |
| 962 | <artifactId>maven-failsafe-plugin</artifactId> |
| 963 | <version>2.19.1</version> |
| 964 | <executions> |
| 965 | <!-- Ensures that both integration-test and verify goals of the Failsafe |
| 966 | Maven plugin are executed. --> |
| 967 | <execution> |
| 968 | <id>integration-tests</id> |
| 969 | <goals> |
| 970 | <goal>integration-test</goal> |
| 971 | <goal>verify</goal> |
| 972 | </goals> |
| 973 | <configuration> |
| 974 | <!-- Sets the VM argument line used when integration tests are run. --> |
| 975 | <argLine>${failsafeArgLine}</argLine> |
| 976 | </configuration> |
| 977 | </execution> |
| 978 | </executions> |
| 979 | </plugin> |
| 980 | <plugin> |
| 981 | <groupId>org.apache.maven.plugins</groupId> |
| 982 | <artifactId>maven-compiler-plugin</artifactId> |
| 983 | <version>${maven.compile.plugin.version}</version> |
| 984 | <configuration> |
| 985 | <source>${java.version.source}</source> |
| 986 | <target>${java.version.target}</target> |
| 987 | </configuration> |
| 988 | </plugin> |
| 989 | <plugin> |
| 990 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 991 | <artifactId>sonar-maven-plugin</artifactId> |
| 992 | <version>3.3.0.603</version> |
| 993 | </plugin> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 994 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 995 | <!-- End of plugins from ONAP oparent --> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 996 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 997 | <plugin> |
| 998 | <groupId>org.apache.maven.plugins</groupId> |
| 999 | <artifactId>maven-javadoc-plugin</artifactId> |
| 1000 | <version>2.10</version> |
| 1001 | <configuration> |
| 1002 | <additionalDependencies> |
| 1003 | <additionalDependency> |
| 1004 | <groupId>org.slf4j</groupId> |
| 1005 | <artifactId>slf4j-api</artifactId> |
| 1006 | <version>${slf4j.version}</version> |
| 1007 | </additionalDependency> |
| 1008 | <additionalDependency> |
| 1009 | <groupId>org.antlr</groupId> |
| 1010 | <artifactId>antlr4</artifactId> |
| 1011 | <version>${antlr.version}</version> |
| 1012 | </additionalDependency> |
| 1013 | <additionalDependency> |
| 1014 | <groupId>org.antlr</groupId> |
| 1015 | <artifactId>antlr4-runtime</artifactId> |
| 1016 | <version>${antlr.version}</version> |
| 1017 | </additionalDependency> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1018 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 1019 | <additionalDependency> |
| 1020 | <groupId>com.sun.jersey</groupId> |
| 1021 | <artifactId>jersey-client</artifactId> |
| 1022 | <version>${jersey.client.version}</version> |
| 1023 | </additionalDependency> |
| 1024 | <additionalDependency> |
| 1025 | <groupId>com.sun.jersey</groupId> |
| 1026 | <artifactId>jersey-core</artifactId> |
| 1027 | <version>${jersey.version}</version> |
| 1028 | </additionalDependency> |
| 1029 | <additionalDependency> |
| 1030 | <groupId>org.apache.httpcomponents</groupId> |
| 1031 | <artifactId>httpcore-osgi</artifactId> |
| 1032 | <version>${apache.httpcomponents.core.version}</version> |
| 1033 | </additionalDependency> |
| 1034 | <additionalDependency> |
| 1035 | <groupId>org.apache.httpcomponents</groupId> |
| 1036 | <artifactId>httpclient-osgi</artifactId> |
| 1037 | <version>${apache.httpcomponents.client.version}</version> |
| 1038 | </additionalDependency> |
| 1039 | <additionalDependency> |
| 1040 | <groupId>com.fasterxml.jackson.core</groupId> |
| 1041 | <artifactId>jackson-databind</artifactId> |
| 1042 | <version>${jackson.version}</version> |
| 1043 | </additionalDependency> |
| 1044 | <additionalDependency> |
| 1045 | <groupId>com.fasterxml.jackson.core</groupId> |
| 1046 | <artifactId>jackson-annotations</artifactId> |
| 1047 | <version>${jackson.version}</version> |
| 1048 | </additionalDependency> |
| 1049 | <additionalDependency> |
| 1050 | <groupId>com.fasterxml.jackson.core</groupId> |
| 1051 | <artifactId>jackson-core</artifactId> |
| 1052 | <version>${jackson.version}</version> |
| 1053 | </additionalDependency> |
| 1054 | <additionalDependency> |
| 1055 | <groupId>commons-lang</groupId> |
| 1056 | <artifactId>commons-lang</artifactId> |
| 1057 | <version>${commons.lang.version}</version> |
| 1058 | </additionalDependency> |
| 1059 | </additionalDependencies> |
| 1060 | </configuration> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1061 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 1062 | <executions> |
| 1063 | <execution> |
| 1064 | <id>aggregate</id> |
| 1065 | <goals> |
| 1066 | <goal>aggregate</goal> |
| 1067 | </goals> |
| 1068 | <phase>site</phase> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1069 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 1070 | </execution> |
| 1071 | </executions> |
| 1072 | </plugin> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1073 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 1074 | </plugins> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1075 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 1076 | </pluginManagement> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1077 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 1078 | <plugins> |
| 1079 | <!-- Plugins from ONAP oparent --> |
| 1080 | <plugin> |
| 1081 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 1082 | </plugin> |
| 1083 | <plugin> |
| 1084 | <groupId>org.codehaus.mojo</groupId> |
| 1085 | <artifactId>build-helper-maven-plugin</artifactId> |
| 1086 | <version>1.12</version> |
| 1087 | </plugin> |
| 1088 | <!-- Jacoco / Sonar --> |
| 1089 | <plugin> |
| 1090 | <groupId>org.jacoco</groupId> |
| 1091 | <artifactId>jacoco-maven-plugin</artifactId> |
| 1092 | </plugin> |
| 1093 | <plugin> |
| 1094 | <groupId>org.apache.maven.plugins</groupId> |
| 1095 | <artifactId>maven-surefire-plugin</artifactId> |
| 1096 | </plugin> |
| 1097 | <plugin> |
| 1098 | <groupId>org.apache.maven.plugins</groupId> |
| 1099 | <artifactId>maven-failsafe-plugin</artifactId> |
| 1100 | </plugin> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1101 | |
Stilwell, David (stilwelld) | b470afd | 2018-06-13 14:53:37 -0400 | [diff] [blame] | 1102 | <!-- End of plugins from ONAP oparent --> |
| 1103 | <plugin> |
| 1104 | <groupId>org.codehaus.mojo</groupId> |
| 1105 | <artifactId>properties-maven-plugin</artifactId> |
| 1106 | <version>1.0.0</version> |
| 1107 | <executions> |
| 1108 | <execution> |
| 1109 | <goals> |
| 1110 | <goal>set-system-properties</goal> |
| 1111 | </goals> |
| 1112 | <configuration> |
| 1113 | <properties> |
| 1114 | <property> |
| 1115 | <name>maven.wagon.http.ssl.allowall</name> |
| 1116 | <value>${ssl.allowall}</value> |
| 1117 | </property> |
| 1118 | <property> |
| 1119 | <name>maven.wagon.http.ssl.insecure</name> |
| 1120 | <value>${ssl.insecure}</value> |
| 1121 | </property> |
| 1122 | </properties> |
| 1123 | </configuration> |
| 1124 | </execution> |
| 1125 | </executions> |
| 1126 | </plugin> |
| 1127 | <plugin> |
| 1128 | <groupId>org.sonatype.plugins</groupId> |
| 1129 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 1130 | <version>1.6.7</version> |
| 1131 | <extensions>true</extensions> |
| 1132 | <configuration> |
| 1133 | <nexusUrl>${onap.nexus.url}</nexusUrl> |
| 1134 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 1135 | <serverId>ecomp-staging</serverId> |
| 1136 | </configuration> |
| 1137 | </plugin> |
| 1138 | <plugin> |
| 1139 | <groupId>org.codehaus.mojo</groupId> |
| 1140 | <artifactId>versions-maven-plugin</artifactId> |
| 1141 | <version>2.5</version> |
| 1142 | <configuration> |
| 1143 | <processAllModules>true</processAllModules> |
| 1144 | </configuration> |
| 1145 | </plugin> |
| 1146 | <plugin> |
| 1147 | <artifactId>maven-scm-plugin</artifactId> |
| 1148 | <version>1.8.1</version> |
| 1149 | <configuration> |
| 1150 | <tag>${project.artifactId}-${project.version}</tag> |
| 1151 | </configuration> |
| 1152 | </plugin> |
| 1153 | </plugins> |
| 1154 | </build> |
| 1155 | <organization> |
| 1156 | <name>ONAP</name> |
| 1157 | </organization> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1158 | </project> |