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