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>odlparent-lite</artifactId> |
| 11 | <version>4.0.10</version> |
| 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>odlparent-lite</artifactId> |
Dan Timoney | d5fccc7 | 2020-01-23 14:06:18 -0500 | [diff] [blame] | 17 | <version>1.5.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> |
| 34 | <url>https://nexus.onap.org/content/repositories/releases</url> |
| 35 | </repository> |
| 36 | <snapshotRepository> |
| 37 | <id>ecomp-snapshots</id> |
| 38 | <url>https://nexus.onap.org/content/repositories/snapshots</url> |
| 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 | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 43 | |
Dan Timoney | 621888e | 2020-01-17 09:54:02 -0500 | [diff] [blame] | 44 | <!-- Sonar properties --> |
| 45 | <sonar.scanner.version>3.7.0.1746</sonar.scanner.version> |
| 46 | <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> |
| 47 | <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> |
| 48 | <!-- Default Sonar configuration --> |
| 49 | <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> |
| 50 | <!-- Note: This list should match jacoco-maven-plugin's exclusion list below --> |
| 51 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
| 52 | |
| 53 | <!-- Jacoco properties --> |
| 54 | <jacoco.version>0.8.5</jacoco.version> |
| 55 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 56 | <!-- properties from oparent --> |
| 57 | <maven.compiler.source>1.8</maven.compiler.source> |
| 58 | <maven.compiler.target>1.8</maven.compiler.target> |
| 59 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 60 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 61 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
| 62 | <!-- sitePath may be overridden in the inheriting POM if desired --> |
| 63 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
Singal, Kapil (ks220y) | e14c10b | 2020-01-07 11:54:24 -0500 | [diff] [blame] | 64 | |
Dan Timoney | 621888e | 2020-01-17 09:54:02 -0500 | [diff] [blame] | 65 | |
| 66 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 67 | <!-- If following file exist, auto-generation of swagger.json will be done --> |
| 68 | <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties> |
| 69 | <!-- If following file exist, auto-generation of sdk will be done --> |
| 70 | <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json> |
| 71 | <!-- end of properties from oparent --> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 72 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 73 | <!-- ONAP repositories --> |
| 74 | <onap.nexus.host>nexus.onap.org</onap.nexus.host> |
| 75 | <onap.nexus.port>443</onap.nexus.port> |
| 76 | <onap.nexus.protocol>https</onap.nexus.protocol> |
| 77 | <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url> |
| 78 | <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url> |
| 79 | <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url> |
| 80 | <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url> |
| 81 | <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id> |
| 82 | <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 83 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 84 | <!-- OpenDaylight repositories --> |
| 85 | <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url> |
| 86 | <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] | 87 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 88 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 89 | <java.version.source>1.8</java.version.source> |
| 90 | <java.version.target>1.8</java.version.target> |
| 91 | <bundle.plugin.version>2.5.0</bundle.plugin.version> |
| 92 | <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version> |
| 93 | <features.file>features.xml</features.file> |
| 94 | <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath> |
| 95 | <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> |
| 96 | <checkstyle.skip>true</checkstyle.skip> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 97 | |
Dan Timoney | 621888e | 2020-01-17 09:54:02 -0500 | [diff] [blame] | 98 | |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 99 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 100 | <!-- CCSDK component versions --> |
Dan Timoney | d93c130 | 2020-01-30 13:29:02 -0500 | [diff] [blame^] | 101 | <ccsdk.cds.version>0.7.1-SNAPSHOT</ccsdk.cds.version> |
| 102 | <ccsdk.sli.core.version>0.7.1-SNAPSHOT</ccsdk.sli.core.version> |
| 103 | <ccsdk.sli.adaptors.version>0.7.1-SNAPSHOT</ccsdk.sli.adaptors.version> |
| 104 | <ccsdk.sli.northbound.version>0.7.1-SNAPSHOT</ccsdk.sli.northbound.version> |
| 105 | <ccsdk.sli.plugins.version>0.7.1-SNAPSHOT</ccsdk.sli.plugins.version> |
| 106 | <ccsdk.distribution.version>0.7.1-SNAPSHOT</ccsdk.distribution.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 107 | <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version> |
| 108 | <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version> |
| 109 | <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version> |
| 110 | <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version> |
| 111 | <sdnctl.slipluginutils.version>${ccsdk.sli.core.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 --> |
| 114 | <odl.controller.mdsal.version>1.9.1</odl.controller.mdsal.version> |
| 115 | <odl.mdsal.version>3.0.8</odl.mdsal.version> |
| 116 | <odl.mdsal.model.version>1.0.8</odl.mdsal.model.version> |
| 117 | <odl.netconf.restconf.version>1.9.1</odl.netconf.restconf.version> |
| 118 | <odl.netconf.netconf.version>1.6.1</odl.netconf.netconf.version> |
| 119 | <odl.netconf.sal.rest.docgen.version>1.9.1</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 --> |
| 122 | <commons.codec.version>1.12</commons.codec.version> |
| 123 | <!-- Used by netconf, ovsdb --> |
| 124 | <commons.lang3.version>3.8.1</commons.lang3.version> |
| 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 --> |
| 128 | <commons.net.version>3.6</commons.net.version> |
| 129 | <!-- Used by neutron --> |
| 130 | <eclipse.persistence.version>2.7.3</eclipse.persistence.version> |
| 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 --> |
| 136 | <guava.version>25.1-jre</guava.version> |
| 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 --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 139 | <jackson.version>2.9.8</jackson.version> |
| 140 | <!-- Used by snmp4sdn, yangtools --> |
| 141 | <javassist.version>3.24.1-GA</javassist.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 142 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 143 | <!-- FIXME remove all dependencies for jersey 1.17 after migration all |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 144 | projects --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 145 | <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all, |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 146 | snmp4sdn, toolkit --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 147 | <jersey.version>2.25.1</jersey.version> |
| 148 | <!-- Used by sfc --> |
| 149 | <jersey.client.version>2.25.1</jersey.client.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 150 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 151 | <!-- New packages for jersey migration 1.17 to 2.8 --> |
| 152 | <!-- appache.geronimo.bundle for DocGen --> |
| 153 | <!-- Used by aaa, iotdm, netconf, ovsdb, sfc --> |
| 154 | <org.json.version>20131018</org.json.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 155 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 156 | <!-- Used everywhere --> |
| 157 | <junit.version>4.12</junit.version> |
| 158 | <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit --> |
| 159 | <logback.version>1.2.3</logback.version> |
| 160 | <!-- Used by nic, sfc, sxp, tsdr --> |
| 161 | <mockito.version>1.10.19</mockito.version> |
| 162 | <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit --> |
| 163 | <netty.version>4.1.34.Final</netty.version> |
| 164 | <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity, |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 165 | toolkit --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 166 | <slf4j.version>1.7.25</slf4j.version> |
| 167 | <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit, |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 168 | tsdr, ttp --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 169 | <spring.version>4.3.24.RELEASE</spring.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 170 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 171 | <!-- Extra support libraries used by SDN-C --> |
| 172 | <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version> |
| 173 | <antlr.version>4.7.2</antlr.version> |
Timoney, Dan (dt5972) | ebc00be | 2018-03-21 09:00:19 -0400 | [diff] [blame] | 174 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 175 | <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version> |
Timoney, Dan (dt5972) | 2f4cbed | 2018-05-04 12:05:16 -0400 | [diff] [blame] | 176 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 177 | <!-- Managed dependency versions --> |
Timoney, Dan (dt5972) | 48f5577 | 2019-12-17 10:44:04 -0500 | [diff] [blame] | 178 | <apache.httpcomponents.core.version>4.4.12</apache.httpcomponents.core.version> |
| 179 | <apache.httpcomponents.client.version>4.5.10</apache.httpcomponents.client.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 180 | <derby.version>10.14.2.0</derby.version> |
| 181 | <eelf.version>1.0.0</eelf.version> |
Timoney, Dan (dt5972) | 48f5577 | 2019-12-17 10:44:04 -0500 | [diff] [blame] | 182 | <grpc.version>1.21.1</grpc.version> |
| 183 | <mariadb.connector.version>2.4.4</mariadb.connector.version> |
| 184 | <mariadb4j.version>2.4.0</mariadb4j.version> |
| 185 | <testng.version>6.14.3</testng.version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 186 | <tomcat-jdbc.version>9.0.27</tomcat-jdbc.version> |
| 187 | <jetty.version>9.4.12.v20180830</jetty.version> |
| 188 | <skip.karaf.featureTest>true</skip.karaf.featureTest> |
Timoney, Dan (dt5972) | 94fcbc2 | 2019-12-10 09:18:51 -0500 | [diff] [blame] | 189 | |
| 190 | <dependency-list.file>direct-dependencies.txt</dependency-list.file> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 191 | </properties> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 192 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 193 | <dependencyManagement> |
| 194 | <dependencies> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 195 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 196 | <!-- Note: If value in BOM conflicts with value inherited from |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 197 | parent pom, inherited value takes precedence. This seems more like |
| 198 | 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] | 199 | <dependency> |
| 200 | <groupId>org.onap.ccsdk.parent</groupId> |
| 201 | <artifactId>dependencies-odl-bom</artifactId> |
Dan Timoney | d5fccc7 | 2020-01-23 14:06:18 -0500 | [diff] [blame] | 202 | <version>1.5.2-SNAPSHOT</version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 203 | <type>pom</type> |
| 204 | <scope>import</scope> |
| 205 | </dependency> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 206 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 207 | <!-- Override incorrect versions in ODL parent poms --> |
| 208 | <!-- to match versions actually installed in ODL Neon --> |
| 209 | <dependency> |
| 210 | <groupId>com.google.protobuf</groupId> |
| 211 | <artifactId>protobuf-java</artifactId> |
| 212 | <version>3.6.1</version> |
| 213 | </dependency> |
| 214 | <dependency> |
| 215 | <groupId>io.netty</groupId> |
| 216 | <artifactId>netty-transport</artifactId> |
| 217 | <version>4.1.34.Final</version> |
| 218 | </dependency> |
| 219 | <dependency> |
| 220 | <groupId>io.netty</groupId> |
| 221 | <artifactId>netty-all</artifactId> |
| 222 | <version>4.1.34.Final</version> |
| 223 | <!-- <version>${netty.version}</version> --> |
| 224 | </dependency> |
| 225 | <dependency> |
| 226 | <groupId>junit</groupId> |
| 227 | <artifactId>junit</artifactId> |
| 228 | <version>4.12</version> |
| 229 | <scope>test</scope> |
| 230 | </dependency> |
| 231 | <dependency> |
| 232 | <groupId>org.eclipse.jetty</groupId> |
| 233 | <artifactId>jetty-server</artifactId> |
| 234 | <version>9.4.12.v20180830</version> |
| 235 | </dependency> |
| 236 | <dependency> |
| 237 | <groupId>org.eclipse.jetty</groupId> |
| 238 | <artifactId>jetty-servlets</artifactId> |
| 239 | <version>9.4.12.v20180830</version> |
| 240 | </dependency> |
| 241 | <dependency> |
| 242 | <groupId>org.glassfish.jersey.bundles.repackaged</groupId> |
| 243 | <artifactId>jersey-guava</artifactId> |
| 244 | <version>2.25.1</version> |
| 245 | </dependency> |
| 246 | <dependency> |
| 247 | <groupId>org.codehaus.jettison</groupId> |
| 248 | <artifactId>jettison</artifactId> |
| 249 | <version>1.3.8</version> |
| 250 | </dependency> |
| 251 | <dependency> |
| 252 | <groupId>org.onap.logging-analytics</groupId> |
| 253 | <artifactId>logging-slf4j</artifactId> |
| 254 | <version>1.6.1</version> |
| 255 | </dependency> |
| 256 | <dependency> |
| 257 | <groupId>org.onap.logging-analytics</groupId> |
| 258 | <artifactId>logging-filter-base</artifactId> |
| 259 | <version>1.6.1</version> |
| 260 | </dependency> |
| 261 | </dependencies> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 262 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 263 | </dependencyManagement> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 264 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 265 | <repositories> |
| 266 | <repository> |
| 267 | <id>onap-public</id> |
| 268 | <url>https://nexus.onap.org/content/groups/public</url> |
| 269 | <releases> |
| 270 | <enabled>true</enabled> |
| 271 | <updatePolicy>never</updatePolicy> |
| 272 | </releases> |
| 273 | <snapshots> |
| 274 | <enabled>true</enabled> |
| 275 | <updatePolicy>always</updatePolicy> |
| 276 | </snapshots> |
| 277 | </repository> |
| 278 | <repository> |
| 279 | <id>onap-staging</id> |
| 280 | <url>https://nexus.onap.org/content/groups/staging</url> |
| 281 | <releases> |
| 282 | <enabled>true</enabled> |
| 283 | <updatePolicy>never</updatePolicy> |
| 284 | </releases> |
| 285 | <snapshots> |
| 286 | <enabled>true</enabled> |
| 287 | <updatePolicy>always</updatePolicy> |
| 288 | </snapshots> |
| 289 | </repository> |
| 290 | <repository> |
| 291 | <id>ecomp-release</id> |
| 292 | <name>onap-repository-releases</name> |
| 293 | <url>https://nexus.onap.org/content/repositories/releases</url> |
| 294 | <releases> |
| 295 | <enabled>true</enabled> |
| 296 | <updatePolicy>never</updatePolicy> |
| 297 | </releases> |
| 298 | <snapshots> |
| 299 | <enabled>false</enabled> |
| 300 | </snapshots> |
| 301 | </repository> |
| 302 | <repository> |
| 303 | <id>ecomp-snapshot</id> |
| 304 | <name>onap-repository-snapshots</name> |
| 305 | <url>https://nexus.onap.org/content/repositories/snapshots</url> |
| 306 | <releases> |
| 307 | <enabled>false</enabled> |
| 308 | </releases> |
| 309 | <snapshots> |
| 310 | <enabled>true</enabled> |
| 311 | </snapshots> |
| 312 | </repository> |
| 313 | <repository> |
| 314 | <id>opendaylight-mirror</id> |
| 315 | <name>opendaylight-mirror</name> |
| 316 | <url>https://nexus.opendaylight.org/content/repositories/public/</url> |
| 317 | <releases> |
| 318 | <enabled>true</enabled> |
| 319 | <updatePolicy>never</updatePolicy> |
| 320 | </releases> |
| 321 | <snapshots> |
| 322 | <enabled>false</enabled> |
| 323 | </snapshots> |
| 324 | </repository> |
| 325 | <repository> |
| 326 | <id>opendaylight-snapshot</id> |
| 327 | <name>opendaylight-snapshot</name> |
| 328 | <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url> |
| 329 | <releases> |
| 330 | <enabled>false</enabled> |
| 331 | </releases> |
| 332 | <snapshots> |
| 333 | <enabled>true</enabled> |
| 334 | </snapshots> |
| 335 | </repository> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 336 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 337 | </repositories> |
| 338 | <pluginRepositories> |
| 339 | <pluginRepository> |
| 340 | <id>onap-public</id> |
| 341 | <url>${onap.nexus.public-url}</url> |
| 342 | <releases> |
| 343 | <enabled>true</enabled> |
| 344 | </releases> |
| 345 | <snapshots> |
| 346 | <enabled>true</enabled> |
| 347 | </snapshots> |
| 348 | </pluginRepository> |
| 349 | <pluginRepository> |
| 350 | <id>onap-staging</id> |
| 351 | <url>${onap.nexus.staging-url}</url> |
| 352 | <releases> |
| 353 | <enabled>true</enabled> |
| 354 | </releases> |
| 355 | <snapshots> |
| 356 | <enabled>true</enabled> |
| 357 | </snapshots> |
| 358 | </pluginRepository> |
| 359 | <pluginRepository> |
| 360 | <id>onap-snapshot</id> |
| 361 | <url>${onap.nexus.snapshot-url}</url> |
| 362 | <releases> |
| 363 | <enabled>false</enabled> |
| 364 | </releases> |
| 365 | <snapshots> |
| 366 | <enabled>true</enabled> |
| 367 | </snapshots> |
| 368 | </pluginRepository> |
| 369 | <pluginRepository> |
| 370 | <id>opendaylight-mirror</id> |
| 371 | <name>opendaylight-mirror</name> |
| 372 | <url>${opendaylight.nexus.public-url}</url> |
| 373 | <releases> |
| 374 | <enabled>true</enabled> |
| 375 | <updatePolicy>never</updatePolicy> |
| 376 | </releases> |
| 377 | <snapshots> |
| 378 | <enabled>false</enabled> |
| 379 | </snapshots> |
| 380 | </pluginRepository> |
| 381 | <pluginRepository> |
| 382 | <id>opendaylight-snapshot</id> |
| 383 | <name>opendaylight-snapshot</name> |
| 384 | <url>${opendaylight.nexus.snapshot-url}</url> |
| 385 | <releases> |
| 386 | <enabled>false</enabled> |
| 387 | </releases> |
| 388 | <snapshots> |
| 389 | <enabled>true</enabled> |
| 390 | </snapshots> |
| 391 | </pluginRepository> |
| 392 | <!-- Black Duck plugin dependencies --> |
| 393 | <pluginRepository> |
| 394 | <id>JCenter</id> |
| 395 | <name>JCenter Repository</name> |
| 396 | <url>http://jcenter.bintray.com</url> |
| 397 | </pluginRepository> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 398 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 399 | <pluginRepository> |
| 400 | <id>Restlet</id> |
| 401 | <name>Restlet Repository</name> |
| 402 | <url>http://maven.restlet.com</url> |
| 403 | </pluginRepository> |
| 404 | </pluginRepositories> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 405 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 406 | <build> |
| 407 | <pluginManagement> |
| 408 | <plugins> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 409 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 410 | <!-- Plugins from ONAP version (parent of oparent) --> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 411 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 412 | <plugin> |
| 413 | <groupId>org.apache.maven.plugins</groupId> |
| 414 | <artifactId>maven-deploy-plugin</artifactId> |
| 415 | <!-- This version supports the "deployAtEnd" parameter --> |
| 416 | <version>2.8</version> |
| 417 | <configuration> |
| 418 | <skip/> |
| 419 | </configuration> |
| 420 | </plugin> |
| 421 | <plugin> |
| 422 | <groupId>org.apache.maven.plugins</groupId> |
| 423 | <artifactId>maven-site-plugin</artifactId> |
| 424 | <version>3.6</version> |
| 425 | <dependencies> |
| 426 | <dependency> |
| 427 | <groupId>org.apache.maven.wagon</groupId> |
| 428 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 429 | <version>2.10</version> |
| 430 | </dependency> |
| 431 | </dependencies> |
| 432 | </plugin> |
| 433 | <plugin> |
| 434 | <groupId>org.apache.maven.plugins</groupId> |
| 435 | <artifactId>maven-enforcer-plugin</artifactId> |
| 436 | <version>3.0.0-M2</version> |
| 437 | <executions> |
| 438 | <execution> |
| 439 | <id>enforce-property</id> |
| 440 | <goals> |
| 441 | <goal>enforce</goal> |
| 442 | </goals> |
| 443 | <configuration> |
| 444 | <rules> |
| 445 | <requireProperty> |
| 446 | <property>onap.nexus.url</property> |
| 447 | <message>You must set a onap.nexus.url property in your |
| 448 | ~/.m2/settings.xml. See oparent/settings.xml for an example. |
| 449 | </message> |
| 450 | </requireProperty> |
| 451 | </rules> |
| 452 | <fail>true</fail> |
| 453 | </configuration> |
| 454 | </execution> |
| 455 | <execution> |
| 456 | <id>enforce-no-snapshots</id> |
| 457 | <goals> |
| 458 | <goal>enforce</goal> |
| 459 | </goals> |
| 460 | <configuration> |
| 461 | <rules> |
| 462 | <requireReleaseDeps> |
| 463 | <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot> |
| 464 | <onlyWhenRelease>true</onlyWhenRelease> |
| 465 | <level>WARN</level> |
| 466 | </requireReleaseDeps> |
| 467 | </rules> |
| 468 | </configuration> |
| 469 | </execution> |
| 470 | </executions> |
| 471 | </plugin> |
| 472 | <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin --> |
| 473 | <plugin> |
| 474 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 475 | <artifactId>sonar-maven-plugin</artifactId> |
Dan Timoney | 621888e | 2020-01-17 09:54:02 -0500 | [diff] [blame] | 476 | <version>${sonar.scanner.version}</version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 477 | </plugin> |
| 478 | <!-- end of plugins from ONAP version (parent of oparent) --> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 479 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 480 | <!-- Plugins from ONAP oparent --> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 481 | |
Dan Timoney | 621888e | 2020-01-17 09:54:02 -0500 | [diff] [blame] | 482 | |
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> |
| 486 | <version>2.22.0</version> |
| 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> |
| 499 | <version>2.22.0</version> |
| 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> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 571 | </plugins> |
| 572 | </pluginManagement> |
| 573 | <plugins> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 574 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 575 | <!-- Plugins from oparent version (parent of oparent) --> |
| 576 | <plugin> |
| 577 | <groupId>org.apache.maven.plugins</groupId> |
| 578 | <artifactId>maven-deploy-plugin</artifactId> |
| 579 | </plugin> |
| 580 | <plugin> |
| 581 | <groupId>org.apache.maven.plugins</groupId> |
| 582 | <artifactId>maven-site-plugin</artifactId> |
| 583 | </plugin> |
| 584 | <plugin> |
| 585 | <groupId>org.apache.maven.plugins</groupId> |
| 586 | <artifactId>maven-enforcer-plugin</artifactId> |
| 587 | </plugin> |
| 588 | <!-- end of plugins from oparent version (parent of oparent) --> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 589 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 590 | <!-- Plugins from oparent --> |
| 591 | <plugin> |
| 592 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 593 | <version>2.17</version> |
| 594 | <dependencies> |
| 595 | <dependency> |
| 596 | <groupId>org.onap.oparent</groupId> |
| 597 | <artifactId>checkstyle</artifactId> |
| 598 | <version>1.2.2</version> |
| 599 | </dependency> |
| 600 | </dependencies> |
| 601 | <executions> |
| 602 | <execution> |
| 603 | <id>onap-license</id> |
| 604 | <goals> |
| 605 | <goal>check</goal> |
| 606 | </goals> |
| 607 | <phase>process-sources</phase> |
| 608 | <configuration> |
| 609 | <configLocation>onap-checkstyle/check-license.xml</configLocation> |
| 610 | <includeResources>false</includeResources> |
| 611 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 612 | <includeTestResources>false</includeTestResources> |
| 613 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 614 | <excludes> |
| 615 | </excludes> |
| 616 | <consoleOutput>true</consoleOutput> |
| 617 | <failOnViolation>false</failOnViolation> |
| 618 | </configuration> |
| 619 | </execution> |
| 620 | <execution> |
| 621 | <id>onap-java-style</id> |
| 622 | <goals> |
| 623 | <goal>check</goal> |
| 624 | </goals> |
| 625 | <phase>process-sources</phase> |
| 626 | <configuration> |
| 627 | <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 628 | with minor changes --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 629 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 630 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 631 | sources directory --> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 632 | <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory> |
| 633 | <includeResources>true</includeResources> |
| 634 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 635 | <includeTestResources>true</includeTestResources> |
| 636 | <excludes> |
| 637 | </excludes> |
| 638 | <consoleOutput>true</consoleOutput> |
| 639 | <failOnViolation>false</failOnViolation> |
| 640 | </configuration> |
| 641 | </execution> |
| 642 | </executions> |
| 643 | </plugin> |
| 644 | <plugin> |
| 645 | <groupId>org.codehaus.mojo</groupId> |
| 646 | <artifactId>build-helper-maven-plugin</artifactId> |
| 647 | <version>1.12</version> |
| 648 | </plugin> |
| 649 | <!-- Jacoco / Sonar --> |
| 650 | <plugin> |
| 651 | <groupId>org.jacoco</groupId> |
| 652 | <artifactId>jacoco-maven-plugin</artifactId> |
Dan Timoney | 621888e | 2020-01-17 09:54:02 -0500 | [diff] [blame] | 653 | <version>${jacoco.version}</version> |
| 654 | <executions> |
| 655 | <execution> |
| 656 | <id>pre-unit-test</id> |
| 657 | <goals> |
| 658 | <goal>prepare-agent</goal> |
| 659 | </goals> |
| 660 | <configuration> |
| 661 | <!-- Sets the path to the file which contains the execution data. --> |
| 662 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
| 663 | <!-- Sets the name of the property containing the settings for JaCoCo |
| 664 | runtime agent. --> |
| 665 | <propertyName>surefireArgLine</propertyName> |
| 666 | </configuration> |
| 667 | </execution> |
| 668 | <!-- Ensures that the code coverage report for unit tests is created |
| 669 | after unit tests have been run. --> |
| 670 | <execution> |
| 671 | <id>post-unit-test</id> |
| 672 | <phase>test</phase> |
| 673 | <goals> |
| 674 | <goal>report</goal> |
| 675 | </goals> |
| 676 | <configuration> |
| 677 | <!-- Sets the path to the file which contains the execution data. --> |
| 678 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 679 | <!-- Sets the output directory for the code coverage report. --> |
| 680 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 681 | </configuration> |
| 682 | </execution> |
| 683 | <execution> |
| 684 | <id>pre-integration-test</id> |
| 685 | <phase>pre-integration-test</phase> |
| 686 | <goals> |
| 687 | <goal>prepare-agent</goal> |
| 688 | </goals> |
| 689 | <configuration> |
| 690 | <!-- Sets the path to the file which contains the execution data. --> |
| 691 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
| 692 | <!-- Sets the name of the property containing the settings for JaCoCo |
| 693 | runtime agent. --> |
| 694 | <propertyName>failsafeArgLine</propertyName> |
| 695 | </configuration> |
| 696 | </execution> |
| 697 | <!-- Ensures that the code coverage report for integration tests after |
| 698 | integration tests have been run. --> |
| 699 | <execution> |
| 700 | <id>post-integration-test</id> |
| 701 | <phase>post-integration-test</phase> |
| 702 | <goals> |
| 703 | <goal>report</goal> |
| 704 | </goals> |
| 705 | <configuration> |
| 706 | <!-- Sets the path to the file which contains the execution data. --> |
| 707 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 708 | <!-- Sets the output directory for the code coverage report. --> |
| 709 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 710 | </configuration> |
| 711 | </execution> |
| 712 | <execution> |
| 713 | <id>default-prepare-agent</id> |
| 714 | <goals> |
| 715 | <goal>prepare-agent</goal> |
| 716 | </goals> |
| 717 | </execution> |
| 718 | <execution> |
| 719 | <id>default-report</id> |
| 720 | <phase>prepare-package</phase> |
| 721 | <goals> |
| 722 | <goal>report</goal> |
| 723 | </goals> |
| 724 | </execution> |
| 725 | <execution> |
| 726 | <id>default-check</id> |
| 727 | <goals> |
| 728 | <goal>check</goal> |
| 729 | </goals> |
| 730 | <configuration> |
| 731 | <rules> |
| 732 | <rule> |
| 733 | <element>PACKAGE</element> |
| 734 | <limits> |
| 735 | <limit> |
| 736 | <counter>COMPLEXITY</counter> |
| 737 | <value>COVEREDRATIO</value> |
| 738 | <minimum>0.0</minimum> |
| 739 | </limit> |
| 740 | </limits> |
| 741 | </rule> |
| 742 | </rules> |
| 743 | </configuration> |
| 744 | </execution> |
| 745 | </executions> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 746 | </plugin> |
| 747 | <plugin> |
| 748 | <groupId>org.apache.maven.plugins</groupId> |
| 749 | <artifactId>maven-surefire-plugin</artifactId> |
| 750 | </plugin> |
| 751 | <plugin> |
| 752 | <groupId>org.apache.maven.plugins</groupId> |
| 753 | <artifactId>maven-failsafe-plugin</artifactId> |
| 754 | </plugin> |
| 755 | <!-- end of plugins from oparent --> |
| 756 | <plugin> |
| 757 | <groupId>org.apache.maven.plugins</groupId> |
| 758 | <artifactId>maven-javadoc-plugin</artifactId> |
| 759 | <version>2.10.4</version> |
| 760 | <executions> |
| 761 | <execution> |
| 762 | <id>attach-javadocs</id> |
| 763 | <goals> |
| 764 | <goal>jar</goal> |
| 765 | </goals> |
| 766 | <configuration> |
| 767 | <additionalparam>-Xdoclint:none</additionalparam> |
| 768 | </configuration> |
| 769 | </execution> |
| 770 | </executions> |
| 771 | </plugin> |
| 772 | </plugins> |
| 773 | </build> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 774 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 775 | <reporting> |
| 776 | <plugins> |
| 777 | <plugin> |
| 778 | <artifactId>maven-javadoc-plugin</artifactId> |
| 779 | <version>2.10.4</version> |
| 780 | <configuration> |
| 781 | <failOnError>false</failOnError> |
| 782 | <additionalparam>-Xdoclint:none</additionalparam> |
| 783 | </configuration> |
| 784 | </plugin> |
Dan Timoney | 621888e | 2020-01-17 09:54:02 -0500 | [diff] [blame] | 785 | <plugin> |
| 786 | <groupId>org.jacoco</groupId> |
| 787 | <artifactId>jacoco-maven-plugin</artifactId> |
| 788 | <version>${jacoco.version}</version> |
| 789 | <reportSets> |
| 790 | <reportSet> |
| 791 | <reports> |
| 792 | <!-- select non-aggregate reports --> |
| 793 | <report>report</report> |
| 794 | </reports> |
| 795 | </reportSet> |
| 796 | </reportSets> |
| 797 | </plugin> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 798 | </plugins> |
| 799 | </reporting> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 800 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 801 | <profiles> |
| 802 | <!-- Profiles from ONAP oparent --> |
| 803 | <profile> |
| 804 | <id>generate-json</id> |
| 805 | <activation> |
| 806 | <file> |
| 807 | <exists>${swagger-properties}</exists> |
| 808 | </file> |
| 809 | <property> |
| 810 | <name>swagger-sdk.generate-json</name> |
| 811 | </property> |
| 812 | </activation> |
| 813 | <build> |
| 814 | <plugins> |
| 815 | <plugin> |
| 816 | <groupId>org.codehaus.mojo</groupId> |
| 817 | <artifactId>properties-maven-plugin</artifactId> |
| 818 | <version>1.0.0</version> |
| 819 | <executions> |
| 820 | <execution> |
| 821 | <phase>initialize</phase> |
| 822 | <goals> |
| 823 | <goal>read-project-properties</goal> |
| 824 | </goals> |
| 825 | <configuration> |
| 826 | <files> |
| 827 | <file>${basedir}/src/main/resources/swagger.properties</file> |
| 828 | </files> |
| 829 | </configuration> |
| 830 | </execution> |
| 831 | </executions> |
| 832 | </plugin> |
| 833 | <plugin> |
| 834 | <groupId>com.github.kongchen</groupId> |
| 835 | <artifactId>swagger-maven-plugin</artifactId> |
| 836 | <version>3.1.4</version> |
| 837 | <configuration> |
| 838 | <apiSources> |
| 839 | <apiSource> |
| 840 | <locations>${api-rest-package}</locations> |
| 841 | <schemes>http,https</schemes> |
| 842 | <host>${api-host-ip}:${api-host-port}</host> |
| 843 | <basePath>${api-base-path}</basePath> |
| 844 | <info> |
| 845 | <title>${api-title}</title> |
| 846 | <version>${api-version}</version> |
| 847 | <description>${api-description}</description> |
| 848 | <license> |
| 849 | <name>${api-license}</name> |
| 850 | </license> |
| 851 | </info> |
| 852 | <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory> |
| 853 | </apiSource> |
| 854 | </apiSources> |
| 855 | </configuration> |
| 856 | <executions> |
| 857 | <execution> |
| 858 | <phase>compile</phase> |
| 859 | <goals> |
| 860 | <goal>generate</goal> |
| 861 | </goals> |
| 862 | </execution> |
| 863 | </executions> |
| 864 | </plugin> |
| 865 | <plugin> |
| 866 | <groupId>org.apache.maven.plugins</groupId> |
| 867 | <artifactId>maven-install-plugin</artifactId> |
| 868 | <version>2.3.1</version> |
| 869 | <executions> |
| 870 | <execution> |
| 871 | <id>install-file-id</id> |
| 872 | <phase>install</phase> |
| 873 | <goals> |
| 874 | <goal>install-file</goal> |
| 875 | </goals> |
| 876 | <configuration> |
| 877 | <file>${basedir}/src/main/resources/swagger.json</file> |
| 878 | <groupId>${project.groupId}</groupId> |
| 879 | <artifactId>${project.artifactId}-swagger-schema</artifactId> |
| 880 | <version>${project.version}</version> |
| 881 | <packaging>json</packaging> |
| 882 | </configuration> |
| 883 | </execution> |
| 884 | </executions> |
| 885 | </plugin> |
| 886 | </plugins> |
| 887 | </build> |
| 888 | </profile> |
| 889 | <profile> |
| 890 | <id>generate-sdk</id> |
| 891 | <activation> |
| 892 | <file> |
| 893 | <exists>${swagger-json}</exists> |
| 894 | </file> |
| 895 | <property> |
| 896 | <name>swagger-sdk.generate-java-sdk</name> |
| 897 | </property> |
| 898 | </activation> |
| 899 | <build> |
| 900 | <plugins> |
| 901 | <plugin> |
| 902 | <groupId>org.apache.maven.plugins</groupId> |
| 903 | <artifactId>maven-antrun-plugin</artifactId> |
| 904 | <version>1.8</version> |
| 905 | <executions> |
| 906 | <execution> |
| 907 | <phase>initialize</phase> |
| 908 | <id>ant-create-script</id> |
| 909 | <configuration> |
| 910 | <exportAntProperties>true</exportAntProperties> |
| 911 | <tasks> |
| 912 | <taskdef resource="net/sf/antcontrib/antlib.xml" |
| 913 | classpathref="maven.plugin.classpath"/> |
| 914 | <condition property="is_windows" value="true"> |
| 915 | <os family="windows"/> |
| 916 | </condition> |
| 917 | <condition property="isLinux" value="true"> |
| 918 | <os family="unix"/> |
| 919 | </condition> |
| 920 | <if> |
| 921 | <equals arg1="${is_windows}" arg2="true"/> |
| 922 | <then> |
| 923 | <property name="swagger.sdk.script.file" |
| 924 | value="generated-source-script.bat"/> |
| 925 | <echo |
| 926 | file="${project.build.directory}${file.separator}generated-source-script.bat" |
| 927 | append="true" |
| 928 | message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/> |
| 929 | <echo |
| 930 | file="${project.build.directory}${file.separator}generated-source-script.bat" |
| 931 | append="true" |
| 932 | message="mvn clean install -Dmaven.test.skip=true${line.separator}"/> |
| 933 | </then> |
| 934 | <else> |
| 935 | <property name="swagger.sdk.script.file" |
| 936 | value="generated-source-script.sh"/> |
| 937 | <echo |
| 938 | file="${project.build.directory}${file.separator}generated-source-script.sh" |
| 939 | append="true" |
| 940 | message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/> |
| 941 | <echo |
| 942 | file="${project.build.directory}${file.separator}generated-source-script.sh" |
| 943 | append="true" |
| 944 | message="mvn clean install -Dmaven.test.skip=true${line.separator}"/> |
| 945 | <chmod |
| 946 | file="${project.build.directory}${file.separator}generated-source-script.sh" |
| 947 | perm="755"/> |
| 948 | </else> |
| 949 | </if> |
| 950 | </tasks> |
| 951 | </configuration> |
| 952 | <goals> |
| 953 | <goal>run</goal> |
| 954 | </goals> |
| 955 | </execution> |
| 956 | </executions> |
| 957 | <dependencies> |
| 958 | <dependency> |
| 959 | <groupId>ant-contrib</groupId> |
| 960 | <artifactId>ant-contrib</artifactId> |
| 961 | <version>1.0b3</version> |
| 962 | <exclusions> |
| 963 | <exclusion> |
| 964 | <groupId>ant</groupId> |
| 965 | <artifactId>ant</artifactId> |
| 966 | </exclusion> |
| 967 | </exclusions> |
| 968 | </dependency> |
| 969 | </dependencies> |
| 970 | </plugin> |
| 971 | <plugin> |
| 972 | <groupId>io.swagger</groupId> |
| 973 | <artifactId>swagger-codegen-maven-plugin</artifactId> |
| 974 | <version>2.2.1</version> |
| 975 | <executions> |
| 976 | <execution> |
| 977 | <goals> |
| 978 | <goal>generate</goal> |
| 979 | </goals> |
| 980 | <configuration> |
| 981 | <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec> |
| 982 | <output>${project.build.directory}/generated-sources</output> |
| 983 | <language>java</language> |
| 984 | <configOptions> |
| 985 | <dateLibrary>joda</dateLibrary> |
| 986 | </configOptions> |
| 987 | <library>jersey2</library> |
| 988 | <groupId>${project.groupId}</groupId> |
| 989 | <artifactId>${project.artifactId}-java-sdk</artifactId> |
| 990 | <artifactVersion>${project.version}</artifactVersion> |
| 991 | <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage> |
| 992 | <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage> |
| 993 | <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage> |
| 994 | </configuration> |
| 995 | </execution> |
| 996 | </executions> |
| 997 | </plugin> |
| 998 | <plugin> |
| 999 | <groupId>org.codehaus.mojo</groupId> |
| 1000 | <artifactId>exec-maven-plugin</artifactId> |
| 1001 | <version>1.5.0</version> |
| 1002 | <executions> |
| 1003 | <execution> |
| 1004 | <id>swagger-generate-sources</id> |
| 1005 | <phase>generate-sources</phase> |
| 1006 | <goals> |
| 1007 | <goal>exec</goal> |
| 1008 | </goals> |
| 1009 | <configuration> |
| 1010 | <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable> |
| 1011 | </configuration> |
| 1012 | </execution> |
| 1013 | </executions> |
| 1014 | </plugin> |
| 1015 | <plugin> |
| 1016 | <groupId>org.apache.maven.plugins</groupId> |
| 1017 | <artifactId>maven-clean-plugin</artifactId> |
| 1018 | <version>3.0.0</version> |
| 1019 | <executions> |
| 1020 | <execution> |
| 1021 | <id>clean-generated-files</id> |
| 1022 | <phase>generate-sources</phase> |
| 1023 | <goals> |
| 1024 | <goal>clean</goal> |
| 1025 | </goals> |
| 1026 | <configuration> |
| 1027 | <filesets> |
| 1028 | <fileset> |
| 1029 | <directory>${project.build.directory}/generated-sources</directory> |
| 1030 | </fileset> |
| 1031 | </filesets> |
| 1032 | </configuration> |
| 1033 | </execution> |
| 1034 | </executions> |
| 1035 | </plugin> |
| 1036 | </plugins> |
| 1037 | </build> |
| 1038 | <dependencies> |
| 1039 | <dependency> |
| 1040 | <groupId>org.onap.msb.swagger-sdk</groupId> |
| 1041 | <artifactId>swagger-sdk</artifactId> |
| 1042 | <version>1.0.0</version> |
| 1043 | </dependency> |
| 1044 | </dependencies> |
| 1045 | </profile> |
Timoney, Dan (dt5972) | 008b52b | 2019-12-06 09:10:09 -0500 | [diff] [blame] | 1046 | <profile> |
| 1047 | <id>sonar-jacoco-aggregate</id> |
| 1048 | <activation> |
| 1049 | <property> |
| 1050 | <name>onap.jacoco.aggregateFile</name> |
| 1051 | </property> |
| 1052 | </activation> |
| 1053 | <build> |
| 1054 | <plugins> |
| 1055 | <plugin> |
| 1056 | <groupId>org.jacoco</groupId> |
| 1057 | <artifactId>jacoco-maven-plugin</artifactId> |
| 1058 | <executions> |
| 1059 | <execution> |
| 1060 | <id>merge</id> |
| 1061 | <goals> |
| 1062 | <goal>merge</goal> |
| 1063 | </goals> |
| 1064 | <phase>generate-resources</phase> |
| 1065 | <configuration> |
| 1066 | <destFile>${onap.jacoco.aggregateFile}</destFile> |
| 1067 | <fileSets> |
| 1068 | <fileSet> |
| 1069 | <directory>${project.basedir}</directory> |
| 1070 | <includes> |
| 1071 | <include>**/target/code-coverage/*.exec</include> |
| 1072 | </includes> |
| 1073 | </fileSet> |
| 1074 | </fileSets> |
| 1075 | </configuration> |
| 1076 | </execution> |
| 1077 | </executions> |
| 1078 | </plugin> |
| 1079 | </plugins> |
| 1080 | </build> |
| 1081 | </profile> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1082 | <!-- End of profiles from ONAP oparent --> |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 1083 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1084 | <profile> |
| 1085 | <id>yang-compile</id> |
| 1086 | <activation> |
| 1087 | <file> |
| 1088 | <exists>src/main/yang</exists> |
| 1089 | </file> |
| 1090 | </activation> |
| 1091 | <build> |
| 1092 | <plugins> |
| 1093 | <plugin> |
| 1094 | <groupId>org.opendaylight.yangtools</groupId> |
| 1095 | <artifactId>yang-maven-plugin</artifactId> |
| 1096 | <version>2.1.8</version> |
| 1097 | <dependencies> |
| 1098 | <dependency> |
| 1099 | <groupId>org.opendaylight.mdsal</groupId> |
| 1100 | <artifactId>maven-sal-api-gen-plugin</artifactId> |
| 1101 | <version>${odl.mdsal.model.version}</version> |
| 1102 | <type>jar</type> |
| 1103 | </dependency> |
| 1104 | <dependency> |
| 1105 | <groupId>org.opendaylight.netconf</groupId> |
| 1106 | <artifactId>sal-rest-docgen-maven</artifactId> |
| 1107 | <version>${odl.netconf.sal.rest.docgen.version}</version> |
| 1108 | <type>jar</type> |
| 1109 | </dependency> |
| 1110 | </dependencies> |
| 1111 | <executions> |
| 1112 | <execution> |
Singal, Kapil (ks220y) | 704554f | 2020-01-20 15:12:43 -0500 | [diff] [blame] | 1113 | <id>binding</id> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1114 | <goals> |
| 1115 | <goal>generate-sources</goal> |
| 1116 | </goals> |
| 1117 | <configuration> |
| 1118 | <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir> |
| 1119 | <codeGenerators> |
| 1120 | <generator> |
| 1121 | <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass> |
| 1122 | <outputBaseDir>${salGeneratorPath}</outputBaseDir> |
| 1123 | </generator> |
| 1124 | <generator> |
| 1125 | <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass> |
| 1126 | <outputBaseDir>target/swagger</outputBaseDir> |
| 1127 | </generator> |
| 1128 | </codeGenerators> |
| 1129 | <inspectDependencies>true</inspectDependencies> |
| 1130 | </configuration> |
| 1131 | </execution> |
| 1132 | </executions> |
| 1133 | </plugin> |
| 1134 | </plugins> |
| 1135 | </build> |
| 1136 | </profile> |
Timoney, Dan (dt5972) | 3beea0e | 2018-12-18 16:05:41 -0500 | [diff] [blame] | 1137 | |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 1138 | </profiles> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1139 | </project> |