Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [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/xsd/maven-4.0.0.xsd"> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 3 | <modelVersion>4.0.0</modelVersion> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 4 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 5 | <!-- PLEASE READ !!!!! This file is generated from ccsdk/parent/setup/src/main/template/pom-template.xml |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 6 | Any updates needed should be made to that template and not to the generated |
| 7 | pom.xml file --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 8 | <parent> |
| 9 | <groupId>org.opendaylight.odlparent</groupId> |
| 10 | <artifactId>single-feature-parent</artifactId> |
Michael DÜrre | 7bb133e | 2022-01-18 10:06:31 +0100 | [diff] [blame] | 11 | <version>9.0.8</version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 12 | <relativePath/> |
| 13 | </parent> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 14 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 15 | <groupId>org.onap.ccsdk.parent</groupId> |
| 16 | <artifactId>single-feature-parent</artifactId> |
Dan Timoney | 2a0882e | 2022-07-15 07:19:58 -0400 | [diff] [blame^] | 17 | <version>2.4.1-SNAPSHOT</version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 18 | <packaging>pom</packaging> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 19 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 20 | <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name> |
| 21 | <description>Root POM to be used in place of odlparent for CCSDK based projects</description> |
| 22 | <url>http://wiki.onap.org</url> |
| 23 | <organization> |
| 24 | <name>ONAP</name> |
| 25 | </organization> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 26 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 27 | <issueManagement> |
| 28 | <system>JIRA</system> |
| 29 | <url>https://jira.onap.org/</url> |
| 30 | </issueManagement> |
| 31 | <distributionManagement> |
| 32 | <repository> |
| 33 | <id>ecomp-releases</id> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 34 | <url>${onap.nexus.release-url}</url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 35 | </repository> |
| 36 | <snapshotRepository> |
| 37 | <id>ecomp-snapshots</id> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 38 | <url>${onap.nexus.snapshot-url}</url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 39 | </snapshotRepository> |
| 40 | </distributionManagement> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 41 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 42 | <properties> |
Dan Timoney | 621888e | 2020-01-17 09:54:02 -0500 | [diff] [blame] | 43 | <!-- Sonar properties --> |
| 44 | <sonar.scanner.version>3.7.0.1746</sonar.scanner.version> |
| 45 | <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> |
| 46 | <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> |
| 47 | <!-- Default Sonar configuration --> |
| 48 | <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> |
| 49 | <!-- Note: This list should match jacoco-maven-plugin's exclusion list below --> |
| 50 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
| 51 | |
| 52 | <!-- Jacoco properties --> |
| 53 | <jacoco.version>0.8.5</jacoco.version> |
| 54 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 55 | <!-- properties from oparent --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 56 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 57 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 58 | <!-- sitePath may be overridden in the inheriting POM if desired --> |
| 59 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
Singal, Kapil (ks220y) | e14c10b | 2020-01-07 11:54:24 -0500 | [diff] [blame] | 60 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 61 | <!-- If following file exist, auto-generation of swagger.json will be done --> |
| 62 | <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties> |
| 63 | <!-- If following file exist, auto-generation of sdk will be done --> |
| 64 | <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json> |
| 65 | <!-- end of properties from oparent --> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 66 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 67 | <!-- ONAP repositories --> |
Singal, Kapil (ks220y) | 9714cfc | 2021-05-17 13:23:11 -0400 | [diff] [blame] | 68 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 69 | <onap.nexus.host>nexus.onap.org</onap.nexus.host> |
| 70 | <onap.nexus.port>443</onap.nexus.port> |
| 71 | <onap.nexus.protocol>https</onap.nexus.protocol> |
| 72 | <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url> |
| 73 | <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url> |
| 74 | <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url> |
| 75 | <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url> |
| 76 | <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id> |
| 77 | <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 78 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 79 | <!-- OpenDaylight repositories --> |
| 80 | <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url> |
| 81 | <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] | 82 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 83 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 84 | <java.version>11</java.version> |
| 85 | <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version> |
| 86 | <maven-failsafe-plugin.version>3.0.0-M5</maven-failsafe-plugin.version> |
| 87 | <bundle.plugin.version>4.2.1</bundle.plugin.version> |
| 88 | <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 89 | <features.file>features.xml</features.file> |
| 90 | <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath> |
| 91 | <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 92 | <checkstyle.plugin.version>3.1.1</checkstyle.plugin.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 93 | <checkstyle.skip>true</checkstyle.skip> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 94 | <odlparent.spotbugs.enforce>false</odlparent.spotbugs.enforce> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 95 | |
Smokowski, Kevin (ks6305) | 9548ff8 | 2020-02-06 18:33:18 +0000 | [diff] [blame] | 96 | <!-- logging-analytics versions --> |
Claudio D. Gasparini | 1068864 | 2021-05-14 10:33:22 +0200 | [diff] [blame] | 97 | <logging-analytics.version>1.6.9</logging-analytics.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 98 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 99 | <!-- CCSDK component versions --> |
Dan Timoney | f92791e | 2022-04-25 09:14:59 -0400 | [diff] [blame] | 100 | <ccsdk.cds.version>(1.3.99999, 1.4.99999-SNAPSHOT]</ccsdk.cds.version> |
| 101 | <ccsdk.features.version>(1.3.99999, 1.4.99999-SNAPSHOT]</ccsdk.features.version> |
| 102 | <ccsdk.distribution.version>(1.3.99999, 1.4.99999-SNAPSHOT]</ccsdk.distribution.version> |
| 103 | <ccsdk.sli.version>(1.4.99999, 1.5.99999-SNAPSHOT]</ccsdk.sli.version> |
Dan Timoney | a265d5b | 2020-11-25 08:23:08 -0500 | [diff] [blame] | 104 | <ccsdk.sli.core.version>${ccsdk.sli.version}</ccsdk.sli.core.version> |
Jozsef Csongvai | a4d399c | 2020-12-14 07:39:31 -0500 | [diff] [blame] | 105 | <ccsdk.sli.adaptors.version>${ccsdk.sli.version}</ccsdk.sli.adaptors.version> |
| 106 | <ccsdk.sli.northbound.version>${ccsdk.sli.version}</ccsdk.sli.northbound.version> |
| 107 | <ccsdk.sli.plugins.version>${ccsdk.sli.version}</ccsdk.sli.plugins.version> |
Dan Timoney | a265d5b | 2020-11-25 08:23:08 -0500 | [diff] [blame] | 108 | <sdnctl.aai.service.version>${ccsdk.sli.version}</sdnctl.aai.service.version> |
| 109 | <sdnctl.dblib.version>${ccsdk.sli.version}</sdnctl.dblib.version> |
| 110 | <sdnctl.mdsal.resource.version>${ccsdk.sli.version}</sdnctl.mdsal.resource.version> |
| 111 | <sdnctl.slipluginutils.version>${ccsdk.sli.version}</sdnctl.slipluginutils.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 112 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 113 | <!-- Support libraries used by OpenDaylight --> |
Michael DÜrre | 7bb133e | 2022-01-18 10:06:31 +0100 | [diff] [blame] | 114 | <odl.controller.mdsal.version>8.0.7</odl.controller.mdsal.version> |
| 115 | <odl.mdsal.version>9.0.8</odl.mdsal.version> |
| 116 | <odl.mdsal.model.version>9.0.8</odl.mdsal.model.version> |
| 117 | <odl.mdsal.generator.version>8.0.5</odl.mdsal.generator.version> |
| 118 | <odl.netconf.restconf.version>8.0.7</odl.netconf.restconf.version> |
| 119 | <odl.netconf.netconf.version>8.0.7</odl.netconf.netconf.version> |
| 120 | <odl.netconf.sal.rest.docgen.version>8.0.7</odl.netconf.sal.rest.docgen.version> |
Timoney, Dan (dt5972) | 135e407 | 2019-07-01 13:08:58 -0400 | [diff] [blame] | 121 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 122 | <!-- Used by aaa, vtn --> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 123 | <commons.codec.version>1.15</commons.codec.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 124 | <!-- Used by netconf, ovsdb --> |
Dan Timoney | fc00621 | 2021-10-05 15:55:28 -0400 | [diff] [blame] | 125 | <commons.lang3.version>3.12.0</commons.lang3.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 126 | <!-- Used by sfc, snmp4sdn; see also affinity, toolkit --> |
| 127 | <commons.lang.version>2.6</commons.lang.version> |
| 128 | <!-- Used by neutron; see also controller, vtn --> |
Singal, Kapil (ks220y) | b2db3c4 | 2021-06-08 12:00:17 -0400 | [diff] [blame] | 129 | <commons.net.version>3.8.0</commons.net.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 130 | <!-- Used by neutron --> |
Michael DÜrre | 7bb133e | 2022-01-18 10:06:31 +0100 | [diff] [blame] | 131 | <eclipse.persistence.version>None</eclipse.persistence.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 132 | <!-- Used by aaa --> |
| 133 | <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version> |
| 134 | <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn --> |
Michael DÜrre | 7bb133e | 2022-01-18 10:06:31 +0100 | [diff] [blame] | 135 | <gson.version>2.8.8</gson.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 136 | <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp --> |
Michael DÜrre | 7bb133e | 2022-01-18 10:06:31 +0100 | [diff] [blame] | 137 | <guava.version>30.1.1-jre</guava.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 138 | <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all, |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 139 | integration/distribution, snmp4sdn, toolkit, ttp --> |
Michael DÜrre | 7bb133e | 2022-01-18 10:06:31 +0100 | [diff] [blame] | 140 | <jackson.version>2.12.5</jackson.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 141 | <!-- Used by snmp4sdn, yangtools --> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 142 | <javassist.version>3.27.0-GA</javassist.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 143 | |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 144 | <!-- FIXME remove all dependencies for jersey 1.17 after migration all projects --> |
| 145 | <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all, snmp4sdn, toolkit --> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 146 | <jersey.version>2.27</jersey.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 147 | <!-- Used by sfc --> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 148 | <jersey.client.version>2.27</jersey.client.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 149 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 150 | <!-- New packages for jersey migration 1.17 to 2.8 --> |
| 151 | <!-- appache.geronimo.bundle for DocGen --> |
| 152 | <!-- Used by aaa, iotdm, netconf, ovsdb, sfc --> |
| 153 | <org.json.version>20131018</org.json.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 154 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 155 | <!-- Used everywhere --> |
Dan Timoney | d9c8dcb | 2021-08-23 11:36:27 -0400 | [diff] [blame] | 156 | <junit.version>4.13.2</junit.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 157 | <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit --> |
Singal, Kapil (ks220y) | b2db3c4 | 2021-06-08 12:00:17 -0400 | [diff] [blame] | 158 | <logback.version>1.11.7</logback.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 159 | <!-- Used by nic, sfc, sxp, tsdr --> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 160 | <mockito.version>3.3.3</mockito.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 161 | <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit --> |
Michael DÜrre | 7bb133e | 2022-01-18 10:06:31 +0100 | [diff] [blame] | 162 | <netty.version>4.1.69.Final</netty.version> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 163 | <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity, toolkit --> |
Michael DÜrre | 7bb133e | 2022-01-18 10:06:31 +0100 | [diff] [blame] | 164 | <slf4j.version>1.7.32</slf4j.version> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 165 | <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit, tsdr, ttp --> |
Singal, Kapil (ks220y) | b5adc45 | 2020-02-20 13:53:41 -0500 | [diff] [blame] | 166 | <spring.version>4.3.25.RELEASE</spring.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 167 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 168 | <!-- Extra support libraries used by SDN-C --> |
| 169 | <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version> |
Singal, Kapil (ks220y) | b2db3c4 | 2021-06-08 12:00:17 -0400 | [diff] [blame] | 170 | <antlr.version>4.8-1</antlr.version> |
Timoney, Dan (dt5972) | ebc00be | 2018-03-21 09:00:19 -0400 | [diff] [blame] | 171 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 172 | <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version> |
Timoney, Dan (dt5972) | 2f4cbed | 2018-05-04 12:05:16 -0400 | [diff] [blame] | 173 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 174 | <!-- Managed dependency versions --> |
Timoney, Dan (dt5972) | 48f5577 | 2019-12-17 10:44:04 -0500 | [diff] [blame] | 175 | <apache.httpcomponents.core.version>4.4.12</apache.httpcomponents.core.version> |
Dan Timoney | d9c8dcb | 2021-08-23 11:36:27 -0400 | [diff] [blame] | 176 | <apache.httpcomponents.client.version>4.5.13</apache.httpcomponents.client.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 177 | <derby.version>10.14.2.0</derby.version> |
| 178 | <eelf.version>1.0.0</eelf.version> |
Timoney, Dan (dt5972) | 48f5577 | 2019-12-17 10:44:04 -0500 | [diff] [blame] | 179 | <grpc.version>1.21.1</grpc.version> |
Dan Timoney | 156d2a9 | 2022-01-03 11:49:40 -0500 | [diff] [blame] | 180 | <log4j.version>2.17.1</log4j.version> |
| 181 | <log4j2.version>2.17.1</log4j2.version> |
Michael DÜrre | 7bb133e | 2022-01-18 10:06:31 +0100 | [diff] [blame] | 182 | <jetty.version>9.4.43.v20210629</jetty.version> |
| 183 | <mariadb.connector.version>2.7.5</mariadb.connector.version> |
Timoney, Dan (dt5972) | 48f5577 | 2019-12-17 10:44:04 -0500 | [diff] [blame] | 184 | <mariadb4j.version>2.4.0</mariadb4j.version> |
| 185 | <testng.version>6.14.3</testng.version> |
Dan Timoney | bc67c40 | 2021-08-05 10:46:18 -0400 | [diff] [blame] | 186 | <tomcat-jdbc.version>9.0.52</tomcat-jdbc.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 187 | <skip.karaf.featureTest>true</skip.karaf.featureTest> |
Timoney, Dan (dt5972) | 94fcbc2 | 2019-12-10 09:18:51 -0500 | [diff] [blame] | 188 | <dependency-list.file>direct-dependencies.txt</dependency-list.file> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 189 | </properties> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 190 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 191 | <dependencyManagement> |
| 192 | <dependencies> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 193 | <!-- Note: If value in BOM conflicts with value inherited from |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 194 | parent pom, inherited value takes precedence. This seems more like |
| 195 | a bug than a feature, but this is how maven 3.6 works --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 196 | <dependency> |
| 197 | <groupId>org.onap.ccsdk.parent</groupId> |
| 198 | <artifactId>dependencies-odl-bom</artifactId> |
Dan Timoney | 2a0882e | 2022-07-15 07:19:58 -0400 | [diff] [blame^] | 199 | <version>2.4.1-SNAPSHOT</version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 200 | <type>pom</type> |
| 201 | <scope>import</scope> |
| 202 | </dependency> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 203 | <dependency> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 204 | <groupId>org.onap.ccsdk.parent</groupId> |
| 205 | <artifactId>dependencies-bom</artifactId> |
Dan Timoney | 2a0882e | 2022-07-15 07:19:58 -0400 | [diff] [blame^] | 206 | <version>2.4.1-SNAPSHOT</version> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 207 | <type>pom</type> |
| 208 | <scope>import</scope> |
| 209 | </dependency> |
| 210 | <dependency> |
| 211 | <groupId>org.springframework.boot</groupId> |
| 212 | <artifactId>spring-boot-dependencies</artifactId> |
| 213 | <version>2.3.8.RELEASE</version> |
| 214 | <scope>import</scope> |
| 215 | <type>pom</type> |
| 216 | </dependency> |
| 217 | <dependency> |
Michael DÜrre | 7bb133e | 2022-01-18 10:06:31 +0100 | [diff] [blame] | 218 | <groupId>org.mariadb.jdbc</groupId> |
| 219 | <artifactId>mariadb-java-client</artifactId> |
| 220 | <version>${mariadb.connector.version}</version> |
| 221 | </dependency> |
| 222 | <dependency> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 223 | <groupId>org.onap.logging-analytics</groupId> |
| 224 | <artifactId>logging-slf4j</artifactId> |
Smokowski, Kevin (ks6305) | 9548ff8 | 2020-02-06 18:33:18 +0000 | [diff] [blame] | 225 | <version>${logging-analytics.version}</version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 226 | </dependency> |
| 227 | <dependency> |
| 228 | <groupId>org.onap.logging-analytics</groupId> |
| 229 | <artifactId>logging-filter-base</artifactId> |
Smokowski, Kevin (ks6305) | 9548ff8 | 2020-02-06 18:33:18 +0000 | [diff] [blame] | 230 | <version>${logging-analytics.version}</version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 231 | </dependency> |
Singal, Kapil (ks220y) | ffff34a | 2020-02-27 11:02:51 -0500 | [diff] [blame] | 232 | <dependency> |
| 233 | <groupId>junit</groupId> |
| 234 | <artifactId>junit</artifactId> |
| 235 | <version>${junit.version}</version> |
| 236 | <scope>test</scope> |
| 237 | </dependency> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 238 | </dependencies> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 239 | </dependencyManagement> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 240 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 241 | <repositories> |
| 242 | <repository> |
| 243 | <id>onap-public</id> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 244 | <url>${onap.nexus.public-url}</url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 245 | <releases> |
| 246 | <enabled>true</enabled> |
| 247 | <updatePolicy>never</updatePolicy> |
| 248 | </releases> |
| 249 | <snapshots> |
| 250 | <enabled>true</enabled> |
| 251 | <updatePolicy>always</updatePolicy> |
| 252 | </snapshots> |
| 253 | </repository> |
| 254 | <repository> |
| 255 | <id>onap-staging</id> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 256 | <url>${onap.nexus.staging-url}</url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 257 | <releases> |
| 258 | <enabled>true</enabled> |
| 259 | <updatePolicy>never</updatePolicy> |
| 260 | </releases> |
| 261 | <snapshots> |
| 262 | <enabled>true</enabled> |
| 263 | <updatePolicy>always</updatePolicy> |
| 264 | </snapshots> |
| 265 | </repository> |
| 266 | <repository> |
| 267 | <id>ecomp-release</id> |
| 268 | <name>onap-repository-releases</name> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 269 | <url>${onap.nexus.release-url}</url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 270 | <releases> |
| 271 | <enabled>true</enabled> |
| 272 | <updatePolicy>never</updatePolicy> |
| 273 | </releases> |
| 274 | <snapshots> |
| 275 | <enabled>false</enabled> |
| 276 | </snapshots> |
| 277 | </repository> |
| 278 | <repository> |
| 279 | <id>ecomp-snapshot</id> |
| 280 | <name>onap-repository-snapshots</name> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 281 | <url>${onap.nexus.snapshot-url}</url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 282 | <releases> |
| 283 | <enabled>false</enabled> |
| 284 | </releases> |
| 285 | <snapshots> |
| 286 | <enabled>true</enabled> |
| 287 | </snapshots> |
| 288 | </repository> |
| 289 | <repository> |
| 290 | <id>opendaylight-mirror</id> |
| 291 | <name>opendaylight-mirror</name> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 292 | <url>${opendaylight.nexus.public-url}</url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 293 | <releases> |
| 294 | <enabled>true</enabled> |
| 295 | <updatePolicy>never</updatePolicy> |
| 296 | </releases> |
| 297 | <snapshots> |
| 298 | <enabled>false</enabled> |
| 299 | </snapshots> |
| 300 | </repository> |
| 301 | <repository> |
| 302 | <id>opendaylight-snapshot</id> |
| 303 | <name>opendaylight-snapshot</name> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 304 | <url>${opendaylight.nexus.snapshot-url}</url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 305 | <releases> |
| 306 | <enabled>false</enabled> |
| 307 | </releases> |
| 308 | <snapshots> |
| 309 | <enabled>true</enabled> |
| 310 | </snapshots> |
| 311 | </repository> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 312 | </repositories> |
Singal, Kapil (ks220y) | 9714cfc | 2021-05-17 13:23:11 -0400 | [diff] [blame] | 313 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 314 | <pluginRepositories> |
| 315 | <pluginRepository> |
| 316 | <id>onap-public</id> |
| 317 | <url>${onap.nexus.public-url}</url> |
| 318 | <releases> |
| 319 | <enabled>true</enabled> |
| 320 | </releases> |
| 321 | <snapshots> |
| 322 | <enabled>true</enabled> |
| 323 | </snapshots> |
| 324 | </pluginRepository> |
| 325 | <pluginRepository> |
| 326 | <id>onap-staging</id> |
| 327 | <url>${onap.nexus.staging-url}</url> |
| 328 | <releases> |
| 329 | <enabled>true</enabled> |
| 330 | </releases> |
| 331 | <snapshots> |
| 332 | <enabled>true</enabled> |
| 333 | </snapshots> |
| 334 | </pluginRepository> |
| 335 | <pluginRepository> |
| 336 | <id>onap-snapshot</id> |
| 337 | <url>${onap.nexus.snapshot-url}</url> |
| 338 | <releases> |
| 339 | <enabled>false</enabled> |
| 340 | </releases> |
| 341 | <snapshots> |
| 342 | <enabled>true</enabled> |
| 343 | </snapshots> |
| 344 | </pluginRepository> |
| 345 | <pluginRepository> |
| 346 | <id>opendaylight-mirror</id> |
| 347 | <name>opendaylight-mirror</name> |
| 348 | <url>${opendaylight.nexus.public-url}</url> |
| 349 | <releases> |
| 350 | <enabled>true</enabled> |
| 351 | <updatePolicy>never</updatePolicy> |
| 352 | </releases> |
| 353 | <snapshots> |
| 354 | <enabled>false</enabled> |
| 355 | </snapshots> |
| 356 | </pluginRepository> |
| 357 | <pluginRepository> |
| 358 | <id>opendaylight-snapshot</id> |
| 359 | <name>opendaylight-snapshot</name> |
| 360 | <url>${opendaylight.nexus.snapshot-url}</url> |
| 361 | <releases> |
| 362 | <enabled>false</enabled> |
| 363 | </releases> |
| 364 | <snapshots> |
| 365 | <enabled>true</enabled> |
| 366 | </snapshots> |
| 367 | </pluginRepository> |
| 368 | <!-- Black Duck plugin dependencies --> |
| 369 | <pluginRepository> |
| 370 | <id>JCenter</id> |
| 371 | <name>JCenter Repository</name> |
| 372 | <url>http://jcenter.bintray.com</url> |
| 373 | </pluginRepository> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 374 | <pluginRepository> |
| 375 | <id>Restlet</id> |
| 376 | <name>Restlet Repository</name> |
| 377 | <url>http://maven.restlet.com</url> |
| 378 | </pluginRepository> |
| 379 | </pluginRepositories> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 380 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 381 | <build> |
| 382 | <pluginManagement> |
| 383 | <plugins> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 384 | <!-- Plugins from ONAP version (parent of oparent) --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 385 | <plugin> |
| 386 | <groupId>org.apache.maven.plugins</groupId> |
| 387 | <artifactId>maven-deploy-plugin</artifactId> |
| 388 | <!-- This version supports the "deployAtEnd" parameter --> |
| 389 | <version>2.8</version> |
| 390 | <configuration> |
| 391 | <skip/> |
Singal, Kapil (ks220y) | 6fa7fc9 | 2021-02-01 16:11:38 -0500 | [diff] [blame] | 392 | <deployAtEnd>true</deployAtEnd> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 393 | </configuration> |
| 394 | </plugin> |
| 395 | <plugin> |
| 396 | <groupId>org.apache.maven.plugins</groupId> |
| 397 | <artifactId>maven-site-plugin</artifactId> |
| 398 | <version>3.6</version> |
| 399 | <dependencies> |
| 400 | <dependency> |
| 401 | <groupId>org.apache.maven.wagon</groupId> |
| 402 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 403 | <version>2.10</version> |
| 404 | </dependency> |
| 405 | </dependencies> |
| 406 | </plugin> |
| 407 | <plugin> |
| 408 | <groupId>org.apache.maven.plugins</groupId> |
| 409 | <artifactId>maven-enforcer-plugin</artifactId> |
| 410 | <version>3.0.0-M2</version> |
| 411 | <executions> |
| 412 | <execution> |
| 413 | <id>enforce-property</id> |
| 414 | <goals> |
| 415 | <goal>enforce</goal> |
| 416 | </goals> |
| 417 | <configuration> |
| 418 | <rules> |
| 419 | <requireProperty> |
| 420 | <property>onap.nexus.url</property> |
| 421 | <message>You must set a onap.nexus.url property in your |
| 422 | ~/.m2/settings.xml. See oparent/settings.xml for an example. |
| 423 | </message> |
| 424 | </requireProperty> |
| 425 | </rules> |
| 426 | <fail>true</fail> |
| 427 | </configuration> |
| 428 | </execution> |
| 429 | <execution> |
| 430 | <id>enforce-no-snapshots</id> |
| 431 | <goals> |
| 432 | <goal>enforce</goal> |
| 433 | </goals> |
| 434 | <configuration> |
| 435 | <rules> |
| 436 | <requireReleaseDeps> |
| 437 | <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot> |
| 438 | <onlyWhenRelease>true</onlyWhenRelease> |
| 439 | <level>WARN</level> |
| 440 | </requireReleaseDeps> |
| 441 | </rules> |
| 442 | </configuration> |
| 443 | </execution> |
Michael Dürre | 2c39a4d | 2020-07-06 06:22:15 +0200 | [diff] [blame] | 444 | <execution> |
| 445 | <id>enforce-maven</id> |
| 446 | <goals> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 447 | <goal>enforce</goal> |
Michael Dürre | 2c39a4d | 2020-07-06 06:22:15 +0200 | [diff] [blame] | 448 | </goals> |
| 449 | <configuration> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 450 | <rules> |
| 451 | <requireJavaVersion> |
| 452 | <version>8</version> |
| 453 | </requireJavaVersion> |
| 454 | <requireMavenVersion> |
| 455 | <version>[3.5.0,)</version> |
| 456 | </requireMavenVersion> |
| 457 | </rules> |
Michael Dürre | 2c39a4d | 2020-07-06 06:22:15 +0200 | [diff] [blame] | 458 | </configuration> |
| 459 | </execution> |
| 460 | <execution> |
| 461 | <id>enforce-banned-dependencies</id> |
| 462 | <goals> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 463 | <goal>enforce</goal> |
Michael Dürre | 2c39a4d | 2020-07-06 06:22:15 +0200 | [diff] [blame] | 464 | </goals> |
| 465 | <configuration> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 466 | <rules> |
| 467 | <bannedDependencies> |
| 468 | <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message> |
| 469 | <excludes> |
| 470 | <exclude>org.mockito:mockito-all</exclude> |
Singal, Kapil (ks220y) | b473d3c | 2021-06-07 19:47:37 -0400 | [diff] [blame] | 471 | <!-- <exclude>com.google.code.findbugs:annotations</exclude> --> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 472 | </excludes> |
| 473 | </bannedDependencies> |
| 474 | </rules> |
| 475 | <fail>true</fail> |
Michael Dürre | 2c39a4d | 2020-07-06 06:22:15 +0200 | [diff] [blame] | 476 | </configuration> |
| 477 | </execution> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 478 | </executions> |
| 479 | </plugin> |
| 480 | <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin --> |
| 481 | <plugin> |
| 482 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 483 | <artifactId>sonar-maven-plugin</artifactId> |
Dan Timoney | 621888e | 2020-01-17 09:54:02 -0500 | [diff] [blame] | 484 | <version>${sonar.scanner.version}</version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 485 | </plugin> |
| 486 | <!-- end of plugins from ONAP version (parent of oparent) --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 487 | <!-- Plugins from ONAP oparent --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 488 | <plugin> |
| 489 | <groupId>org.apache.maven.plugins</groupId> |
| 490 | <artifactId>maven-surefire-plugin</artifactId> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 491 | <version>${maven-surefire-plugin.version}</version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 492 | <configuration> |
| 493 | <!-- Sets the VM argument line used when unit tests are run. --> |
| 494 | <argLine>${surefireArgLine}</argLine> |
| 495 | <!-- Excludes integration tests when unit tests are run. --> |
| 496 | <excludes> |
| 497 | <exclude>**/IT*.java</exclude> |
| 498 | </excludes> |
| 499 | </configuration> |
| 500 | </plugin> |
| 501 | <plugin> |
| 502 | <groupId>org.apache.maven.plugins</groupId> |
| 503 | <artifactId>maven-failsafe-plugin</artifactId> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 504 | <version>${maven-failsafe-plugin.version}</version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 505 | <executions> |
| 506 | <!-- Ensures that both integration-test and verify goals of the Failsafe |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 507 | Maven plugin are executed. --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 508 | <execution> |
| 509 | <id>integration-tests</id> |
| 510 | <goals> |
| 511 | <goal>integration-test</goal> |
| 512 | <goal>verify</goal> |
| 513 | </goals> |
| 514 | <configuration> |
| 515 | <!-- Sets the VM argument line used when integration tests are run. --> |
| 516 | <argLine>${failsafeArgLine}</argLine> |
| 517 | </configuration> |
| 518 | </execution> |
| 519 | </executions> |
| 520 | </plugin> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 521 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 522 | <!-- End of plugins from ONAP oparent --> |
| 523 | <plugin> |
| 524 | <groupId>org.codehaus.mojo</groupId> |
| 525 | <artifactId>properties-maven-plugin</artifactId> |
| 526 | <version>1.0.0</version> |
| 527 | <executions> |
| 528 | <execution> |
| 529 | <goals> |
| 530 | <goal>set-system-properties</goal> |
| 531 | </goals> |
| 532 | <configuration> |
| 533 | <properties> |
| 534 | <property> |
| 535 | <name>maven.wagon.http.ssl.allowall</name> |
| 536 | <value>${ssl.allowall}</value> |
| 537 | </property> |
| 538 | <property> |
| 539 | <name>maven.wagon.http.ssl.insecure</name> |
| 540 | <value>${ssl.insecure}</value> |
| 541 | </property> |
| 542 | </properties> |
| 543 | </configuration> |
| 544 | </execution> |
| 545 | </executions> |
| 546 | </plugin> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 547 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 548 | <plugin> |
| 549 | <groupId>org.codehaus.mojo</groupId> |
| 550 | <artifactId>versions-maven-plugin</artifactId> |
| 551 | <version>2.5</version> |
| 552 | <configuration> |
| 553 | <processAllModules>true</processAllModules> |
| 554 | </configuration> |
| 555 | </plugin> |
| 556 | <plugin> |
| 557 | <artifactId>maven-scm-plugin</artifactId> |
| 558 | <version>1.8.1</version> |
| 559 | <configuration> |
| 560 | <tag>${project.artifactId}-${project.version}</tag> |
| 561 | </configuration> |
| 562 | </plugin> |
Timoney, Dan (dt5972) | 94fcbc2 | 2019-12-10 09:18:51 -0500 | [diff] [blame] | 563 | <plugin> |
| 564 | <groupId>com.github.ferstl</groupId> |
| 565 | <artifactId>depgraph-maven-plugin</artifactId> |
| 566 | <version>3.3.0</version> |
| 567 | <configuration> |
| 568 | <graphFormat>text</graphFormat> |
| 569 | <outputFileName>${dependency-list.file}</outputFileName> |
| 570 | <outputDirectory>${project.basedir}</outputDirectory> |
| 571 | <transitiveExcludes>*</transitiveExcludes> |
| 572 | <showVersions>true</showVersions> |
Timoney, Dan (dt5972) | cc0c96a | 2019-12-11 10:04:52 -0500 | [diff] [blame] | 573 | <showGroupIds>true</showGroupIds> |
Timoney, Dan (dt5972) | 94fcbc2 | 2019-12-10 09:18:51 -0500 | [diff] [blame] | 574 | </configuration> |
| 575 | </plugin> |
Michael Dürre | 66430cc | 2020-08-24 14:39:08 +0200 | [diff] [blame] | 576 | <plugin> |
| 577 | <groupId>de.jacks-it-lab</groupId> |
| 578 | <artifactId>frontend-maven-plugin</artifactId> |
| 579 | <version>1.7.2</version> |
| 580 | </plugin> |
| 581 | <plugin> |
| 582 | <groupId>com.github.alexcojocaru</groupId> |
| 583 | <artifactId>elasticsearch-maven-plugin</artifactId> |
| 584 | <version>6.16</version> |
| 585 | <configuration> |
| 586 | <version>7.1.1</version> |
| 587 | </configuration> |
| 588 | </plugin> |
Dan Timoney | e816a59 | 2020-09-03 08:56:01 -0400 | [diff] [blame] | 589 | <plugin> |
| 590 | <groupId>org.apache.maven.plugins</groupId> |
| 591 | <artifactId>maven-javadoc-plugin</artifactId> |
| 592 | <version>3.2.0</version> |
| 593 | <configuration> |
| 594 | <failOnError>false</failOnError> |
| 595 | </configuration> |
| 596 | </plugin> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 597 | <plugin> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 598 | <groupId>com.github.spotbugs</groupId> |
| 599 | <artifactId>spotbugs-maven-plugin</artifactId> |
| 600 | <version>3.1.12.2</version> |
| 601 | <executions> |
| 602 | <execution> |
| 603 | <id>analyze-compile</id> |
| 604 | <phase>compile</phase> |
| 605 | <goals> |
| 606 | <goal>check</goal> |
| 607 | </goals> |
| 608 | <configuration> |
| 609 | <plugins> |
| 610 | <plugin> |
| 611 | <groupId>jp.skypencil.findbugs.slf4j</groupId> |
| 612 | <artifactId>bug-pattern</artifactId> |
| 613 | <version>1.5.0</version> |
| 614 | </plugin> |
| 615 | </plugins> |
| 616 | <effort>Max</effort> |
| 617 | <threshold>Low</threshold> |
| 618 | <failOnError>false</failOnError> |
| 619 | <skip>true</skip> |
| 620 | <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile> |
| 621 | <xmlOutput>true</xmlOutput> |
| 622 | <findbugsXmlOutputDirectory>/home/jack/onap/onap-sdnr/features/sdnr/wt-aluminium-sr0-2/target/wt/common/target-ide/spotbugs</findbugsXmlOutputDirectory> |
| 623 | </configuration> |
| 624 | </execution> |
| 625 | </executions> |
| 626 | <dependencies> |
| 627 | <dependency> |
| 628 | <groupId>com.github.spotbugs</groupId> |
| 629 | <artifactId>spotbugs</artifactId> |
| 630 | <version>3.1.12</version> |
| 631 | <scope>compile</scope> |
| 632 | </dependency> |
| 633 | <dependency> |
| 634 | <groupId>org.opendaylight.odlparent</groupId> |
| 635 | <artifactId>spotbugs</artifactId> |
| 636 | <version>7.0.5</version> |
| 637 | <scope>compile</scope> |
| 638 | </dependency> |
| 639 | <dependency> |
| 640 | <groupId>org.slf4j</groupId> |
| 641 | <artifactId>slf4j-simple</artifactId> |
| 642 | <version>1.8.0-beta2</version> |
| 643 | <scope>compile</scope> |
| 644 | </dependency> |
| 645 | </dependencies> |
| 646 | <configuration> |
| 647 | <plugins> |
| 648 | <plugin> |
| 649 | <groupId>jp.skypencil.findbugs.slf4j</groupId> |
| 650 | <artifactId>bug-pattern</artifactId> |
| 651 | <version>1.5.0</version> |
| 652 | </plugin> |
| 653 | </plugins> |
| 654 | <effort>Max</effort> |
| 655 | <threshold>Low</threshold> |
| 656 | <failOnError>false</failOnError> |
| 657 | <skip>true</skip> |
| 658 | <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile> |
| 659 | <xmlOutput>true</xmlOutput> |
| 660 | <findbugsXmlOutputDirectory>/home/jack/onap/onap-sdnr/features/sdnr/wt-aluminium-sr0-2/target/wt/common/target-ide/spotbugs</findbugsXmlOutputDirectory> |
| 661 | </configuration> |
| 662 | </plugin> |
| 663 | <plugin> |
Singal, Kapil (ks220y) | b2db3c4 | 2021-06-08 12:00:17 -0400 | [diff] [blame] | 664 | <groupId>org.apache.maven.plugins</groupId> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 665 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 666 | <version>${checkstyle.plugin.version}</version> |
| 667 | <dependencies> |
| 668 | <dependency> |
| 669 | <groupId>org.onap.oparent</groupId> |
| 670 | <artifactId>checkstyle</artifactId> |
| 671 | <version>1.2.2</version> |
| 672 | </dependency> |
| 673 | </dependencies> |
| 674 | <executions> |
| 675 | <execution> |
Singal, Kapil (ks220y) | b2db3c4 | 2021-06-08 12:00:17 -0400 | [diff] [blame] | 676 | <phase>process-sources</phase> |
| 677 | <goals> |
| 678 | <goal>check</goal> |
| 679 | </goals> |
| 680 | <configuration> |
| 681 | <failOnViolation>false</failOnViolation> |
| 682 | <skip>true</skip> |
| 683 | </configuration> |
| 684 | </execution> |
| 685 | <execution> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 686 | <id>check-license</id> |
| 687 | <goals> |
| 688 | <goal>check</goal> |
| 689 | </goals> |
| 690 | <phase>process-sources</phase> |
| 691 | <configuration> |
| 692 | <configLocation>onap-checkstyle/check-license.xml</configLocation> |
| 693 | <includeResources>false</includeResources> |
| 694 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 695 | <includeTestResources>false</includeTestResources> |
| 696 | <sourceDirectories> |
| 697 | <directory>${project.build.sourceDirectory}</directory> |
| 698 | </sourceDirectories> |
| 699 | <excludes> |
| 700 | </excludes> |
| 701 | <consoleOutput>true</consoleOutput> |
| 702 | <failOnViolation>false</failOnViolation> |
| 703 | </configuration> |
| 704 | </execution> |
| 705 | <execution> |
| 706 | <id>onap-java-style</id> |
| 707 | <goals> |
| 708 | <goal>check</goal> |
| 709 | </goals> |
| 710 | <phase>process-sources</phase> |
| 711 | <configuration> |
| 712 | <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 713 | with minor changes --> |
| 714 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 715 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory --> |
| 716 | <sourceDirectories> |
| 717 | <directory>${project.build.sourceDirectory}/src/main/java</directory> |
| 718 | </sourceDirectories> |
| 719 | <includeResources>true</includeResources> |
| 720 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 721 | <includeTestResources>true</includeTestResources> |
| 722 | <excludes> |
| 723 | </excludes> |
| 724 | <consoleOutput>true</consoleOutput> |
| 725 | <failOnViolation>false</failOnViolation> |
| 726 | </configuration> |
| 727 | </execution> |
| 728 | </executions> |
| 729 | </plugin> |
Michael DÜrre | 67cb8d5 | 2021-04-12 13:11:00 +0200 | [diff] [blame] | 730 | <plugin> |
| 731 | <groupId>org.gaul</groupId> |
| 732 | <artifactId>modernizer-maven-plugin</artifactId> |
| 733 | <version>2.1.0</version> |
| 734 | <executions> |
| 735 | <execution> |
| 736 | <id>modernizer</id> |
| 737 | <phase>verify</phase> |
| 738 | <goals> |
| 739 | <goal>modernizer</goal> |
| 740 | </goals> |
| 741 | <configuration> |
| 742 | <failOnViolations>false</failOnViolations> |
| 743 | <skip>true</skip> |
| 744 | </configuration> |
| 745 | </execution> |
| 746 | </executions> |
| 747 | <configuration> |
| 748 | <failOnViolations>false</failOnViolations> |
| 749 | <skip>true</skip> |
| 750 | </configuration> |
| 751 | </plugin> |
Dan Timoney | 22cdfa5 | 2021-09-27 12:24:00 -0400 | [diff] [blame] | 752 | <!-- |
| 753 | <plugin> |
| 754 | <groupId>org.apache.karaf.tooling</groupId> |
| 755 | <artifactId>karaf-maven-plugin</artifactId> |
| 756 | <configuration> |
| 757 | <useVersionRange>true</useVersionRange> |
| 758 | <includeTransitiveVersionRanges>true</includeTransitiveVersionRanges> |
| 759 | </configuration> |
| 760 | </plugin> |
| 761 | --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 762 | </plugins> |
| 763 | </pluginManagement> |
| 764 | <plugins> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 765 | <!-- Plugins from oparent version (parent of oparent) --> |
| 766 | <plugin> |
| 767 | <groupId>org.apache.maven.plugins</groupId> |
| 768 | <artifactId>maven-deploy-plugin</artifactId> |
| 769 | </plugin> |
| 770 | <plugin> |
| 771 | <groupId>org.apache.maven.plugins</groupId> |
| 772 | <artifactId>maven-site-plugin</artifactId> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 773 | <!-- |
| 774 | <configuration> |
| 775 | <reportPlugins> |
| 776 | <reportPlugin> |
| 777 | <groupId>org.apache.maven.plugins</groupId> |
| 778 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 779 | <version>${checkstyle.plugin.version}</version> |
| 780 | </reportPlugin> |
| 781 | </reportPlugins> |
| 782 | </configuration> |
| 783 | --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 784 | </plugin> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 785 | <!-- end of plugins from oparent version (parent of oparent) --> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 786 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 787 | <!-- Plugins from oparent --> |
| 788 | <plugin> |
Singal, Kapil (ks220y) | b2db3c4 | 2021-06-08 12:00:17 -0400 | [diff] [blame] | 789 | <groupId>org.apache.maven.plugins</groupId> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 790 | <artifactId>maven-checkstyle-plugin</artifactId> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 791 | </plugin> |
| 792 | <plugin> |
| 793 | <groupId>org.codehaus.mojo</groupId> |
| 794 | <artifactId>build-helper-maven-plugin</artifactId> |
| 795 | <version>1.12</version> |
| 796 | </plugin> |
| 797 | <!-- Jacoco / Sonar --> |
| 798 | <plugin> |
| 799 | <groupId>org.jacoco</groupId> |
| 800 | <artifactId>jacoco-maven-plugin</artifactId> |
Dan Timoney | 621888e | 2020-01-17 09:54:02 -0500 | [diff] [blame] | 801 | <version>${jacoco.version}</version> |
| 802 | <executions> |
| 803 | <execution> |
| 804 | <id>pre-unit-test</id> |
| 805 | <goals> |
| 806 | <goal>prepare-agent</goal> |
| 807 | </goals> |
| 808 | <configuration> |
| 809 | <!-- Sets the path to the file which contains the execution data. --> |
| 810 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 811 | <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. --> |
Dan Timoney | 621888e | 2020-01-17 09:54:02 -0500 | [diff] [blame] | 812 | <propertyName>surefireArgLine</propertyName> |
| 813 | </configuration> |
| 814 | </execution> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 815 | <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. --> |
Dan Timoney | 621888e | 2020-01-17 09:54:02 -0500 | [diff] [blame] | 816 | <execution> |
| 817 | <id>post-unit-test</id> |
| 818 | <phase>test</phase> |
| 819 | <goals> |
| 820 | <goal>report</goal> |
| 821 | </goals> |
| 822 | <configuration> |
| 823 | <!-- Sets the path to the file which contains the execution data. --> |
| 824 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 825 | <!-- Sets the output directory for the code coverage report. --> |
| 826 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 827 | </configuration> |
| 828 | </execution> |
| 829 | <execution> |
| 830 | <id>pre-integration-test</id> |
| 831 | <phase>pre-integration-test</phase> |
| 832 | <goals> |
| 833 | <goal>prepare-agent</goal> |
| 834 | </goals> |
| 835 | <configuration> |
| 836 | <!-- Sets the path to the file which contains the execution data. --> |
| 837 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 838 | <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. --> |
Dan Timoney | 621888e | 2020-01-17 09:54:02 -0500 | [diff] [blame] | 839 | <propertyName>failsafeArgLine</propertyName> |
| 840 | </configuration> |
| 841 | </execution> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 842 | <!-- Ensures that the code coverage report for integration tests after integration tests have been run. --> |
Dan Timoney | 621888e | 2020-01-17 09:54:02 -0500 | [diff] [blame] | 843 | <execution> |
| 844 | <id>post-integration-test</id> |
| 845 | <phase>post-integration-test</phase> |
| 846 | <goals> |
| 847 | <goal>report</goal> |
| 848 | </goals> |
| 849 | <configuration> |
| 850 | <!-- Sets the path to the file which contains the execution data. --> |
| 851 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 852 | <!-- Sets the output directory for the code coverage report. --> |
| 853 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 854 | </configuration> |
| 855 | </execution> |
| 856 | <execution> |
| 857 | <id>default-prepare-agent</id> |
| 858 | <goals> |
| 859 | <goal>prepare-agent</goal> |
| 860 | </goals> |
| 861 | </execution> |
| 862 | <execution> |
| 863 | <id>default-report</id> |
| 864 | <phase>prepare-package</phase> |
| 865 | <goals> |
| 866 | <goal>report</goal> |
| 867 | </goals> |
| 868 | </execution> |
| 869 | <execution> |
| 870 | <id>default-check</id> |
| 871 | <goals> |
| 872 | <goal>check</goal> |
| 873 | </goals> |
| 874 | <configuration> |
| 875 | <rules> |
| 876 | <rule> |
| 877 | <element>PACKAGE</element> |
| 878 | <limits> |
| 879 | <limit> |
| 880 | <counter>COMPLEXITY</counter> |
| 881 | <value>COVEREDRATIO</value> |
| 882 | <minimum>0.0</minimum> |
| 883 | </limit> |
| 884 | </limits> |
| 885 | </rule> |
| 886 | </rules> |
| 887 | </configuration> |
| 888 | </execution> |
| 889 | </executions> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 890 | </plugin> |
| 891 | <plugin> |
| 892 | <groupId>org.apache.maven.plugins</groupId> |
| 893 | <artifactId>maven-surefire-plugin</artifactId> |
| 894 | </plugin> |
| 895 | <plugin> |
| 896 | <groupId>org.apache.maven.plugins</groupId> |
| 897 | <artifactId>maven-failsafe-plugin</artifactId> |
| 898 | </plugin> |
| 899 | <!-- end of plugins from oparent --> |
| 900 | <plugin> |
| 901 | <groupId>org.apache.maven.plugins</groupId> |
| 902 | <artifactId>maven-javadoc-plugin</artifactId> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 903 | <executions> |
| 904 | <execution> |
| 905 | <id>attach-javadocs</id> |
| 906 | <goals> |
| 907 | <goal>jar</goal> |
| 908 | </goals> |
| 909 | <configuration> |
| 910 | <additionalparam>-Xdoclint:none</additionalparam> |
| 911 | </configuration> |
| 912 | </execution> |
| 913 | </executions> |
| 914 | </plugin> |
Michael Dürre | 2c39a4d | 2020-07-06 06:22:15 +0200 | [diff] [blame] | 915 | <plugin> |
| 916 | <artifactId>maven-enforcer-plugin</artifactId> |
| 917 | <version>3.0.0-M2</version> |
| 918 | <executions> |
| 919 | <execution> |
| 920 | <id>enforce-property</id> |
| 921 | <goals> |
| 922 | <goal>enforce</goal> |
| 923 | </goals> |
| 924 | <configuration> |
| 925 | <rules> |
| 926 | <requireProperty> |
| 927 | <property>onap.nexus.url</property> |
| 928 | <message>You must set a onap.nexus.url property in your |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 929 | ~/.m2/settings.xml. See oparent/settings.xml for an example. |
| 930 | </message> |
Michael Dürre | 2c39a4d | 2020-07-06 06:22:15 +0200 | [diff] [blame] | 931 | </requireProperty> |
| 932 | </rules> |
| 933 | <fail>true</fail> |
| 934 | </configuration> |
| 935 | </execution> |
| 936 | <execution> |
| 937 | <id>enforce-no-snapshots</id> |
| 938 | <goals> |
| 939 | <goal>enforce</goal> |
| 940 | </goals> |
| 941 | <configuration> |
| 942 | <rules> |
| 943 | <requireReleaseDeps> |
| 944 | <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot> |
| 945 | <onlyWhenRelease>true</onlyWhenRelease> |
| 946 | <level>WARN</level> |
| 947 | </requireReleaseDeps> |
| 948 | </rules> |
| 949 | </configuration> |
| 950 | </execution> |
| 951 | <execution> |
| 952 | <id>enforce-maven</id> |
| 953 | <goals> |
| 954 | <goal>enforce</goal> |
| 955 | </goals> |
| 956 | <configuration> |
| 957 | <rules> |
| 958 | <requireJavaVersion> |
| 959 | <version>1.8.0</version> |
| 960 | </requireJavaVersion> |
| 961 | <requireMavenVersion> |
| 962 | <version>[3.5.0,)</version> |
| 963 | </requireMavenVersion> |
| 964 | </rules> |
| 965 | </configuration> |
| 966 | </execution> |
| 967 | <execution> |
| 968 | <id>enforce-banned-dependencies</id> |
| 969 | <goals> |
| 970 | <goal>enforce</goal> |
| 971 | </goals> |
| 972 | <configuration> |
| 973 | <rules> |
| 974 | <bannedDependencies> |
| 975 | <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message> |
| 976 | <excludes> |
| 977 | <exclude>org.mockito:mockito-all</exclude> |
Singal, Kapil (ks220y) | da2d976 | 2020-09-04 10:34:58 -0400 | [diff] [blame] | 978 | <!-- <exclude>com.google.code.findbugs:annotations</exclude> --> |
Michael Dürre | 2c39a4d | 2020-07-06 06:22:15 +0200 | [diff] [blame] | 979 | </excludes> |
| 980 | </bannedDependencies> |
| 981 | </rules> |
| 982 | <fail>true</fail> |
| 983 | </configuration> |
| 984 | </execution> |
| 985 | </executions> |
| 986 | </plugin> |
Singal, Kapil (ks220y) | da2d976 | 2020-09-04 10:34:58 -0400 | [diff] [blame] | 987 | <plugin> |
| 988 | <groupId>pl.project13.maven</groupId> |
| 989 | <artifactId>git-commit-id-plugin</artifactId> |
| 990 | <version>4.0.0</version> |
| 991 | <configuration> |
| 992 | <commitIdGenerationMode>full</commitIdGenerationMode> |
| 993 | <includeOnlyProperties> |
| 994 | <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> |
| 995 | <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> |
| 996 | </includeOnlyProperties> |
| 997 | </configuration> |
| 998 | </plugin> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 999 | </plugins> |
| 1000 | </build> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 1001 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1002 | <reporting> |
| 1003 | <plugins> |
| 1004 | <plugin> |
| 1005 | <artifactId>maven-javadoc-plugin</artifactId> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1006 | <configuration> |
| 1007 | <failOnError>false</failOnError> |
| 1008 | <additionalparam>-Xdoclint:none</additionalparam> |
| 1009 | </configuration> |
| 1010 | </plugin> |
| 1011 | </plugins> |
| 1012 | </reporting> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 1013 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1014 | <profiles> |
| 1015 | <!-- Profiles from ONAP oparent --> |
| 1016 | <profile> |
| 1017 | <id>generate-json</id> |
| 1018 | <activation> |
| 1019 | <file> |
| 1020 | <exists>${swagger-properties}</exists> |
| 1021 | </file> |
| 1022 | <property> |
| 1023 | <name>swagger-sdk.generate-json</name> |
| 1024 | </property> |
| 1025 | </activation> |
| 1026 | <build> |
| 1027 | <plugins> |
| 1028 | <plugin> |
| 1029 | <groupId>org.codehaus.mojo</groupId> |
| 1030 | <artifactId>properties-maven-plugin</artifactId> |
| 1031 | <version>1.0.0</version> |
| 1032 | <executions> |
| 1033 | <execution> |
| 1034 | <phase>initialize</phase> |
| 1035 | <goals> |
| 1036 | <goal>read-project-properties</goal> |
| 1037 | </goals> |
| 1038 | <configuration> |
| 1039 | <files> |
| 1040 | <file>${basedir}/src/main/resources/swagger.properties</file> |
| 1041 | </files> |
| 1042 | </configuration> |
| 1043 | </execution> |
| 1044 | </executions> |
| 1045 | </plugin> |
| 1046 | <plugin> |
| 1047 | <groupId>com.github.kongchen</groupId> |
| 1048 | <artifactId>swagger-maven-plugin</artifactId> |
| 1049 | <version>3.1.4</version> |
| 1050 | <configuration> |
| 1051 | <apiSources> |
| 1052 | <apiSource> |
| 1053 | <locations>${api-rest-package}</locations> |
| 1054 | <schemes>http,https</schemes> |
| 1055 | <host>${api-host-ip}:${api-host-port}</host> |
| 1056 | <basePath>${api-base-path}</basePath> |
| 1057 | <info> |
| 1058 | <title>${api-title}</title> |
| 1059 | <version>${api-version}</version> |
| 1060 | <description>${api-description}</description> |
| 1061 | <license> |
| 1062 | <name>${api-license}</name> |
| 1063 | </license> |
| 1064 | </info> |
| 1065 | <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory> |
| 1066 | </apiSource> |
| 1067 | </apiSources> |
| 1068 | </configuration> |
| 1069 | <executions> |
| 1070 | <execution> |
| 1071 | <phase>compile</phase> |
| 1072 | <goals> |
| 1073 | <goal>generate</goal> |
| 1074 | </goals> |
| 1075 | </execution> |
| 1076 | </executions> |
| 1077 | </plugin> |
| 1078 | <plugin> |
| 1079 | <groupId>org.apache.maven.plugins</groupId> |
| 1080 | <artifactId>maven-install-plugin</artifactId> |
| 1081 | <version>2.3.1</version> |
| 1082 | <executions> |
| 1083 | <execution> |
| 1084 | <id>install-file-id</id> |
| 1085 | <phase>install</phase> |
| 1086 | <goals> |
| 1087 | <goal>install-file</goal> |
| 1088 | </goals> |
| 1089 | <configuration> |
| 1090 | <file>${basedir}/src/main/resources/swagger.json</file> |
| 1091 | <groupId>${project.groupId}</groupId> |
| 1092 | <artifactId>${project.artifactId}-swagger-schema</artifactId> |
| 1093 | <version>${project.version}</version> |
| 1094 | <packaging>json</packaging> |
| 1095 | </configuration> |
| 1096 | </execution> |
| 1097 | </executions> |
| 1098 | </plugin> |
| 1099 | </plugins> |
| 1100 | </build> |
| 1101 | </profile> |
| 1102 | <profile> |
| 1103 | <id>generate-sdk</id> |
| 1104 | <activation> |
| 1105 | <file> |
| 1106 | <exists>${swagger-json}</exists> |
| 1107 | </file> |
| 1108 | <property> |
| 1109 | <name>swagger-sdk.generate-java-sdk</name> |
| 1110 | </property> |
| 1111 | </activation> |
| 1112 | <build> |
| 1113 | <plugins> |
| 1114 | <plugin> |
| 1115 | <groupId>org.apache.maven.plugins</groupId> |
| 1116 | <artifactId>maven-antrun-plugin</artifactId> |
| 1117 | <version>1.8</version> |
| 1118 | <executions> |
| 1119 | <execution> |
| 1120 | <phase>initialize</phase> |
| 1121 | <id>ant-create-script</id> |
| 1122 | <configuration> |
| 1123 | <exportAntProperties>true</exportAntProperties> |
| 1124 | <tasks> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 1125 | <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1126 | <condition property="is_windows" value="true"> |
| 1127 | <os family="windows"/> |
| 1128 | </condition> |
| 1129 | <condition property="isLinux" value="true"> |
| 1130 | <os family="unix"/> |
| 1131 | </condition> |
| 1132 | <if> |
| 1133 | <equals arg1="${is_windows}" arg2="true"/> |
| 1134 | <then> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 1135 | <property name="swagger.sdk.script.file" value="generated-source-script.bat"/> |
| 1136 | <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 1137 | message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 1138 | <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 1139 | message="mvn clean install -Dmaven.test.skip=true${line.separator}"/> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1140 | </then> |
| 1141 | <else> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 1142 | <property name="swagger.sdk.script.file" value="generated-source-script.sh"/> |
| 1143 | <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 1144 | message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 1145 | <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 1146 | message="mvn clean install -Dmaven.test.skip=true${line.separator}"/> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 1147 | <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1148 | </else> |
| 1149 | </if> |
| 1150 | </tasks> |
| 1151 | </configuration> |
| 1152 | <goals> |
| 1153 | <goal>run</goal> |
| 1154 | </goals> |
| 1155 | </execution> |
| 1156 | </executions> |
| 1157 | <dependencies> |
| 1158 | <dependency> |
| 1159 | <groupId>ant-contrib</groupId> |
| 1160 | <artifactId>ant-contrib</artifactId> |
| 1161 | <version>1.0b3</version> |
| 1162 | <exclusions> |
| 1163 | <exclusion> |
| 1164 | <groupId>ant</groupId> |
| 1165 | <artifactId>ant</artifactId> |
| 1166 | </exclusion> |
| 1167 | </exclusions> |
| 1168 | </dependency> |
| 1169 | </dependencies> |
| 1170 | </plugin> |
| 1171 | <plugin> |
| 1172 | <groupId>io.swagger</groupId> |
| 1173 | <artifactId>swagger-codegen-maven-plugin</artifactId> |
| 1174 | <version>2.2.1</version> |
| 1175 | <executions> |
| 1176 | <execution> |
| 1177 | <goals> |
| 1178 | <goal>generate</goal> |
| 1179 | </goals> |
| 1180 | <configuration> |
| 1181 | <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec> |
| 1182 | <output>${project.build.directory}/generated-sources</output> |
| 1183 | <language>java</language> |
| 1184 | <configOptions> |
| 1185 | <dateLibrary>joda</dateLibrary> |
| 1186 | </configOptions> |
| 1187 | <library>jersey2</library> |
| 1188 | <groupId>${project.groupId}</groupId> |
| 1189 | <artifactId>${project.artifactId}-java-sdk</artifactId> |
| 1190 | <artifactVersion>${project.version}</artifactVersion> |
| 1191 | <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage> |
| 1192 | <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage> |
| 1193 | <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage> |
| 1194 | </configuration> |
| 1195 | </execution> |
| 1196 | </executions> |
| 1197 | </plugin> |
| 1198 | <plugin> |
| 1199 | <groupId>org.codehaus.mojo</groupId> |
| 1200 | <artifactId>exec-maven-plugin</artifactId> |
| 1201 | <version>1.5.0</version> |
| 1202 | <executions> |
| 1203 | <execution> |
| 1204 | <id>swagger-generate-sources</id> |
| 1205 | <phase>generate-sources</phase> |
| 1206 | <goals> |
| 1207 | <goal>exec</goal> |
| 1208 | </goals> |
| 1209 | <configuration> |
| 1210 | <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable> |
| 1211 | </configuration> |
| 1212 | </execution> |
| 1213 | </executions> |
| 1214 | </plugin> |
| 1215 | <plugin> |
| 1216 | <groupId>org.apache.maven.plugins</groupId> |
| 1217 | <artifactId>maven-clean-plugin</artifactId> |
| 1218 | <version>3.0.0</version> |
| 1219 | <executions> |
| 1220 | <execution> |
| 1221 | <id>clean-generated-files</id> |
| 1222 | <phase>generate-sources</phase> |
| 1223 | <goals> |
| 1224 | <goal>clean</goal> |
| 1225 | </goals> |
| 1226 | <configuration> |
| 1227 | <filesets> |
| 1228 | <fileset> |
| 1229 | <directory>${project.build.directory}/generated-sources</directory> |
| 1230 | </fileset> |
| 1231 | </filesets> |
| 1232 | </configuration> |
| 1233 | </execution> |
| 1234 | </executions> |
| 1235 | </plugin> |
| 1236 | </plugins> |
| 1237 | </build> |
| 1238 | <dependencies> |
| 1239 | <dependency> |
| 1240 | <groupId>org.onap.msb.swagger-sdk</groupId> |
| 1241 | <artifactId>swagger-sdk</artifactId> |
| 1242 | <version>1.0.0</version> |
| 1243 | </dependency> |
| 1244 | </dependencies> |
| 1245 | </profile> |
Timoney, Dan (dt5972) | 008b52b | 2019-12-06 09:10:09 -0500 | [diff] [blame] | 1246 | <profile> |
| 1247 | <id>sonar-jacoco-aggregate</id> |
| 1248 | <activation> |
| 1249 | <property> |
| 1250 | <name>onap.jacoco.aggregateFile</name> |
| 1251 | </property> |
| 1252 | </activation> |
| 1253 | <build> |
| 1254 | <plugins> |
| 1255 | <plugin> |
| 1256 | <groupId>org.jacoco</groupId> |
| 1257 | <artifactId>jacoco-maven-plugin</artifactId> |
| 1258 | <executions> |
| 1259 | <execution> |
| 1260 | <id>merge</id> |
| 1261 | <goals> |
| 1262 | <goal>merge</goal> |
| 1263 | </goals> |
| 1264 | <phase>generate-resources</phase> |
| 1265 | <configuration> |
| 1266 | <destFile>${onap.jacoco.aggregateFile}</destFile> |
| 1267 | <fileSets> |
| 1268 | <fileSet> |
| 1269 | <directory>${project.basedir}</directory> |
| 1270 | <includes> |
| 1271 | <include>**/target/code-coverage/*.exec</include> |
| 1272 | </includes> |
| 1273 | </fileSet> |
| 1274 | </fileSets> |
| 1275 | </configuration> |
| 1276 | </execution> |
| 1277 | </executions> |
| 1278 | </plugin> |
| 1279 | </plugins> |
| 1280 | </build> |
| 1281 | </profile> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1282 | <!-- End of profiles from ONAP oparent --> |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 1283 | |
Michael DÜrre | 7bb133e | 2022-01-18 10:06:31 +0100 | [diff] [blame] | 1284 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1285 | </profiles> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1286 | </project> |