Timoney, Dan (dt5972) | a4b1a9f | 2018-09-18 13:53:34 -0400 | [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"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
Timoney, Dan (dt5972) | a4b1a9f | 2018-09-18 13:53:34 -0400 | [diff] [blame] | 4 | |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 5 | <!-- PLEASE READ !!!!! This file is generated from ccsdk/parent/springboot/spring-boot-setup/src/main/template/pom-template.xml |
| 6 | Any updates needed should be made to that template and not to the generated |
| 7 | pom.xml file --> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 8 | <parent> |
| 9 | <groupId>org.springframework.boot</groupId> |
| 10 | <artifactId>spring-boot-starter-parent</artifactId> |
| 11 | <version>1.5.22.RELEASE</version> |
| 12 | <relativePath/> |
| 13 | </parent> |
Timoney, Dan (dt5972) | a4b1a9f | 2018-09-18 13:53:34 -0400 | [diff] [blame] | 14 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 15 | <groupId>org.onap.ccsdk.parent</groupId> |
| 16 | <artifactId>spring-boot-1-starter-parent</artifactId> |
Dan Timoney | b044ec8 | 2020-11-25 11:41:13 -0500 | [diff] [blame] | 17 | <version>2.1.1-SNAPSHOT</version> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 18 | <packaging>pom</packaging> |
Timoney, Dan (dt5972) | a4b1a9f | 2018-09-18 13:53:34 -0400 | [diff] [blame] | 19 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 20 | <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 21 | <description>Root POM to be used in place of spring-boot parent for CCSDK based projects</description> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 22 | <url>http://wiki.onap.org</url> |
| 23 | <organization> |
| 24 | <name>ONAP</name> |
| 25 | </organization> |
Timoney, Dan (dt5972) | a4b1a9f | 2018-09-18 13:53:34 -0400 | [diff] [blame] | 26 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [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) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [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) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 39 | </snapshotRepository> |
| 40 | </distributionManagement> |
Timoney, Dan (dt5972) | a4b1a9f | 2018-09-18 13:53:34 -0400 | [diff] [blame] | 41 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [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> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 54 | <!-- properties from oparent --> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 55 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 56 | <maven.compiler.source>1.8</maven.compiler.source> |
| 57 | <maven.compiler.target>1.8</maven.compiler.target> |
| 58 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 59 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 60 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
| 61 | <!-- sitePath may be overridden in the inheriting POM if desired --> |
| 62 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
Singal, Kapil (ks220y) | e14c10b | 2020-01-07 11:54:24 -0500 | [diff] [blame] | 63 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 64 | <!-- If following file exist, auto-generation of swagger.json will be done --> |
| 65 | <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties> |
| 66 | <!-- If following file exist, auto-generation of sdk will be done --> |
| 67 | <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json> |
| 68 | <!-- end of properties from oparent --> |
Timoney, Dan (dt5972) | a4b1a9f | 2018-09-18 13:53:34 -0400 | [diff] [blame] | 69 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 70 | <!-- ONAP repositories --> |
| 71 | <onap.nexus.host>nexus.onap.org</onap.nexus.host> |
| 72 | <onap.nexus.port>443</onap.nexus.port> |
| 73 | <onap.nexus.protocol>https</onap.nexus.protocol> |
| 74 | <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url> |
| 75 | <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url> |
| 76 | <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url> |
| 77 | <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url> |
| 78 | <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id> |
| 79 | <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id> |
Timoney, Dan (dt5972) | a4b1a9f | 2018-09-18 13:53:34 -0400 | [diff] [blame] | 80 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 81 | <java.version.source>1.8</java.version.source> |
| 82 | <java.version.target>1.8</java.version.target> |
| 83 | <bundle.plugin.version>2.5.0</bundle.plugin.version> |
| 84 | <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version> |
| 85 | <features.file>features.xml</features.file> |
| 86 | <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath> |
| 87 | <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> |
| 88 | <checkstyle.skip>true</checkstyle.skip> |
Timoney, Dan (dt5972) | a4b1a9f | 2018-09-18 13:53:34 -0400 | [diff] [blame] | 89 | |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 90 | <!-- logging-analytics versions --> |
Dan Timoney | 5700b85 | 2021-01-29 12:38:52 -0500 | [diff] [blame] | 91 | <logging-analytics.version>1.6.5</logging-analytics.version> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 92 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 93 | <!-- CCSDK component versions --> |
Dan Timoney | a265d5b | 2020-11-25 08:23:08 -0500 | [diff] [blame] | 94 | <ccsdk.cds.version>1.1.1-SNAPSHOT</ccsdk.cds.version> |
| 95 | <ccsdk.features.version>1.1.1-SNAPSHOT</ccsdk.features.version> |
| 96 | <ccsdk.distribution.version>1.1.1-SNAPSHOT</ccsdk.distribution.version> |
| 97 | <ccsdk.sli.version>1.2.0-SNAPSHOT</ccsdk.sli.version> |
Jozsef Csongvai | a4d399c | 2020-12-14 07:39:31 -0500 | [diff] [blame] | 98 | <ccsdk.sli.core.version>${ccsdk.sli.version}</ccsdk.sli.core.version> |
| 99 | <ccsdk.sli.adaptors.version>${ccsdk.sli.version}</ccsdk.sli.adaptors.version> |
| 100 | <ccsdk.sli.northbound.version>${ccsdk.sli.version}</ccsdk.sli.northbound.version> |
| 101 | <ccsdk.sli.plugins.version>${ccsdk.sli.version}</ccsdk.sli.plugins.version> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 102 | |
| 103 | <!-- Spring versions --> |
| 104 | <spring.boot.version>1.5.22.RELEASE</spring.boot.version> |
| 105 | <spring.version>4.3.25.RELEASE</spring.version> |
| 106 | |
| 107 | <!-- Kotlin versions --> |
| 108 | <kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget> |
| 109 | <kotlin.version>1.3.61</kotlin.version> |
| 110 | <kotlin.maven.version>1.3.61</kotlin.maven.version> |
| 111 | <kotlin.couroutines.version>1.3.3</kotlin.couroutines.version> |
| 112 | <kotlinpoet.version>1.5.0</kotlinpoet.version> |
| 113 | <kroto-plus.version>0.5.0</kroto-plus.version> |
| 114 | <nats.version>2.6.6</nats.version> |
| 115 | <nats.streaming.version>2.2.3</nats.streaming.version> |
| 116 | <mockk.version>1.9.3</mockk.version> |
Timoney, Dan (dt5972) | a4b1a9f | 2018-09-18 13:53:34 -0400 | [diff] [blame] | 117 | |
Singal, Kapil (ks220y) | dfaa255 | 2020-02-04 09:35:37 -0500 | [diff] [blame] | 118 | <!-- Managed dependency versions --> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 119 | <antlr.version>4.7.2</antlr.version> |
| 120 | <commons.lang.version>2.6</commons.lang.version> |
Singal, Kapil (ks220y) | dfaa255 | 2020-02-04 09:35:37 -0500 | [diff] [blame] | 121 | <apache.httpcomponents.core.version>4.4.12</apache.httpcomponents.core.version> |
| 122 | <apache.httpcomponents.client.version>4.5.10</apache.httpcomponents.client.version> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 123 | <derby.version>10.14.2.0</derby.version> |
| 124 | <eelf.version>1.0.0</eelf.version> |
| 125 | <grpc.version>1.25.0</grpc.version> |
| 126 | <protobuff.java.version>3.10.0</protobuff.java.version> |
| 127 | <protobuff.java.utils.version>3.10.0</protobuff.java.utils.version> |
Singal, Kapil (ks220y) | dfaa255 | 2020-02-04 09:35:37 -0500 | [diff] [blame] | 128 | <jersey.version>2.25.1</jersey.version> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 129 | <jersey.client.version>2.25.1</jersey.client.version> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 130 | <jettison.version>1.3.8</jettison.version> |
| 131 | <logback.version>1.2.3</logback.version> |
Timoney, Dan (dt5972) | 48f5577 | 2019-12-17 10:44:04 -0500 | [diff] [blame] | 132 | <mariadb.connector.version>2.4.4</mariadb.connector.version> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 133 | <mariadb4j.version>2.4.0</mariadb4j.version> |
| 134 | <slf4j.version>1.7.25</slf4j.version> |
Singal, Kapil (ks220y) | b5adc45 | 2020-02-20 13:53:41 -0500 | [diff] [blame] | 135 | <testng.version>6.14.3</testng.version> |
Rich Tabedzki | fce995d | 2020-03-11 11:06:57 -0400 | [diff] [blame] | 136 | <tomcat-jdbc.version>9.0.30</tomcat-jdbc.version> |
Timoney, Dan (dt5972) | 94fcbc2 | 2019-12-10 09:18:51 -0500 | [diff] [blame] | 137 | <dependency-list.file>direct-dependencies.txt</dependency-list.file> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 138 | </properties> |
Timoney, Dan (dt5972) | a4b1a9f | 2018-09-18 13:53:34 -0400 | [diff] [blame] | 139 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 140 | <dependencyManagement> |
| 141 | <dependencies> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 142 | <!-- Note: If value in BOM conflicts with value inherited from |
| 143 | parent pom, inherited value takes precedence. This seems more like |
| 144 | a bug than a feature, but this is how maven 3.6 works --> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 145 | <dependency> |
| 146 | <groupId>org.onap.ccsdk.parent</groupId> |
| 147 | <artifactId>dependencies-bom</artifactId> |
Dan Timoney | b044ec8 | 2020-11-25 11:41:13 -0500 | [diff] [blame] | 148 | <version>2.1.1-SNAPSHOT</version> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 149 | <type>pom</type> |
| 150 | <scope>import</scope> |
| 151 | </dependency> |
| 152 | <dependency> |
| 153 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 154 | <artifactId>sli-common</artifactId> |
| 155 | <version>${ccsdk.sli.core.version}</version> |
| 156 | </dependency> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 157 | <dependency> |
| 158 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 159 | <artifactId>sli-provider</artifactId> |
| 160 | <version>${ccsdk.sli.core.version}</version> |
| 161 | </dependency> |
| 162 | <dependency> |
| 163 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 164 | <artifactId>ccsdk-sli</artifactId> |
| 165 | <version>${ccsdk.sli.core.version}</version> |
| 166 | <type>xml</type> |
| 167 | <classifier>features</classifier> |
| 168 | </dependency> |
| 169 | <dependency> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 170 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 171 | <artifactId>dblib-provider</artifactId> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 172 | <version>${ccsdk.sli.core.version}</version> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 173 | </dependency> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 174 | <dependency> |
| 175 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 176 | <artifactId>aai-service-provider</artifactId> |
| 177 | <version>${ccsdk.sli.adaptors.version}</version> |
| 178 | </dependency> |
| 179 | <dependency> |
| 180 | <groupId>org.onap.logging-analytics</groupId> |
| 181 | <artifactId>logging-slf4j</artifactId> |
| 182 | <version>${logging-analytics.version}</version> |
| 183 | </dependency> |
| 184 | <dependency> |
| 185 | <groupId>org.onap.logging-analytics</groupId> |
| 186 | <artifactId>logging-filter-base</artifactId> |
| 187 | <version>${logging-analytics.version}</version> |
| 188 | </dependency> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 189 | </dependencies> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 190 | </dependencyManagement> |
Timoney, Dan (dt5972) | a4b1a9f | 2018-09-18 13:53:34 -0400 | [diff] [blame] | 191 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 192 | <repositories> |
| 193 | <repository> |
| 194 | <id>onap-public</id> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 195 | <url>${onap.nexus.public-url}</url> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 196 | <releases> |
| 197 | <enabled>true</enabled> |
| 198 | <updatePolicy>never</updatePolicy> |
| 199 | </releases> |
| 200 | <snapshots> |
| 201 | <enabled>true</enabled> |
| 202 | <updatePolicy>always</updatePolicy> |
| 203 | </snapshots> |
| 204 | </repository> |
| 205 | <repository> |
| 206 | <id>onap-staging</id> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 207 | <url>${onap.nexus.staging-url}</url> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 208 | <releases> |
| 209 | <enabled>true</enabled> |
| 210 | <updatePolicy>never</updatePolicy> |
| 211 | </releases> |
| 212 | <snapshots> |
| 213 | <enabled>true</enabled> |
| 214 | <updatePolicy>always</updatePolicy> |
| 215 | </snapshots> |
| 216 | </repository> |
| 217 | <repository> |
| 218 | <id>ecomp-release</id> |
| 219 | <name>onap-repository-releases</name> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 220 | <url>${onap.nexus.release-url}</url> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 221 | <releases> |
| 222 | <enabled>true</enabled> |
| 223 | <updatePolicy>never</updatePolicy> |
| 224 | </releases> |
| 225 | <snapshots> |
| 226 | <enabled>false</enabled> |
| 227 | </snapshots> |
| 228 | </repository> |
| 229 | <repository> |
| 230 | <id>ecomp-snapshot</id> |
| 231 | <name>onap-repository-snapshots</name> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 232 | <url>${onap.nexus.snapshot-url}</url> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 233 | <releases> |
| 234 | <enabled>false</enabled> |
| 235 | </releases> |
| 236 | <snapshots> |
| 237 | <enabled>true</enabled> |
| 238 | </snapshots> |
| 239 | </repository> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 240 | </repositories> |
| 241 | <pluginRepositories> |
| 242 | <pluginRepository> |
| 243 | <id>onap-public</id> |
| 244 | <url>${onap.nexus.public-url}</url> |
| 245 | <releases> |
| 246 | <enabled>true</enabled> |
| 247 | </releases> |
| 248 | <snapshots> |
| 249 | <enabled>true</enabled> |
| 250 | </snapshots> |
| 251 | </pluginRepository> |
| 252 | <pluginRepository> |
| 253 | <id>onap-staging</id> |
| 254 | <url>${onap.nexus.staging-url}</url> |
| 255 | <releases> |
| 256 | <enabled>true</enabled> |
| 257 | </releases> |
| 258 | <snapshots> |
| 259 | <enabled>true</enabled> |
| 260 | </snapshots> |
| 261 | </pluginRepository> |
| 262 | <pluginRepository> |
| 263 | <id>onap-snapshot</id> |
| 264 | <url>${onap.nexus.snapshot-url}</url> |
| 265 | <releases> |
| 266 | <enabled>false</enabled> |
| 267 | </releases> |
| 268 | <snapshots> |
| 269 | <enabled>true</enabled> |
| 270 | </snapshots> |
| 271 | </pluginRepository> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 272 | <!-- Black Duck plugin dependencies --> |
| 273 | <pluginRepository> |
| 274 | <id>JCenter</id> |
| 275 | <name>JCenter Repository</name> |
| 276 | <url>http://jcenter.bintray.com</url> |
| 277 | </pluginRepository> |
Timoney, Dan (dt5972) | 79ddeb6 | 2018-12-20 08:41:05 -0500 | [diff] [blame] | 278 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 279 | <pluginRepository> |
| 280 | <id>Restlet</id> |
| 281 | <name>Restlet Repository</name> |
| 282 | <url>http://maven.restlet.com</url> |
| 283 | </pluginRepository> |
| 284 | </pluginRepositories> |
Timoney, Dan (dt5972) | a4b1a9f | 2018-09-18 13:53:34 -0400 | [diff] [blame] | 285 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 286 | <build> |
| 287 | <pluginManagement> |
| 288 | <plugins> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 289 | <!-- Plugins from ONAP oparent --> |
| 290 | <plugin> |
| 291 | <groupId>org.apache.maven.plugins</groupId> |
| 292 | <artifactId>maven-deploy-plugin</artifactId> |
| 293 | <!-- This version supports the "deployAtEnd" parameter --> |
| 294 | <version>2.8</version> |
| 295 | <configuration> |
| 296 | <skip/> |
Singal, Kapil (ks220y) | 6fa7fc9 | 2021-02-01 16:11:38 -0500 | [diff] [blame^] | 297 | <deployAtEnd>true</deployAtEnd> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 298 | </configuration> |
| 299 | </plugin> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 300 | <plugin> |
| 301 | <groupId>org.apache.maven.plugins</groupId> |
| 302 | <artifactId>maven-site-plugin</artifactId> |
| 303 | <version>3.6</version> |
| 304 | <dependencies> |
| 305 | <dependency> |
| 306 | <groupId>org.apache.maven.wagon</groupId> |
| 307 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 308 | <version>2.10</version> |
| 309 | </dependency> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 310 | <dependency> |
| 311 | <groupId>org.apache.maven.doxia</groupId> |
| 312 | <artifactId>doxia-core</artifactId> |
| 313 | <version>1.7</version> |
| 314 | </dependency> |
| 315 | <dependency> |
| 316 | <groupId>org.apache.maven.doxia</groupId> |
| 317 | <artifactId>doxia-sink-api</artifactId> |
| 318 | <version>1.7</version> |
| 319 | </dependency> |
| 320 | <dependency> |
| 321 | <groupId>org.apache.maven.doxia</groupId> |
| 322 | <artifactId>doxia-logging-api</artifactId> |
| 323 | <version>1.7</version> |
| 324 | </dependency> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 325 | </dependencies> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 326 | <executions> |
| 327 | <execution> |
| 328 | <id>attach-descriptor</id> |
| 329 | <goals> |
| 330 | <goal>attach-descriptor</goal> |
| 331 | </goals> |
| 332 | </execution> |
| 333 | </executions> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 334 | </plugin> |
| 335 | <plugin> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 336 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 337 | <version>2.17</version> |
| 338 | <dependencies> |
| 339 | <dependency> |
| 340 | <groupId>org.onap.oparent</groupId> |
| 341 | <artifactId>checkstyle</artifactId> |
| 342 | <version>1.1.1</version> |
| 343 | </dependency> |
| 344 | </dependencies> |
| 345 | <executions> |
| 346 | <execution> |
| 347 | <id>check-license</id> |
| 348 | <goals> |
| 349 | <goal>check</goal> |
| 350 | </goals> |
| 351 | <phase>process-sources</phase> |
| 352 | <configuration> |
| 353 | <configLocation>onap-checkstyle/check-license.xml</configLocation> |
| 354 | <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation> |
| 355 | <includeResources>false</includeResources> |
| 356 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 357 | <includeTestResources>false</includeTestResources> |
| 358 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 359 | <excludes> |
| 360 | </excludes> |
| 361 | <failsOnError>false</failsOnError> |
| 362 | <consoleOutput>true</consoleOutput> |
| 363 | </configuration> |
| 364 | </execution> |
| 365 | <execution> |
| 366 | <id>check-style</id> |
| 367 | <goals> |
| 368 | <goal>check</goal> |
| 369 | </goals> |
| 370 | <phase>process-sources</phase> |
| 371 | <configuration> |
| 372 | <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 373 | with minor changes --> |
| 374 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 375 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory --> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 376 | <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory> |
| 377 | <includeResources>true</includeResources> |
| 378 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 379 | <includeTestResources>true</includeTestResources> |
| 380 | <excludes> |
| 381 | </excludes> |
| 382 | <failsOnError>false</failsOnError> |
| 383 | <consoleOutput>true</consoleOutput> |
| 384 | </configuration> |
| 385 | </execution> |
| 386 | </executions> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 387 | </plugin> |
Dan Timoney | 621888e | 2020-01-17 09:54:02 -0500 | [diff] [blame] | 388 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 389 | <plugin> |
| 390 | <groupId>org.apache.maven.plugins</groupId> |
| 391 | <artifactId>maven-surefire-plugin</artifactId> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 392 | <version>2.19.1</version> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 393 | <configuration> |
| 394 | <!-- Sets the VM argument line used when unit tests are run. --> |
| 395 | <argLine>${surefireArgLine}</argLine> |
| 396 | <!-- Excludes integration tests when unit tests are run. --> |
| 397 | <excludes> |
| 398 | <exclude>**/IT*.java</exclude> |
| 399 | </excludes> |
| 400 | </configuration> |
| 401 | </plugin> |
| 402 | <plugin> |
| 403 | <groupId>org.apache.maven.plugins</groupId> |
| 404 | <artifactId>maven-failsafe-plugin</artifactId> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 405 | <version>2.19.1</version> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 406 | <executions> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 407 | <!-- Ensures that both integration-test and verify goals of the Failsafe Maven plugin are executed. --> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 408 | <execution> |
| 409 | <id>integration-tests</id> |
| 410 | <goals> |
| 411 | <goal>integration-test</goal> |
| 412 | <goal>verify</goal> |
| 413 | </goals> |
| 414 | <configuration> |
| 415 | <!-- Sets the VM argument line used when integration tests are run. --> |
| 416 | <argLine>${failsafeArgLine}</argLine> |
| 417 | </configuration> |
| 418 | </execution> |
| 419 | </executions> |
| 420 | </plugin> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 421 | <plugin> |
| 422 | <groupId>org.apache.maven.plugins</groupId> |
| 423 | <artifactId>maven-compiler-plugin</artifactId> |
| 424 | <version>${maven.compile.plugin.version}</version> |
| 425 | <configuration> |
| 426 | <source>${java.version.source}</source> |
| 427 | <target>${java.version.target}</target> |
| 428 | </configuration> |
| 429 | </plugin> |
| 430 | <plugin> |
| 431 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 432 | <artifactId>sonar-maven-plugin</artifactId> |
| 433 | <version>3.6.0.1398</version> |
| 434 | </plugin> |
Timoney, Dan (dt5972) | a4b1a9f | 2018-09-18 13:53:34 -0400 | [diff] [blame] | 435 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 436 | <!-- End of plugins from ONAP oparent --> |
Singal, Kapil (ks220y) | 829b0e2 | 2020-02-05 11:55:21 -0500 | [diff] [blame] | 437 | |
| 438 | <plugin> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 439 | <groupId>org.apache.maven.plugins</groupId> |
| 440 | <artifactId>maven-javadoc-plugin</artifactId> |
Dan Timoney | e816a59 | 2020-09-03 08:56:01 -0400 | [diff] [blame] | 441 | <version>3.2.0</version> |
Singal, Kapil (ks220y) | 829b0e2 | 2020-02-05 11:55:21 -0500 | [diff] [blame] | 442 | <configuration> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 443 | <additionalDependencies> |
| 444 | <additionalDependency> |
| 445 | <groupId>org.slf4j</groupId> |
| 446 | <artifactId>slf4j-api</artifactId> |
| 447 | <version>${slf4j.version}</version> |
| 448 | </additionalDependency> |
| 449 | <additionalDependency> |
| 450 | <groupId>org.antlr</groupId> |
| 451 | <artifactId>antlr4</artifactId> |
| 452 | <version>${antlr.version}</version> |
| 453 | </additionalDependency> |
| 454 | <additionalDependency> |
| 455 | <groupId>org.antlr</groupId> |
| 456 | <artifactId>antlr4-runtime</artifactId> |
| 457 | <version>${antlr.version}</version> |
| 458 | </additionalDependency> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 459 | <additionalDependency> |
| 460 | <groupId>com.sun.jersey</groupId> |
| 461 | <artifactId>jersey-client</artifactId> |
| 462 | <version>${jersey.client.version}</version> |
| 463 | </additionalDependency> |
| 464 | <additionalDependency> |
| 465 | <groupId>com.sun.jersey</groupId> |
| 466 | <artifactId>jersey-core</artifactId> |
| 467 | <version>${jersey.version}</version> |
| 468 | </additionalDependency> |
| 469 | <additionalDependency> |
| 470 | <groupId>org.apache.httpcomponents</groupId> |
| 471 | <artifactId>httpcore-osgi</artifactId> |
| 472 | <version>${apache.httpcomponents.core.version}</version> |
| 473 | </additionalDependency> |
| 474 | <additionalDependency> |
| 475 | <groupId>org.apache.httpcomponents</groupId> |
| 476 | <artifactId>httpclient-osgi</artifactId> |
| 477 | <version>${apache.httpcomponents.client.version}</version> |
| 478 | </additionalDependency> |
| 479 | <additionalDependency> |
| 480 | <groupId>commons-lang</groupId> |
| 481 | <artifactId>commons-lang</artifactId> |
| 482 | <version>${commons.lang.version}</version> |
| 483 | </additionalDependency> |
| 484 | </additionalDependencies> |
Dan Timoney | e816a59 | 2020-09-03 08:56:01 -0400 | [diff] [blame] | 485 | <failOnError>false</failOnError> |
Singal, Kapil (ks220y) | 829b0e2 | 2020-02-05 11:55:21 -0500 | [diff] [blame] | 486 | </configuration> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 487 | <executions> |
| 488 | <execution> |
| 489 | <id>aggregate</id> |
| 490 | <goals> |
| 491 | <goal>aggregate</goal> |
| 492 | </goals> |
| 493 | <phase>site</phase> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 494 | </execution> |
| 495 | </executions> |
Singal, Kapil (ks220y) | 829b0e2 | 2020-02-05 11:55:21 -0500 | [diff] [blame] | 496 | </plugin> |
Timoney, Dan (dt5972) | 94fcbc2 | 2019-12-10 09:18:51 -0500 | [diff] [blame] | 497 | <plugin> |
| 498 | <groupId>com.github.ferstl</groupId> |
| 499 | <artifactId>depgraph-maven-plugin</artifactId> |
| 500 | <version>3.3.0</version> |
| 501 | <configuration> |
| 502 | <graphFormat>text</graphFormat> |
| 503 | <outputFileName>${dependency-list.file}</outputFileName> |
| 504 | <outputDirectory>${project.basedir}</outputDirectory> |
| 505 | <transitiveExcludes>*</transitiveExcludes> |
| 506 | <showVersions>true</showVersions> |
Timoney, Dan (dt5972) | cc0c96a | 2019-12-11 10:04:52 -0500 | [diff] [blame] | 507 | <showGroupIds>true</showGroupIds> |
Timoney, Dan (dt5972) | 94fcbc2 | 2019-12-10 09:18:51 -0500 | [diff] [blame] | 508 | </configuration> |
| 509 | </plugin> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 510 | </plugins> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 511 | </pluginManagement> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 512 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 513 | <plugins> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 514 | <!-- Plugins from ONAP oparent --> |
Dan Timoney | 621888e | 2020-01-17 09:54:02 -0500 | [diff] [blame] | 515 | <!-- Jacoco / Sonar --> |
| 516 | <plugin> |
| 517 | <groupId>org.jacoco</groupId> |
| 518 | <artifactId>jacoco-maven-plugin</artifactId> |
| 519 | <version>${jacoco.version}</version> |
| 520 | <executions> |
| 521 | <execution> |
| 522 | <id>pre-unit-test</id> |
| 523 | <goals> |
| 524 | <goal>prepare-agent</goal> |
| 525 | </goals> |
| 526 | <configuration> |
| 527 | <!-- Sets the path to the file which contains the execution data. --> |
| 528 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 529 | <!-- 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] | 530 | <propertyName>surefireArgLine</propertyName> |
| 531 | </configuration> |
| 532 | </execution> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 533 | <!-- 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] | 534 | <execution> |
| 535 | <id>post-unit-test</id> |
| 536 | <phase>test</phase> |
| 537 | <goals> |
| 538 | <goal>report</goal> |
| 539 | </goals> |
| 540 | <configuration> |
| 541 | <!-- Sets the path to the file which contains the execution data. --> |
| 542 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 543 | <!-- Sets the output directory for the code coverage report. --> |
| 544 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 545 | </configuration> |
| 546 | </execution> |
| 547 | <execution> |
| 548 | <id>pre-integration-test</id> |
| 549 | <phase>pre-integration-test</phase> |
| 550 | <goals> |
| 551 | <goal>prepare-agent</goal> |
| 552 | </goals> |
| 553 | <configuration> |
| 554 | <!-- Sets the path to the file which contains the execution data. --> |
| 555 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 556 | <!-- 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] | 557 | <propertyName>failsafeArgLine</propertyName> |
| 558 | </configuration> |
| 559 | </execution> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 560 | <!-- 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] | 561 | <execution> |
| 562 | <id>post-integration-test</id> |
| 563 | <phase>post-integration-test</phase> |
| 564 | <goals> |
| 565 | <goal>report</goal> |
| 566 | </goals> |
| 567 | <configuration> |
| 568 | <!-- Sets the path to the file which contains the execution data. --> |
| 569 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 570 | <!-- Sets the output directory for the code coverage report. --> |
| 571 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 572 | </configuration> |
| 573 | </execution> |
| 574 | <execution> |
| 575 | <id>default-prepare-agent</id> |
| 576 | <goals> |
| 577 | <goal>prepare-agent</goal> |
| 578 | </goals> |
| 579 | </execution> |
| 580 | <execution> |
| 581 | <id>default-report</id> |
| 582 | <phase>prepare-package</phase> |
| 583 | <goals> |
| 584 | <goal>report</goal> |
| 585 | </goals> |
| 586 | </execution> |
| 587 | <execution> |
| 588 | <id>default-check</id> |
| 589 | <goals> |
| 590 | <goal>check</goal> |
| 591 | </goals> |
| 592 | <configuration> |
| 593 | <rules> |
| 594 | <rule> |
| 595 | <element>PACKAGE</element> |
| 596 | <limits> |
| 597 | <limit> |
| 598 | <counter>COMPLEXITY</counter> |
| 599 | <value>COVEREDRATIO</value> |
| 600 | <minimum>0.0</minimum> |
| 601 | </limit> |
| 602 | </limits> |
| 603 | </rule> |
| 604 | </rules> |
| 605 | </configuration> |
| 606 | </execution> |
| 607 | </executions> |
| 608 | </plugin> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 609 | <plugin> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 610 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 611 | </plugin> |
| 612 | <plugin> |
| 613 | <groupId>org.codehaus.mojo</groupId> |
| 614 | <artifactId>build-helper-maven-plugin</artifactId> |
| 615 | <version>1.12</version> |
| 616 | </plugin> |
| 617 | <!-- Jacoco / Sonar --> |
| 618 | <plugin> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 619 | <groupId>org.apache.maven.plugins</groupId> |
| 620 | <artifactId>maven-surefire-plugin</artifactId> |
| 621 | </plugin> |
| 622 | <plugin> |
| 623 | <groupId>org.apache.maven.plugins</groupId> |
| 624 | <artifactId>maven-failsafe-plugin</artifactId> |
| 625 | </plugin> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 626 | |
| 627 | <!-- End of plugins from ONAP oparent --> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 628 | <plugin> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 629 | <groupId>org.codehaus.mojo</groupId> |
| 630 | <artifactId>properties-maven-plugin</artifactId> |
| 631 | <version>1.0.0</version> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 632 | <executions> |
| 633 | <execution> |
| 634 | <goals> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 635 | <goal>set-system-properties</goal> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 636 | </goals> |
| 637 | <configuration> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 638 | <properties> |
| 639 | <property> |
| 640 | <name>maven.wagon.http.ssl.allowall</name> |
| 641 | <value>${ssl.allowall}</value> |
| 642 | </property> |
| 643 | <property> |
| 644 | <name>maven.wagon.http.ssl.insecure</name> |
| 645 | <value>${ssl.insecure}</value> |
| 646 | </property> |
| 647 | </properties> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 648 | </configuration> |
| 649 | </execution> |
| 650 | </executions> |
| 651 | </plugin> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 652 | <plugin> |
| 653 | <groupId>org.codehaus.mojo</groupId> |
| 654 | <artifactId>versions-maven-plugin</artifactId> |
| 655 | <version>2.5</version> |
| 656 | <configuration> |
| 657 | <processAllModules>true</processAllModules> |
| 658 | </configuration> |
| 659 | </plugin> |
| 660 | <plugin> |
| 661 | <artifactId>maven-scm-plugin</artifactId> |
| 662 | <version>1.8.1</version> |
| 663 | <configuration> |
| 664 | <tag>${project.artifactId}-${project.version}</tag> |
| 665 | </configuration> |
| 666 | </plugin> |
Singal, Kapil (ks220y) | da2d976 | 2020-09-04 10:34:58 -0400 | [diff] [blame] | 667 | <plugin> |
| 668 | <groupId>pl.project13.maven</groupId> |
| 669 | <artifactId>git-commit-id-plugin</artifactId> |
| 670 | <version>4.0.0</version> |
| 671 | <configuration> |
| 672 | <commitIdGenerationMode>full</commitIdGenerationMode> |
| 673 | <includeOnlyProperties> |
| 674 | <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> |
| 675 | <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> |
| 676 | </includeOnlyProperties> |
| 677 | </configuration> |
| 678 | </plugin> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 679 | </plugins> |
| 680 | </build> |
Timoney, Dan (dt5972) | a4b1a9f | 2018-09-18 13:53:34 -0400 | [diff] [blame] | 681 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 682 | <reporting> |
| 683 | <plugins> |
| 684 | <plugin> |
| 685 | <artifactId>maven-javadoc-plugin</artifactId> |
| 686 | <version>2.10.4</version> |
| 687 | <configuration> |
| 688 | <failOnError>false</failOnError> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 689 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 690 | <docletArtifact> |
| 691 | <groupId>org.umlgraph</groupId> |
| 692 | <artifactId>umlgraph</artifactId> |
| 693 | <version>5.6</version> |
| 694 | </docletArtifact> |
| 695 | <additionalparam>-views</additionalparam> |
| 696 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 697 | <excludePackageNames>org.opendaylight.*</excludePackageNames> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 698 | </configuration> |
| 699 | <reportSets> |
| 700 | <reportSet> |
| 701 | <reports> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 702 | <report>javadoc-no-fork</report> |
| 703 | <report>test-javadoc-no-fork</report> |
| 704 | </reports> |
| 705 | </reportSet> |
| 706 | <reportSet> |
| 707 | <id>aggregate</id> |
| 708 | <reports> |
| 709 | <report>aggregate</report> |
| 710 | <report>test-aggregate</report> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 711 | </reports> |
| 712 | </reportSet> |
| 713 | </reportSets> |
| 714 | </plugin> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 715 | <plugin> |
| 716 | <groupId>org.apache.maven.plugins</groupId> |
| 717 | <artifactId>maven-jxr-plugin</artifactId> |
| 718 | <version>2.3</version> |
| 719 | <reportSets> |
| 720 | <reportSet> |
| 721 | <id>aggregate</id> |
| 722 | <reports> |
| 723 | <report>aggregate</report> |
| 724 | <report>test-aggregate</report> |
| 725 | </reports> |
| 726 | </reportSet> |
| 727 | </reportSets> |
| 728 | </plugin> |
KAPIL SINGAL | 6531b11 | 2020-02-06 01:11:41 +0000 | [diff] [blame] | 729 | <plugin> |
| 730 | <artifactId>maven-surefire-plugin</artifactId> |
| 731 | <version>2.17</version> |
| 732 | </plugin> |
| 733 | <plugin> |
| 734 | <groupId>org.apache.maven.plugins</groupId> |
| 735 | <artifactId>maven-changelog-plugin</artifactId> |
| 736 | <version>2.3</version> |
| 737 | <reportSets> |
| 738 | <reportSet> |
| 739 | <id>dual-report</id> |
| 740 | <configuration> |
| 741 | <type>range</type> |
| 742 | <range>30</range> |
| 743 | </configuration> |
| 744 | <reports> |
| 745 | <report>changelog</report> |
| 746 | <report>file-activity</report> |
| 747 | </reports> |
| 748 | </reportSet> |
| 749 | </reportSets> |
| 750 | </plugin> |
| 751 | <plugin> |
| 752 | <groupId>org.codehaus.mojo</groupId> |
| 753 | <artifactId>taglist-maven-plugin</artifactId> |
| 754 | <version>2.4</version> |
| 755 | </plugin> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 756 | </plugins> |
| 757 | </reporting> |
Timoney, Dan (dt5972) | a4b1a9f | 2018-09-18 13:53:34 -0400 | [diff] [blame] | 758 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 759 | <profiles> |
| 760 | <!-- Profiles from ONAP oparent --> |
| 761 | <profile> |
| 762 | <id>generate-json</id> |
| 763 | <activation> |
| 764 | <file> |
| 765 | <exists>${swagger-properties}</exists> |
| 766 | </file> |
| 767 | <property> |
| 768 | <name>swagger-sdk.generate-json</name> |
| 769 | </property> |
| 770 | </activation> |
| 771 | <build> |
| 772 | <plugins> |
| 773 | <plugin> |
| 774 | <groupId>org.codehaus.mojo</groupId> |
| 775 | <artifactId>properties-maven-plugin</artifactId> |
| 776 | <version>1.0.0</version> |
| 777 | <executions> |
| 778 | <execution> |
| 779 | <phase>initialize</phase> |
| 780 | <goals> |
| 781 | <goal>read-project-properties</goal> |
| 782 | </goals> |
| 783 | <configuration> |
| 784 | <files> |
| 785 | <file>${basedir}/src/main/resources/swagger.properties</file> |
| 786 | </files> |
| 787 | </configuration> |
| 788 | </execution> |
| 789 | </executions> |
| 790 | </plugin> |
| 791 | <plugin> |
| 792 | <groupId>com.github.kongchen</groupId> |
| 793 | <artifactId>swagger-maven-plugin</artifactId> |
| 794 | <version>3.1.4</version> |
| 795 | <configuration> |
| 796 | <apiSources> |
| 797 | <apiSource> |
| 798 | <locations>${api-rest-package}</locations> |
| 799 | <schemes>http,https</schemes> |
| 800 | <host>${api-host-ip}:${api-host-port}</host> |
| 801 | <basePath>${api-base-path}</basePath> |
| 802 | <info> |
| 803 | <title>${api-title}</title> |
| 804 | <version>${api-version}</version> |
| 805 | <description>${api-description}</description> |
| 806 | <license> |
| 807 | <name>${api-license}</name> |
| 808 | </license> |
| 809 | </info> |
| 810 | <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory> |
| 811 | </apiSource> |
| 812 | </apiSources> |
| 813 | </configuration> |
| 814 | <executions> |
| 815 | <execution> |
| 816 | <phase>compile</phase> |
| 817 | <goals> |
| 818 | <goal>generate</goal> |
| 819 | </goals> |
| 820 | </execution> |
| 821 | </executions> |
| 822 | </plugin> |
| 823 | <plugin> |
| 824 | <groupId>org.apache.maven.plugins</groupId> |
| 825 | <artifactId>maven-install-plugin</artifactId> |
| 826 | <version>2.3.1</version> |
| 827 | <executions> |
| 828 | <execution> |
| 829 | <id>install-file-id</id> |
| 830 | <phase>install</phase> |
| 831 | <goals> |
| 832 | <goal>install-file</goal> |
| 833 | </goals> |
| 834 | <configuration> |
| 835 | <file>${basedir}/src/main/resources/swagger.json</file> |
| 836 | <groupId>${project.groupId}</groupId> |
| 837 | <artifactId>${project.artifactId}-swagger-schema</artifactId> |
| 838 | <version>${project.version}</version> |
| 839 | <packaging>json</packaging> |
| 840 | </configuration> |
| 841 | </execution> |
| 842 | </executions> |
| 843 | </plugin> |
| 844 | </plugins> |
| 845 | </build> |
| 846 | </profile> |
| 847 | <profile> |
| 848 | <id>generate-sdk</id> |
| 849 | <activation> |
| 850 | <file> |
| 851 | <exists>${swagger-json}</exists> |
| 852 | </file> |
| 853 | <property> |
| 854 | <name>swagger-sdk.generate-java-sdk</name> |
| 855 | </property> |
| 856 | </activation> |
| 857 | <build> |
| 858 | <plugins> |
| 859 | <plugin> |
| 860 | <groupId>org.apache.maven.plugins</groupId> |
| 861 | <artifactId>maven-antrun-plugin</artifactId> |
| 862 | <version>1.8</version> |
| 863 | <executions> |
| 864 | <execution> |
| 865 | <phase>initialize</phase> |
| 866 | <id>ant-create-script</id> |
| 867 | <configuration> |
| 868 | <exportAntProperties>true</exportAntProperties> |
| 869 | <tasks> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 870 | <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/> |
| 871 | <condition property="is_windows" value="true"> |
| 872 | <os family="windows"/> |
| 873 | </condition> |
| 874 | <condition property="isLinux" value="true"> |
| 875 | <os family="unix"/> |
| 876 | </condition> |
| 877 | <if> |
| 878 | <equals arg1="${is_windows}" arg2="true"/> |
| 879 | <then> |
| 880 | <property name="swagger.sdk.script.file" value="generated-source-script.bat"/> |
| 881 | <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/> |
| 882 | <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/> |
| 883 | </then> |
| 884 | <else> |
| 885 | <property name="swagger.sdk.script.file" value="generated-source-script.sh"/> |
| 886 | <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/> |
| 887 | <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/> |
| 888 | <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/> |
| 889 | </else> |
| 890 | </if> |
| 891 | </tasks> |
| 892 | </configuration> |
| 893 | <goals> |
| 894 | <goal>run</goal> |
| 895 | </goals> |
| 896 | </execution> |
| 897 | </executions> |
| 898 | <dependencies> |
| 899 | <dependency> |
| 900 | <groupId>ant-contrib</groupId> |
| 901 | <artifactId>ant-contrib</artifactId> |
| 902 | <version>1.0b3</version> |
| 903 | <exclusions> |
| 904 | <exclusion> |
| 905 | <groupId>ant</groupId> |
| 906 | <artifactId>ant</artifactId> |
| 907 | </exclusion> |
| 908 | </exclusions> |
| 909 | </dependency> |
| 910 | </dependencies> |
| 911 | </plugin> |
| 912 | <plugin> |
| 913 | <groupId>io.swagger</groupId> |
| 914 | <artifactId>swagger-codegen-maven-plugin</artifactId> |
| 915 | <version>2.2.1</version> |
| 916 | <executions> |
| 917 | <execution> |
| 918 | <goals> |
| 919 | <goal>generate</goal> |
| 920 | </goals> |
| 921 | <configuration> |
| 922 | <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec> |
| 923 | <output>${project.build.directory}/generated-sources</output> |
| 924 | <language>java</language> |
| 925 | <configOptions> |
| 926 | <dateLibrary>joda</dateLibrary> |
| 927 | </configOptions> |
| 928 | <library>jersey2</library> |
| 929 | <groupId>${project.groupId}</groupId> |
| 930 | <artifactId>${project.artifactId}-java-sdk</artifactId> |
| 931 | <artifactVersion>${project.version}</artifactVersion> |
| 932 | <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage> |
| 933 | <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage> |
| 934 | <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage> |
| 935 | </configuration> |
| 936 | </execution> |
| 937 | </executions> |
| 938 | </plugin> |
| 939 | <plugin> |
| 940 | <groupId>org.codehaus.mojo</groupId> |
| 941 | <artifactId>exec-maven-plugin</artifactId> |
| 942 | <version>1.5.0</version> |
| 943 | <executions> |
| 944 | <execution> |
| 945 | <id>swagger-generate-sources</id> |
| 946 | <phase>generate-sources</phase> |
| 947 | <goals> |
| 948 | <goal>exec</goal> |
| 949 | </goals> |
| 950 | <configuration> |
| 951 | <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable> |
| 952 | </configuration> |
| 953 | </execution> |
| 954 | </executions> |
| 955 | </plugin> |
| 956 | <plugin> |
| 957 | <groupId>org.apache.maven.plugins</groupId> |
| 958 | <artifactId>maven-clean-plugin</artifactId> |
| 959 | <version>3.0.0</version> |
| 960 | <executions> |
| 961 | <execution> |
| 962 | <id>clean-generated-files</id> |
| 963 | <phase>generate-sources</phase> |
| 964 | <goals> |
| 965 | <goal>clean</goal> |
| 966 | </goals> |
| 967 | <configuration> |
| 968 | <filesets> |
| 969 | <fileset> |
| 970 | <directory>${project.build.directory}/generated-sources</directory> |
| 971 | </fileset> |
| 972 | </filesets> |
| 973 | </configuration> |
| 974 | </execution> |
| 975 | </executions> |
| 976 | </plugin> |
| 977 | </plugins> |
| 978 | </build> |
| 979 | <dependencies> |
| 980 | <dependency> |
| 981 | <groupId>org.onap.msb.swagger-sdk</groupId> |
| 982 | <artifactId>swagger-sdk</artifactId> |
| 983 | <version>1.0.0</version> |
| 984 | </dependency> |
| 985 | </dependencies> |
| 986 | </profile> |
Timoney, Dan (dt5972) | 008b52b | 2019-12-06 09:10:09 -0500 | [diff] [blame] | 987 | <profile> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 988 | <!-- http://blog2.vorburger.ch/2016/06/improve-maven-build-speed-with-q.html |
| 989 | q = http://memory-alpha.wikia.com/wiki/Q ;) |
| 990 | |
| 991 | The Quick profile is used during incremental local development, when you want to "just get that JAR built", |
| 992 | which is very handy e.g. for fast hot reloading cycles in Karaf with bundle watch. It (intentionally!) skips |
| 993 | tests, quality checks etc. which are great and useful to run before finally submitting changes to Gerrit, and |
| 994 | which all must run on Gerrit, but which are overhead during ongoing fast iterative local development. |
| 995 | |
| 996 | Note that the idea here is that your IDE will already have run quality checks such as e.g. Checkstyle |
| 997 | while you typed the code anyway. Similarly, if you wrote a test, you'll probably already have compiled and run it |
| 998 | from your IDE, so when you want the OSGi bundle JAR for Karaf, ASAP, you typically don't want all that to run again. |
| 999 | --> |
| 1000 | <id>q</id> |
| 1001 | <properties> |
| 1002 | <skipTests>true</skipTests> |
Singal, Kapil (ks220y) | 44bb42e | 2020-09-18 11:00:50 -0400 | [diff] [blame] | 1003 | <skipPush>true</skipPush> |
| 1004 | <docker.skip.push>true</docker.skip.push> |
Singal, Kapil (ks220y) | 46751a7 | 2020-02-19 17:45:00 -0500 | [diff] [blame] | 1005 | <!-- But NOT <maven.test.skip>true, as that's for compiling, not running, tests; |
| 1006 | and that's usually quick. Skipping test compilation with -Pq with maven.test.skip would be |
| 1007 | particularly confusing when used in a project with maven-jar-plugin <goal>test-jar, so don't.) --> |
| 1008 | <skipIT>true</skipIT> |
| 1009 | <skipITs>true</skipITs> |
| 1010 | <skip.karaf.featureTest>true</skip.karaf.featureTest> |
| 1011 | <jacoco.skip>true</jacoco.skip> |
| 1012 | <maven.javadoc.skip>true</maven.javadoc.skip> |
| 1013 | <maven.source.skip>true</maven.source.skip> |
| 1014 | <checkstyle.skip>true</checkstyle.skip> |
| 1015 | <findbugs.skip>true</findbugs.skip> |
| 1016 | <spotbugs.skip>true</spotbugs.skip> |
| 1017 | <pmd.skip>true</pmd.skip> |
| 1018 | <cpd.skip>true</cpd.skip> |
| 1019 | <maven.site.skip>true</maven.site.skip> |
| 1020 | <invoker.skip>true</invoker.skip> |
| 1021 | <enforcer.skip>true</enforcer.skip> |
| 1022 | <duplicate-finder.skip>true</duplicate-finder.skip> |
| 1023 | <mdsal.skip.verbose>true</mdsal.skip.verbose> <!-- Bug 6236 --> |
| 1024 | <maven.gitcommitid.skip>true</maven.gitcommitid.skip> |
| 1025 | <modernizer.skip>true</modernizer.skip> |
| 1026 | <format.skipExecute>true</format.skipExecute> |
| 1027 | <format.skipValidate>true</format.skipValidate> |
| 1028 | </properties> |
| 1029 | </profile> |
| 1030 | <profile> |
Timoney, Dan (dt5972) | 008b52b | 2019-12-06 09:10:09 -0500 | [diff] [blame] | 1031 | <id>sonar-jacoco-aggregate</id> |
| 1032 | <activation> |
| 1033 | <property> |
| 1034 | <name>onap.jacoco.aggregateFile</name> |
| 1035 | </property> |
| 1036 | </activation> |
| 1037 | <build> |
| 1038 | <plugins> |
| 1039 | <plugin> |
| 1040 | <groupId>org.jacoco</groupId> |
| 1041 | <artifactId>jacoco-maven-plugin</artifactId> |
| 1042 | <executions> |
| 1043 | <execution> |
| 1044 | <id>merge</id> |
| 1045 | <goals> |
| 1046 | <goal>merge</goal> |
| 1047 | </goals> |
| 1048 | <phase>generate-resources</phase> |
| 1049 | <configuration> |
| 1050 | <destFile>${onap.jacoco.aggregateFile}</destFile> |
| 1051 | <fileSets> |
| 1052 | <fileSet> |
| 1053 | <directory>${project.basedir}</directory> |
| 1054 | <includes> |
| 1055 | <include>**/target/code-coverage/*.exec</include> |
| 1056 | </includes> |
| 1057 | </fileSet> |
| 1058 | </fileSets> |
| 1059 | </configuration> |
| 1060 | </execution> |
| 1061 | </executions> |
| 1062 | </plugin> |
| 1063 | </plugins> |
| 1064 | </build> |
| 1065 | </profile> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 1066 | <!-- End of profiles from ONAP oparent --> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 1067 | </profiles> |
Timoney, Dan (dt5972) | a4b1a9f | 2018-09-18 13:53:34 -0400 | [diff] [blame] | 1068 | </project> |