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