Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 3 | <modelVersion>4.0.0</modelVersion> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 4 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 5 | <!-- PLEASE READ !!!!! This file is generated from ccsdk/parent/setup/src/main/template/pom-template.xml |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 6 | Any updates needed should be made to that template and not to the generated |
| 7 | pom.xml file --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 8 | <parent> |
| 9 | <groupId>org.opendaylight.odlparent</groupId> |
| 10 | <artifactId>feature-repo-parent</artifactId> |
Michael DÜrre | 4f50392 | 2021-10-29 07:53:09 +0200 | [diff] [blame] | 11 | <version>8.1.3</version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 12 | <relativePath/> |
| 13 | </parent> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 14 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 15 | <groupId>org.onap.ccsdk.parent</groupId> |
| 16 | <artifactId>feature-repo-parent</artifactId> |
Dan Timoney | 3e0f5ef | 2021-11-11 10:03:28 -0500 | [diff] [blame] | 17 | <version>2.3.2-SNAPSHOT</version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 18 | <packaging>pom</packaging> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 19 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 20 | <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name> |
| 21 | <description>Root POM to be used in place of odlparent for CCSDK based projects</description> |
| 22 | <url>http://wiki.onap.org</url> |
| 23 | <organization> |
| 24 | <name>ONAP</name> |
| 25 | </organization> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 26 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 27 | <issueManagement> |
| 28 | <system>JIRA</system> |
| 29 | <url>https://jira.onap.org/</url> |
| 30 | </issueManagement> |
| 31 | <distributionManagement> |
| 32 | <repository> |
| 33 | <id>ecomp-releases</id> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 34 | <url>${onap.nexus.release-url}</url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 35 | </repository> |
| 36 | <snapshotRepository> |
| 37 | <id>ecomp-snapshots</id> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 38 | <url>${onap.nexus.snapshot-url}</url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 39 | </snapshotRepository> |
| 40 | </distributionManagement> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 41 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 42 | <properties> |
Dan Timoney | 621888e | 2020-01-17 09:54:02 -0500 | [diff] [blame] | 43 | <!-- Sonar properties --> |
| 44 | <sonar.scanner.version>3.7.0.1746</sonar.scanner.version> |
| 45 | <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> |
| 46 | <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> |
| 47 | <!-- Default Sonar configuration --> |
| 48 | <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> |
| 49 | <!-- Note: This list should match jacoco-maven-plugin's exclusion list below --> |
| 50 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
| 51 | |
| 52 | <!-- Jacoco properties --> |
| 53 | <jacoco.version>0.8.5</jacoco.version> |
| 54 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 55 | <!-- properties from oparent --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 56 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 57 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 58 | <!-- sitePath may be overridden in the inheriting POM if desired --> |
| 59 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
Singal, Kapil (ks220y) | e14c10b | 2020-01-07 11:54:24 -0500 | [diff] [blame] | 60 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 61 | <!-- If following file exist, auto-generation of swagger.json will be done --> |
| 62 | <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties> |
| 63 | <!-- If following file exist, auto-generation of sdk will be done --> |
| 64 | <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json> |
| 65 | <!-- end of properties from oparent --> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 66 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 67 | <!-- ONAP repositories --> |
Singal, Kapil (ks220y) | 9714cfc | 2021-05-17 13:23:11 -0400 | [diff] [blame] | 68 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 69 | <onap.nexus.host>nexus.onap.org</onap.nexus.host> |
| 70 | <onap.nexus.port>443</onap.nexus.port> |
| 71 | <onap.nexus.protocol>https</onap.nexus.protocol> |
| 72 | <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url> |
| 73 | <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url> |
| 74 | <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url> |
| 75 | <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url> |
| 76 | <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id> |
| 77 | <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 78 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 79 | <!-- OpenDaylight repositories --> |
| 80 | <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url> |
| 81 | <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 82 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 83 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 84 | <java.version>11</java.version> |
| 85 | <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version> |
| 86 | <maven-failsafe-plugin.version>3.0.0-M5</maven-failsafe-plugin.version> |
| 87 | <bundle.plugin.version>4.2.1</bundle.plugin.version> |
| 88 | <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 89 | <features.file>features.xml</features.file> |
| 90 | <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath> |
| 91 | <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 92 | <checkstyle.plugin.version>3.1.1</checkstyle.plugin.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 93 | <checkstyle.skip>true</checkstyle.skip> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 94 | <odlparent.spotbugs.enforce>false</odlparent.spotbugs.enforce> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 95 | |
Smokowski, Kevin (ks6305) | 9548ff8 | 2020-02-06 18:33:18 +0000 | [diff] [blame] | 96 | <!-- logging-analytics versions --> |
Claudio D. Gasparini | 1068864 | 2021-05-14 10:33:22 +0200 | [diff] [blame] | 97 | <logging-analytics.version>1.6.9</logging-analytics.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 98 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 99 | <!-- CCSDK component versions --> |
Dan Timoney | fc00621 | 2021-10-05 15:55:28 -0400 | [diff] [blame] | 100 | <ccsdk.cds.version>(1.2.99999, 1.3.99999-SNAPSHOT]</ccsdk.cds.version> |
| 101 | <ccsdk.features.version>(1.2.99999, 1.3.99999-SNAPSHOT]</ccsdk.features.version> |
| 102 | <ccsdk.distribution.version>(1.2.99999, 1.3.99999-SNAPSHOT]</ccsdk.distribution.version> |
| 103 | <ccsdk.sli.version>(1.3.99999, 1.4.99999-SNAPSHOT]</ccsdk.sli.version> |
Dan Timoney | a265d5b | 2020-11-25 08:23:08 -0500 | [diff] [blame] | 104 | <ccsdk.sli.core.version>${ccsdk.sli.version}</ccsdk.sli.core.version> |
Jozsef Csongvai | a4d399c | 2020-12-14 07:39:31 -0500 | [diff] [blame] | 105 | <ccsdk.sli.adaptors.version>${ccsdk.sli.version}</ccsdk.sli.adaptors.version> |
| 106 | <ccsdk.sli.northbound.version>${ccsdk.sli.version}</ccsdk.sli.northbound.version> |
| 107 | <ccsdk.sli.plugins.version>${ccsdk.sli.version}</ccsdk.sli.plugins.version> |
Dan Timoney | a265d5b | 2020-11-25 08:23:08 -0500 | [diff] [blame] | 108 | <sdnctl.aai.service.version>${ccsdk.sli.version}</sdnctl.aai.service.version> |
| 109 | <sdnctl.dblib.version>${ccsdk.sli.version}</sdnctl.dblib.version> |
| 110 | <sdnctl.mdsal.resource.version>${ccsdk.sli.version}</sdnctl.mdsal.resource.version> |
| 111 | <sdnctl.slipluginutils.version>${ccsdk.sli.version}</sdnctl.slipluginutils.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 112 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 113 | <!-- Support libraries used by OpenDaylight --> |
Michael DÜrre | 4f50392 | 2021-10-29 07:53:09 +0200 | [diff] [blame] | 114 | <odl.controller.mdsal.version>1.13.4</odl.controller.mdsal.version> |
| 115 | <odl.mdsal.version>7.0.9</odl.mdsal.version> |
| 116 | <odl.mdsal.model.version>7.0.9</odl.mdsal.model.version> |
| 117 | <odl.netconf.restconf.version>1.13.4</odl.netconf.restconf.version> |
| 118 | <odl.netconf.netconf.version>1.13.4</odl.netconf.netconf.version> |
| 119 | <odl.netconf.sal.rest.docgen.version>1.13.4</odl.netconf.sal.rest.docgen.version> |
Timoney, Dan (dt5972) | 135e407 | 2019-07-01 13:08:58 -0400 | [diff] [blame] | 120 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 129 | <!-- Used by neutron --> |
Dan Timoney | fc00621 | 2021-10-05 15:55:28 -0400 | [diff] [blame] | 130 | <eclipse.persistence.version>2.7.8</eclipse.persistence.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -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 --> |
| 134 | <gson.version>2.8.5</gson.version> |
| 135 | <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp --> |
Michael DÜrre | 67cb8d5 | 2021-04-12 13:11:00 +0200 | [diff] [blame] | 136 | <guava.version>29.0-jre</guava.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -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 --> |
Michael DÜrre | 67cb8d5 | 2021-04-12 13:11:00 +0200 | [diff] [blame] | 139 | <jackson.version>2.11.4</jackson.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 140 | <!-- Used by snmp4sdn, yangtools --> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 141 | <javassist.version>3.27.0-GA</javassist.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -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 --> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 145 | <jersey.version>2.27</jersey.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 146 | <!-- Used by sfc --> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 147 | <jersey.client.version>2.27</jersey.client.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 148 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 149 | <!-- New packages for jersey migration 1.17 to 2.8 --> |
| 150 | <!-- appache.geronimo.bundle for DocGen --> |
| 151 | <!-- Used by aaa, iotdm, netconf, ovsdb, sfc --> |
| 152 | <org.json.version>20131018</org.json.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 153 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 154 | <!-- Used everywhere --> |
Dan Timoney | d9c8dcb | 2021-08-23 11:36:27 -0400 | [diff] [blame] | 155 | <junit.version>4.13.2</junit.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 156 | <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit --> |
Singal, Kapil (ks220y) | b2db3c4 | 2021-06-08 12:00:17 -0400 | [diff] [blame] | 157 | <logback.version>1.11.7</logback.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 158 | <!-- Used by nic, sfc, sxp, tsdr --> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 159 | <mockito.version>3.3.3</mockito.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 160 | <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit --> |
Michael DÜrre | 4f50392 | 2021-10-29 07:53:09 +0200 | [diff] [blame] | 161 | <netty.version>4.1.65.Final</netty.version> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 162 | <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity, toolkit --> |
Michael DÜrre | b91d791 | 2021-07-07 07:28:02 +0200 | [diff] [blame] | 163 | <slf4j.version>1.7.29</slf4j.version> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 164 | <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit, tsdr, ttp --> |
Singal, Kapil (ks220y) | b5adc45 | 2020-02-20 13:53:41 -0500 | [diff] [blame] | 165 | <spring.version>4.3.25.RELEASE</spring.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 166 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 167 | <!-- Extra support libraries used by SDN-C --> |
| 168 | <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version> |
Singal, Kapil (ks220y) | b2db3c4 | 2021-06-08 12:00:17 -0400 | [diff] [blame] | 169 | <antlr.version>4.8-1</antlr.version> |
Timoney, Dan (dt5972) | ebc00be | 2018-03-21 09:00:19 -0400 | [diff] [blame] | 170 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 171 | <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 172 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 173 | <!-- Managed dependency versions --> |
Timoney, Dan (dt5972) | 48f5577 | 2019-12-17 10:44:04 -0500 | [diff] [blame] | 174 | <apache.httpcomponents.core.version>4.4.12</apache.httpcomponents.core.version> |
Dan Timoney | d9c8dcb | 2021-08-23 11:36:27 -0400 | [diff] [blame] | 175 | <apache.httpcomponents.client.version>4.5.13</apache.httpcomponents.client.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 176 | <derby.version>10.14.2.0</derby.version> |
| 177 | <eelf.version>1.0.0</eelf.version> |
Timoney, Dan (dt5972) | 48f5577 | 2019-12-17 10:44:04 -0500 | [diff] [blame] | 178 | <grpc.version>1.21.1</grpc.version> |
Dan Timoney | 2f6c03b | 2021-12-13 15:59:55 -0500 | [diff] [blame] | 179 | <jetty.version>9.4.40.v20210413</jetty.version> |
Dan Timoney | 156d2a9 | 2022-01-03 11:49:40 -0500 | [diff] [blame^] | 180 | <log4j.version>2.17.1</log4j.version> |
| 181 | <log4j2.version>2.17.1</log4j2.version> |
Dan Timoney | f11f808 | 2021-07-15 12:38:19 -0400 | [diff] [blame] | 182 | <mariadb.connector.version>2.7.3</mariadb.connector.version> |
Timoney, Dan (dt5972) | 48f5577 | 2019-12-17 10:44:04 -0500 | [diff] [blame] | 183 | <mariadb4j.version>2.4.0</mariadb4j.version> |
| 184 | <testng.version>6.14.3</testng.version> |
Dan Timoney | bc67c40 | 2021-08-05 10:46:18 -0400 | [diff] [blame] | 185 | <tomcat-jdbc.version>9.0.52</tomcat-jdbc.version> |
Dan Timoney | 2f6c03b | 2021-12-13 15:59:55 -0500 | [diff] [blame] | 186 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 187 | <skip.karaf.featureTest>true</skip.karaf.featureTest> |
Timoney, Dan (dt5972) | 94fcbc2 | 2019-12-10 09:18:51 -0500 | [diff] [blame] | 188 | <dependency-list.file>direct-dependencies.txt</dependency-list.file> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 189 | </properties> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 190 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 191 | <dependencyManagement> |
| 192 | <dependencies> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 193 | <!-- Note: If value in BOM conflicts with value inherited from |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 194 | parent pom, inherited value takes precedence. This seems more like |
| 195 | a bug than a feature, but this is how maven 3.6 works --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 196 | <dependency> |
| 197 | <groupId>org.onap.ccsdk.parent</groupId> |
| 198 | <artifactId>dependencies-odl-bom</artifactId> |
Dan Timoney | 3e0f5ef | 2021-11-11 10:03:28 -0500 | [diff] [blame] | 199 | <version>2.3.2-SNAPSHOT</version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 200 | <type>pom</type> |
| 201 | <scope>import</scope> |
| 202 | </dependency> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 203 | <dependency> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 204 | <groupId>org.onap.ccsdk.parent</groupId> |
| 205 | <artifactId>dependencies-bom</artifactId> |
Dan Timoney | 3e0f5ef | 2021-11-11 10:03:28 -0500 | [diff] [blame] | 206 | <version>2.3.2-SNAPSHOT</version> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 207 | <type>pom</type> |
| 208 | <scope>import</scope> |
| 209 | </dependency> |
| 210 | <dependency> |
| 211 | <groupId>org.springframework.boot</groupId> |
| 212 | <artifactId>spring-boot-dependencies</artifactId> |
| 213 | <version>2.3.8.RELEASE</version> |
| 214 | <scope>import</scope> |
| 215 | <type>pom</type> |
| 216 | </dependency> |
| 217 | <dependency> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 218 | <groupId>org.onap.logging-analytics</groupId> |
| 219 | <artifactId>logging-slf4j</artifactId> |
Smokowski, Kevin (ks6305) | 9548ff8 | 2020-02-06 18:33:18 +0000 | [diff] [blame] | 220 | <version>${logging-analytics.version}</version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 221 | </dependency> |
| 222 | <dependency> |
| 223 | <groupId>org.onap.logging-analytics</groupId> |
| 224 | <artifactId>logging-filter-base</artifactId> |
Smokowski, Kevin (ks6305) | 9548ff8 | 2020-02-06 18:33:18 +0000 | [diff] [blame] | 225 | <version>${logging-analytics.version}</version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 226 | </dependency> |
Singal, Kapil (ks220y) | ffff34a | 2020-02-27 11:02:51 -0500 | [diff] [blame] | 227 | <dependency> |
| 228 | <groupId>junit</groupId> |
| 229 | <artifactId>junit</artifactId> |
| 230 | <version>${junit.version}</version> |
| 231 | <scope>test</scope> |
| 232 | </dependency> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 233 | </dependencies> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 234 | </dependencyManagement> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 235 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 236 | <repositories> |
| 237 | <repository> |
| 238 | <id>onap-public</id> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 239 | <url>${onap.nexus.public-url}</url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 240 | <releases> |
| 241 | <enabled>true</enabled> |
| 242 | <updatePolicy>never</updatePolicy> |
| 243 | </releases> |
| 244 | <snapshots> |
| 245 | <enabled>true</enabled> |
| 246 | <updatePolicy>always</updatePolicy> |
| 247 | </snapshots> |
| 248 | </repository> |
| 249 | <repository> |
| 250 | <id>onap-staging</id> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 251 | <url>${onap.nexus.staging-url}</url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 252 | <releases> |
| 253 | <enabled>true</enabled> |
| 254 | <updatePolicy>never</updatePolicy> |
| 255 | </releases> |
| 256 | <snapshots> |
| 257 | <enabled>true</enabled> |
| 258 | <updatePolicy>always</updatePolicy> |
| 259 | </snapshots> |
| 260 | </repository> |
| 261 | <repository> |
| 262 | <id>ecomp-release</id> |
| 263 | <name>onap-repository-releases</name> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 264 | <url>${onap.nexus.release-url}</url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 265 | <releases> |
| 266 | <enabled>true</enabled> |
| 267 | <updatePolicy>never</updatePolicy> |
| 268 | </releases> |
| 269 | <snapshots> |
| 270 | <enabled>false</enabled> |
| 271 | </snapshots> |
| 272 | </repository> |
| 273 | <repository> |
| 274 | <id>ecomp-snapshot</id> |
| 275 | <name>onap-repository-snapshots</name> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 276 | <url>${onap.nexus.snapshot-url}</url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 277 | <releases> |
| 278 | <enabled>false</enabled> |
| 279 | </releases> |
| 280 | <snapshots> |
| 281 | <enabled>true</enabled> |
| 282 | </snapshots> |
| 283 | </repository> |
| 284 | <repository> |
| 285 | <id>opendaylight-mirror</id> |
| 286 | <name>opendaylight-mirror</name> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 287 | <url>${opendaylight.nexus.public-url}</url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 288 | <releases> |
| 289 | <enabled>true</enabled> |
| 290 | <updatePolicy>never</updatePolicy> |
| 291 | </releases> |
| 292 | <snapshots> |
| 293 | <enabled>false</enabled> |
| 294 | </snapshots> |
| 295 | </repository> |
| 296 | <repository> |
| 297 | <id>opendaylight-snapshot</id> |
| 298 | <name>opendaylight-snapshot</name> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 299 | <url>${opendaylight.nexus.snapshot-url}</url> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 300 | <releases> |
| 301 | <enabled>false</enabled> |
| 302 | </releases> |
| 303 | <snapshots> |
| 304 | <enabled>true</enabled> |
| 305 | </snapshots> |
| 306 | </repository> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 307 | </repositories> |
Singal, Kapil (ks220y) | 9714cfc | 2021-05-17 13:23:11 -0400 | [diff] [blame] | 308 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 309 | <pluginRepositories> |
| 310 | <pluginRepository> |
| 311 | <id>onap-public</id> |
| 312 | <url>${onap.nexus.public-url}</url> |
| 313 | <releases> |
| 314 | <enabled>true</enabled> |
| 315 | </releases> |
| 316 | <snapshots> |
| 317 | <enabled>true</enabled> |
| 318 | </snapshots> |
| 319 | </pluginRepository> |
| 320 | <pluginRepository> |
| 321 | <id>onap-staging</id> |
| 322 | <url>${onap.nexus.staging-url}</url> |
| 323 | <releases> |
| 324 | <enabled>true</enabled> |
| 325 | </releases> |
| 326 | <snapshots> |
| 327 | <enabled>true</enabled> |
| 328 | </snapshots> |
| 329 | </pluginRepository> |
| 330 | <pluginRepository> |
| 331 | <id>onap-snapshot</id> |
| 332 | <url>${onap.nexus.snapshot-url}</url> |
| 333 | <releases> |
| 334 | <enabled>false</enabled> |
| 335 | </releases> |
| 336 | <snapshots> |
| 337 | <enabled>true</enabled> |
| 338 | </snapshots> |
| 339 | </pluginRepository> |
| 340 | <pluginRepository> |
| 341 | <id>opendaylight-mirror</id> |
| 342 | <name>opendaylight-mirror</name> |
| 343 | <url>${opendaylight.nexus.public-url}</url> |
| 344 | <releases> |
| 345 | <enabled>true</enabled> |
| 346 | <updatePolicy>never</updatePolicy> |
| 347 | </releases> |
| 348 | <snapshots> |
| 349 | <enabled>false</enabled> |
| 350 | </snapshots> |
| 351 | </pluginRepository> |
| 352 | <pluginRepository> |
| 353 | <id>opendaylight-snapshot</id> |
| 354 | <name>opendaylight-snapshot</name> |
| 355 | <url>${opendaylight.nexus.snapshot-url}</url> |
| 356 | <releases> |
| 357 | <enabled>false</enabled> |
| 358 | </releases> |
| 359 | <snapshots> |
| 360 | <enabled>true</enabled> |
| 361 | </snapshots> |
| 362 | </pluginRepository> |
| 363 | <!-- Black Duck plugin dependencies --> |
| 364 | <pluginRepository> |
| 365 | <id>JCenter</id> |
| 366 | <name>JCenter Repository</name> |
| 367 | <url>http://jcenter.bintray.com</url> |
| 368 | </pluginRepository> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 369 | <pluginRepository> |
| 370 | <id>Restlet</id> |
| 371 | <name>Restlet Repository</name> |
| 372 | <url>http://maven.restlet.com</url> |
| 373 | </pluginRepository> |
| 374 | </pluginRepositories> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 375 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 376 | <build> |
| 377 | <pluginManagement> |
| 378 | <plugins> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 379 | <!-- Plugins from ONAP version (parent of oparent) --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 480 | </plugin> |
| 481 | <!-- end of plugins from ONAP version (parent of oparent) --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 482 | <!-- Plugins from ONAP oparent --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 757 | </plugins> |
| 758 | </pluginManagement> |
| 759 | <plugins> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 779 | </plugin> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 785 | <artifactId>maven-checkstyle-plugin</artifactId> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 994 | </plugins> |
| 995 | </build> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 996 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 997 | <reporting> |
| 998 | <plugins> |
| 999 | <plugin> |
| 1000 | <artifactId>maven-javadoc-plugin</artifactId> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -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) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1277 | <!-- End of profiles from ONAP oparent --> |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 1278 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1279 | <profile> |
| 1280 | <id>yang-compile</id> |
| 1281 | <activation> |
| 1282 | <file> |
| 1283 | <exists>src/main/yang</exists> |
| 1284 | </file> |
| 1285 | </activation> |
| 1286 | <build> |
| 1287 | <plugins> |
| 1288 | <plugin> |
| 1289 | <groupId>org.opendaylight.yangtools</groupId> |
| 1290 | <artifactId>yang-maven-plugin</artifactId> |
Singal, Kapil (ks220y) | 7fb8832 | 2021-07-08 20:39:34 -0400 | [diff] [blame] | 1291 | <version>6.0.6</version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1292 | <dependencies> |
| 1293 | <dependency> |
| 1294 | <groupId>org.opendaylight.mdsal</groupId> |
| 1295 | <artifactId>maven-sal-api-gen-plugin</artifactId> |
| 1296 | <version>${odl.mdsal.model.version}</version> |
| 1297 | <type>jar</type> |
Michael Dürre | 2c39a4d | 2020-07-06 06:22:15 +0200 | [diff] [blame] | 1298 | <scope>compile</scope> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1299 | </dependency> |
| 1300 | <dependency> |
| 1301 | <groupId>org.opendaylight.netconf</groupId> |
| 1302 | <artifactId>sal-rest-docgen-maven</artifactId> |
| 1303 | <version>${odl.netconf.sal.rest.docgen.version}</version> |
| 1304 | <type>jar</type> |
| 1305 | </dependency> |
| 1306 | </dependencies> |
| 1307 | <executions> |
| 1308 | <execution> |
Singal, Kapil (ks220y) | 704554f | 2020-01-20 15:12:43 -0500 | [diff] [blame] | 1309 | <id>binding</id> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1310 | <goals> |
| 1311 | <goal>generate-sources</goal> |
| 1312 | </goals> |
| 1313 | <configuration> |
| 1314 | <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir> |
| 1315 | <codeGenerators> |
| 1316 | <generator> |
| 1317 | <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass> |
| 1318 | <outputBaseDir>${salGeneratorPath}</outputBaseDir> |
| 1319 | </generator> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 1320 | <!-- |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1321 | <generator> |
| 1322 | <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass> |
| 1323 | <outputBaseDir>target/swagger</outputBaseDir> |
| 1324 | </generator> |
Michael DÜrre | c6bdd9a | 2020-12-01 13:34:56 +0100 | [diff] [blame] | 1325 | --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1326 | </codeGenerators> |
| 1327 | <inspectDependencies>true</inspectDependencies> |
| 1328 | </configuration> |
| 1329 | </execution> |
| 1330 | </executions> |
| 1331 | </plugin> |
| 1332 | </plugins> |
| 1333 | </build> |
| 1334 | </profile> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1335 | </profiles> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1336 | </project> |