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