Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 4 | |
| 5 | |
| 6 | <modelVersion>4.0.0</modelVersion> |
| 7 | <packaging>pom</packaging> |
| 8 | <groupId>org.onap.ccsdk.parent</groupId> |
| 9 | <artifactId>single-feature-parent</artifactId> |
Timoney, Dan (dt5972) | fc0e89c | 2018-04-29 18:30:23 -0400 | [diff] [blame] | 10 | <version>1.0.2-SNAPSHOT</version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 11 | |
| 12 | <parent> |
| 13 | <groupId>org.opendaylight.odlparent</groupId> |
| 14 | <artifactId>single-feature-parent</artifactId> |
| 15 | <version>2.0.5</version> |
| 16 | <relativePath /> |
| 17 | </parent> |
| 18 | |
| 19 | |
| 20 | <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name> |
| 21 | <url>http://wiki.onap.org</url> |
| 22 | <description>Root POM to be used in place of odlparent for CCSDK based projects</description> |
| 23 | |
| 24 | |
| 25 | <issueManagement> |
| 26 | <system>JIRA</system> |
| 27 | <url>https://jira.onap.org/</url> |
| 28 | </issueManagement> |
| 29 | |
Timoney, Dan (dt5972) | b02ff95 | 2018-03-05 11:01:26 -0500 | [diff] [blame] | 30 | <properties> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 31 | |
| 32 | <!--- properties from oparent --> |
| 33 | <maven.compiler.source>1.8</maven.compiler.source> |
| 34 | <maven.compiler.target>1.8</maven.compiler.target> |
| 35 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 36 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 37 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
| 38 | <!-- sitePath may be overridden in the inheriting POM if desired --> |
| 39 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
| 40 | <jacoco.version>0.7.7.201606060606</jacoco.version> |
| 41 | <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> |
| 42 | <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> |
| 43 | <!-- Default Sonar configuration --> |
Timoney, Dan (dt5972) | d6cc55a | 2018-03-05 19:09:59 -0500 | [diff] [blame] | 44 | <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 45 | <!-- Note: This list should match jacoco-maven-plugin's exclusion |
| 46 | list below --> |
| 47 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
| 48 | <!-- If following file exist, auto-generation of swagger.json will |
| 49 | be done --> |
| 50 | <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties> |
| 51 | <!-- If following file exist, auto-generation of sdk will be done --> |
| 52 | <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json> |
| 53 | <!--- end of properties from oparent --> |
| 54 | |
| 55 | <!-- ONAP repositories --> |
| 56 | <onap.nexus.host>nexus.onap.org</onap.nexus.host> |
| 57 | <onap.nexus.port>443</onap.nexus.port> |
| 58 | <onap.nexus.protocol>https</onap.nexus.protocol> |
| 59 | <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url> |
| 60 | <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url> |
| 61 | <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url> |
| 62 | <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url> |
| 63 | <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id> |
| 64 | <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id> |
| 65 | |
| 66 | |
| 67 | <!-- OpenDaylight repositories --> |
| 68 | <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url> |
| 69 | <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url> |
| 70 | |
| 71 | |
| 72 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 73 | <java.version.source>1.8</java.version.source> |
| 74 | <java.version.target>1.8</java.version.target> |
| 75 | <bundle.plugin.version>2.5.0</bundle.plugin.version> |
| 76 | <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version> |
| 77 | <features.file>features.xml</features.file> |
| 78 | <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath> |
| 79 | <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> |
| 80 | <checkstyle.skip>true</checkstyle.skip> |
| 81 | |
| 82 | |
| 83 | <sonar.language>java</sonar.language> |
| 84 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 85 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 86 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> |
| 87 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | <!-- CCSDK component versions --> |
Timoney, Dan (dt5972) | fc0e89c | 2018-04-29 18:30:23 -0400 | [diff] [blame] | 93 | <ccsdk.sli.core.version>0.2.2-SNAPSHOT</ccsdk.sli.core.version> |
| 94 | <ccsdk.sli.adaptors.version>0.2.2-SNAPSHOT</ccsdk.sli.adaptors.version> |
| 95 | <ccsdk.sli.northbound.version>0.2.2-SNAPSHOT</ccsdk.sli.northbound.version> |
| 96 | <ccsdk.sli.plugins.version>0.2.2-SNAPSHOT</ccsdk.sli.plugins.version> |
| 97 | <ccsdk.distribution.version>0.2.2-SNAPSHOT</ccsdk.distribution.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 98 | <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version> |
| 99 | <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version> |
| 100 | <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version> |
| 101 | <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version> |
| 102 | <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version> |
| 103 | |
Timoney, Dan (dt5972) | b02ff95 | 2018-03-05 11:01:26 -0500 | [diff] [blame] | 104 | |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 105 | <!-- Support libraries used by OpenDaylight --> |
Timoney, Dan (dt5972) | b02ff95 | 2018-03-05 11:01:26 -0500 | [diff] [blame] | 106 | <odl.mdsal.version>1.6.1</odl.mdsal.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 107 | <!-- Used by aaa, vtn --> |
| 108 | <commons.codec.version>1.10</commons.codec.version> |
| 109 | <!-- Used by netconf, ovsdb --> |
Dan Timoney | f680cc6 | 2018-02-15 10:09:28 -0500 | [diff] [blame] | 110 | <commons.lang3.version>3.6</commons.lang3.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 111 | <!-- Used by sfc, snmp4sdn; see also affinity, toolkit --> |
| 112 | <commons.lang.version>2.6</commons.lang.version> |
| 113 | <!-- Used by neutron; see also controller, vtn --> |
Dan Timoney | f680cc6 | 2018-02-15 10:09:28 -0500 | [diff] [blame] | 114 | <commons.net.version>3.6</commons.net.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 115 | <!-- Used by neutron --> |
| 116 | <eclipse.persistence.version>2.6.2</eclipse.persistence.version> |
| 117 | <!-- Used by aaa --> |
| 118 | <felix.dependencymanager.version>4.3.0</felix.dependencymanager.version> |
| 119 | <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn --> |
Dan Timoney | f680cc6 | 2018-02-15 10:09:28 -0500 | [diff] [blame] | 120 | <gson.version>2.7</gson.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 121 | <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp --> |
Dan Timoney | f680cc6 | 2018-02-15 10:09:28 -0500 | [diff] [blame] | 122 | <guava.version>22.0</guava.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 123 | <!-- Used by lispflowmapping, sxp, vtn/manager --> |
| 124 | <hamcrest.version>1.3</hamcrest.version> |
| 125 | <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all, |
| 126 | integration/distribution, snmp4sdn, toolkit, ttp --> |
| 127 | <jackson.version>2.3.2</jackson.version> |
| 128 | <!-- Used by snmp4sdn, yangtools --> |
| 129 | <javassist.version>3.20.0-GA</javassist.version> |
| 130 | |
| 131 | <!-- FIXME remove all dependencies for jersey 1.17 after migration |
| 132 | all projects --> |
| 133 | <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, |
| 134 | defense4all, snmp4sdn, toolkit --> |
| 135 | <jersey.version>1.17</jersey.version> |
| 136 | <!-- Used by sfc --> |
| 137 | <jersey.client.version>1.17</jersey.client.version> |
| 138 | |
| 139 | <!-- New packages for jersey migration 1.17 to 2.8 --> |
| 140 | <!-- appache.geronimo.bundle for DocGen --> |
| 141 | <!-- Used by aaa, iotdm, netconf, ovsdb, sfc --> |
| 142 | <org.json.version>20131018</org.json.version> |
| 143 | |
| 144 | <!-- Used by sfc --> |
Dan Timoney | f680cc6 | 2018-02-15 10:09:28 -0500 | [diff] [blame] | 145 | <jettison.version>1.3.7</jettison.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 146 | <!-- Used by persistence --> |
| 147 | <jsr305.api.version>3.0.0</jsr305.api.version> |
| 148 | <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560 |
| 149 | is fixed (either in PowerMock or with a new JUnit release) --> |
| 150 | <!-- Used everywhere --> |
| 151 | <junit.version>4.11</junit.version> |
| 152 | <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, |
| 153 | toolkit --> |
Dan Timoney | f680cc6 | 2018-02-15 10:09:28 -0500 | [diff] [blame] | 154 | <logback.version>1.2.2</logback.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 155 | <!-- Used by nic, sfc, sxp, tsdr --> |
| 156 | <mockito.version>1.10.19</mockito.version> |
| 157 | <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit --> |
Dan Timoney | f680cc6 | 2018-02-15 10:09:28 -0500 | [diff] [blame] | 158 | <netty.version>4.1.8.Final</netty.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 159 | <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also |
| 160 | affinity, toolkit --> |
| 161 | <slf4j.version>1.7.21</slf4j.version> |
| 162 | <!-- Used in integration/distribution; see also affinity, snmp4sdn, |
| 163 | toolkit, tsdr, ttp --> |
Timoney, Dan (dt5972) | 0492265 | 2018-03-09 14:14:12 -0500 | [diff] [blame] | 164 | <spring.version>3.2.17.RELEASE</spring.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 165 | |
| 166 | |
| 167 | |
| 168 | <!-- Extra support libraries used by SDN-C --> |
| 169 | <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version> |
| 170 | <jackson-annotations-version>${jackson.version}</jackson-annotations-version> |
| 171 | <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version> |
Dan Timoney | f680cc6 | 2018-02-15 10:09:28 -0500 | [diff] [blame] | 172 | <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version> |
| 173 | <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version> |
Timoney, Dan (dt5972) | b02ff95 | 2018-03-05 11:01:26 -0500 | [diff] [blame] | 174 | <antlr.version>4.7</antlr.version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 175 | <mysql.connector.version>5.1.39</mysql.connector.version> |
| 176 | <mariadb.connector.version>2.1.1</mariadb.connector.version> |
| 177 | <h2database.version>1.4.186</h2database.version> |
| 178 | |
Timoney, Dan (dt5972) | 2e7b0e7 | 2018-04-06 12:19:29 -0400 | [diff] [blame] | 179 | <eelf.version>1.0.0</eelf.version> |
| 180 | <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version> |
Timoney, Dan (dt5972) | ebc00be | 2018-03-21 09:00:19 -0400 | [diff] [blame] | 181 | |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 182 | <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version> |
Timoney, Dan (dt5972) | 2f4cbed | 2018-05-04 12:05:16 -0400 | [diff] [blame^] | 183 | |
| 184 | |
| 185 | <!-- Disable SingleFeatureTest, since it will fail if any dependencies are released ONAP artifacts --> |
| 186 | <skip.karaf.featureTest>true</skip.karaf.featureTest> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 187 | </properties> |
| 188 | |
| 189 | |
| 190 | <profiles> |
| 191 | <!-- Profiles from ONAP oparent --> |
| 192 | <profile> |
| 193 | <id>generate-json</id> |
| 194 | <activation> |
| 195 | <file> |
| 196 | <exists>${swagger-properties}</exists> |
| 197 | </file> |
| 198 | <property> |
| 199 | <name>swagger-sdk.generate-json</name> |
| 200 | </property> |
| 201 | </activation> |
| 202 | <build> |
| 203 | <plugins> |
| 204 | <plugin> |
| 205 | <groupId>org.codehaus.mojo</groupId> |
| 206 | <artifactId>properties-maven-plugin</artifactId> |
| 207 | <version>1.0.0</version> |
| 208 | <executions> |
| 209 | <execution> |
| 210 | <phase>initialize</phase> |
| 211 | <goals> |
| 212 | <goal>read-project-properties</goal> |
| 213 | </goals> |
| 214 | <configuration> |
| 215 | <files> |
| 216 | <file>${basedir}/src/main/resources/swagger.properties</file> |
| 217 | </files> |
| 218 | </configuration> |
| 219 | </execution> |
| 220 | </executions> |
| 221 | </plugin> |
| 222 | <plugin> |
| 223 | <groupId>com.github.kongchen</groupId> |
| 224 | <artifactId>swagger-maven-plugin</artifactId> |
| 225 | <version>3.1.4</version> |
| 226 | <configuration> |
| 227 | <apiSources> |
| 228 | <apiSource> |
| 229 | <locations>${api-rest-package}</locations> |
| 230 | <schemes>http,https</schemes> |
| 231 | <host>${api-host-ip}:${api-host-port}</host> |
| 232 | <basePath>${api-base-path}</basePath> |
| 233 | <info> |
| 234 | <title>${api-title}</title> |
| 235 | <version>${api-version}</version> |
| 236 | <description>${api-description}</description> |
| 237 | <license> |
| 238 | <name>${api-license}</name> |
| 239 | </license> |
| 240 | </info> |
| 241 | <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory> |
| 242 | </apiSource> |
| 243 | </apiSources> |
| 244 | </configuration> |
| 245 | <executions> |
| 246 | <execution> |
| 247 | <phase>compile</phase> |
| 248 | <goals> |
| 249 | <goal>generate</goal> |
| 250 | </goals> |
| 251 | </execution> |
| 252 | </executions> |
| 253 | </plugin> |
| 254 | <plugin> |
| 255 | <groupId>org.apache.maven.plugins</groupId> |
| 256 | <artifactId>maven-install-plugin</artifactId> |
| 257 | <version>2.3.1</version> |
| 258 | <executions> |
| 259 | <execution> |
| 260 | <id>install-file-id</id> |
| 261 | <phase>install</phase> |
| 262 | <goals> |
| 263 | <goal>install-file</goal> |
| 264 | </goals> |
| 265 | <configuration> |
| 266 | <file>${basedir}/src/main/resources/swagger.json</file> |
| 267 | <groupId>${project.groupId}</groupId> |
| 268 | <artifactId>${project.artifactId}-swagger-schema</artifactId> |
| 269 | <version>${project.version}</version> |
| 270 | <packaging>json</packaging> |
| 271 | </configuration> |
| 272 | </execution> |
| 273 | </executions> |
| 274 | </plugin> |
| 275 | </plugins> |
| 276 | </build> |
| 277 | </profile> |
| 278 | <profile> |
| 279 | <id>generate-sdk</id> |
| 280 | <activation> |
| 281 | <file> |
| 282 | <exists>${swagger-json}</exists> |
| 283 | </file> |
| 284 | <property> |
| 285 | <name>swagger-sdk.generate-java-sdk</name> |
| 286 | </property> |
| 287 | </activation> |
| 288 | <build> |
| 289 | <plugins> |
| 290 | <plugin> |
| 291 | <groupId>org.apache.maven.plugins</groupId> |
| 292 | <artifactId>maven-antrun-plugin</artifactId> |
| 293 | <version>1.8</version> |
| 294 | <executions> |
| 295 | <execution> |
| 296 | <phase>initialize</phase> |
| 297 | <id>ant-create-script</id> |
| 298 | <configuration> |
| 299 | <exportAntProperties>true</exportAntProperties> |
| 300 | <tasks> |
| 301 | |
| 302 | <taskdef |
| 303 | resource="net/sf/antcontrib/antlib.xml" |
| 304 | classpathref="maven.plugin.classpath" /> |
| 305 | <condition property="is_windows" |
| 306 | value="true"> |
| 307 | <os family="windows" /> |
| 308 | </condition> |
| 309 | <condition property="isLinux" |
| 310 | value="true"> |
| 311 | <os family="unix" /> |
| 312 | </condition> |
| 313 | <if> |
| 314 | <equals arg1="${is_windows}" |
| 315 | arg2="true" /> |
| 316 | <then> |
| 317 | <property |
| 318 | name="swagger.sdk.script.file" |
| 319 | value="generated-source-script.bat" /> |
| 320 | <echo |
| 321 | file="${project.build.directory}${file.separator}generated-source-script.bat" |
| 322 | append="true" |
| 323 | message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" /> |
| 324 | <echo |
| 325 | file="${project.build.directory}${file.separator}generated-source-script.bat" |
| 326 | append="true" |
| 327 | message="mvn clean install -Dmaven.test.skip=true${line.separator}" /> |
| 328 | </then> |
| 329 | <else> |
| 330 | <property |
| 331 | name="swagger.sdk.script.file" |
| 332 | value="generated-source-script.sh" /> |
| 333 | <echo |
| 334 | file="${project.build.directory}${file.separator}generated-source-script.sh" |
| 335 | append="true" |
| 336 | message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" /> |
| 337 | <echo |
| 338 | file="${project.build.directory}${file.separator}generated-source-script.sh" |
| 339 | append="true" |
| 340 | message="mvn clean install -Dmaven.test.skip=true${line.separator}" /> |
| 341 | <chmod |
| 342 | file="${project.build.directory}${file.separator}generated-source-script.sh" |
| 343 | perm="755" /> |
| 344 | </else> |
| 345 | </if> |
| 346 | </tasks> |
| 347 | </configuration> |
| 348 | <goals> |
| 349 | <goal>run</goal> |
| 350 | </goals> |
| 351 | </execution> |
| 352 | </executions> |
| 353 | <dependencies> |
| 354 | <dependency> |
| 355 | <groupId>ant-contrib</groupId> |
| 356 | <artifactId>ant-contrib</artifactId> |
| 357 | <version>1.0b3</version> |
| 358 | <exclusions> |
| 359 | <exclusion> |
| 360 | <artifactId>ant</artifactId> |
| 361 | <groupId>ant</groupId> |
| 362 | </exclusion> |
| 363 | </exclusions> |
| 364 | </dependency> |
| 365 | </dependencies> |
| 366 | </plugin> |
| 367 | <plugin> |
| 368 | <groupId>io.swagger</groupId> |
| 369 | <artifactId>swagger-codegen-maven-plugin</artifactId> |
| 370 | <version>2.2.1</version> |
| 371 | <executions> |
| 372 | <execution> |
| 373 | <goals> |
| 374 | <goal>generate</goal> |
| 375 | </goals> |
| 376 | <configuration> |
| 377 | <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec> |
| 378 | <output>${project.build.directory}/generated-sources</output> |
| 379 | <language>java</language> |
| 380 | <configOptions> |
| 381 | <dateLibrary>joda</dateLibrary> |
| 382 | </configOptions> |
| 383 | <library>jersey2</library> |
| 384 | <groupId>${project.groupId}</groupId> |
| 385 | <artifactId>${project.artifactId}-java-sdk</artifactId> |
| 386 | <artifactVersion>${project.version}</artifactVersion> |
| 387 | <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage> |
| 388 | <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage> |
| 389 | <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage> |
| 390 | </configuration> |
| 391 | </execution> |
| 392 | </executions> |
| 393 | </plugin> |
| 394 | <plugin> |
| 395 | <artifactId>exec-maven-plugin</artifactId> |
| 396 | <groupId>org.codehaus.mojo</groupId> |
| 397 | <version>1.5.0</version> |
| 398 | <executions> |
| 399 | <execution> |
| 400 | <id>swagger-generate-sources</id> |
| 401 | <phase>generate-sources</phase> |
| 402 | <goals> |
| 403 | <goal>exec</goal> |
| 404 | </goals> |
| 405 | <configuration> |
| 406 | <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable> |
| 407 | </configuration> |
| 408 | </execution> |
| 409 | </executions> |
| 410 | </plugin> |
| 411 | <plugin> |
| 412 | <groupId>org.apache.maven.plugins</groupId> |
| 413 | <artifactId>maven-clean-plugin</artifactId> |
| 414 | <version>3.0.0</version> |
| 415 | <executions> |
| 416 | <execution> |
| 417 | <id>clean-generated-files</id> |
| 418 | <phase>generate-sources</phase> |
| 419 | <goals> |
| 420 | <goal>clean</goal> |
| 421 | </goals> |
| 422 | <configuration> |
| 423 | <filesets> |
| 424 | <fileset> |
| 425 | <directory>${project.build.directory}/generated-sources</directory> |
| 426 | </fileset> |
| 427 | </filesets> |
| 428 | </configuration> |
| 429 | </execution> |
| 430 | </executions> |
| 431 | </plugin> |
| 432 | </plugins> |
| 433 | </build> |
| 434 | <dependencies> |
| 435 | <dependency> |
| 436 | <groupId>org.onap.msb.swagger-sdk</groupId> |
| 437 | <artifactId>swagger-sdk</artifactId> |
| 438 | <version>1.0.0</version> |
| 439 | </dependency> |
| 440 | </dependencies> |
| 441 | </profile> |
| 442 | |
| 443 | <!-- End of profiles from ONAP oparent --> |
| 444 | |
| 445 | </profiles> |
| 446 | |
| 447 | |
| 448 | <dependencyManagement> |
| 449 | <dependencies> |
| 450 | <dependency> |
Dan Timoney | 1f55bc8 | 2018-02-12 10:35:37 -0500 | [diff] [blame] | 451 | <groupId>org.opendaylight.mdsal.model</groupId> |
| 452 | <artifactId>mdsal-model-artifacts</artifactId> |
| 453 | <version>0.11.1</version> |
| 454 | <type>pom</type> |
| 455 | <scope>import</scope> |
| 456 | </dependency> |
| 457 | <dependency> |
| 458 | <groupId>org.opendaylight.controller</groupId> |
| 459 | <artifactId>mdsal-artifacts</artifactId> |
| 460 | <version>1.6.1</version> |
| 461 | <type>pom</type> |
| 462 | <scope>import</scope> |
| 463 | </dependency> |
| 464 | <dependency> |
Dan Timoney | 3c5275a | 2018-02-26 19:37:10 -0500 | [diff] [blame] | 465 | <groupId>org.onap.ccsdk.sli.core</groupId> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 466 | <artifactId>sli-common</artifactId> |
Dan Timoney | 3c5275a | 2018-02-26 19:37:10 -0500 | [diff] [blame] | 467 | <version>${ccsdk.sli.core.version}</version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 468 | </dependency> |
| 469 | |
| 470 | <dependency> |
Dan Timoney | 3c5275a | 2018-02-26 19:37:10 -0500 | [diff] [blame] | 471 | <groupId>org.onap.ccsdk.sli.core</groupId> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 472 | <artifactId>sli-provider</artifactId> |
Dan Timoney | 3c5275a | 2018-02-26 19:37:10 -0500 | [diff] [blame] | 473 | <version>${ccsdk.sli.core.version}</version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 474 | </dependency> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 475 | <dependency> |
Dan Timoney | 3c5275a | 2018-02-26 19:37:10 -0500 | [diff] [blame] | 476 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 477 | <artifactId>ccsdk-sli</artifactId> |
| 478 | <version>${ccsdk.sli.core.version}</version> |
| 479 | <type>xml</type> |
| 480 | <classifier>features</classifier> |
| 481 | </dependency> |
| 482 | <dependency> |
| 483 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 484 | <artifactId>aai-service-provider</artifactId> |
| 485 | <version>${sdnctl.aai.service.version}</version> |
| 486 | </dependency> |
| 487 | |
| 488 | <dependency> |
Dan Timoney | 3c5275a | 2018-02-26 19:37:10 -0500 | [diff] [blame] | 489 | <groupId>org.onap.ccsdk.sli.core</groupId> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 490 | <artifactId>dblib-provider</artifactId> |
| 491 | <version>${sdnctl.dblib.version}</version> |
| 492 | </dependency> |
Dan Timoney | 3c5275a | 2018-02-26 19:37:10 -0500 | [diff] [blame] | 493 | |
| 494 | <dependency> |
| 495 | <groupId>org.testng</groupId> |
| 496 | <artifactId>testng</artifactId> |
| 497 | <version>6.11</version> |
| 498 | </dependency> |
| 499 | <dependency> |
| 500 | <groupId>org.springframework</groupId> |
| 501 | <artifactId>spring-test</artifactId> |
| 502 | <version>${spring.version}</version> |
| 503 | </dependency> |
| 504 | <dependency> |
| 505 | <groupId>org.springframework</groupId> |
| 506 | <artifactId>spring-beans</artifactId> |
| 507 | <version>${spring.version}</version> |
| 508 | </dependency> |
| 509 | <dependency> |
| 510 | <groupId>org.springframework</groupId> |
| 511 | <artifactId>spring-context</artifactId> |
| 512 | <version>${spring.version}</version> |
| 513 | </dependency> |
Timoney, Dan (dt5972) | ebc00be | 2018-03-21 09:00:19 -0400 | [diff] [blame] | 514 | <dependency> |
| 515 | <groupId>com.att.eelf</groupId> |
| 516 | <artifactId>eelf-core</artifactId> |
| 517 | <version>${eelf.version}</version> |
| 518 | </dependency> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 519 | </dependencies> |
| 520 | |
| 521 | </dependencyManagement> |
| 522 | |
| 523 | |
| 524 | <reporting> |
| 525 | <plugins> |
| 526 | <plugin> |
| 527 | <artifactId>maven-javadoc-plugin</artifactId> |
| 528 | <version>2.10.4</version> |
| 529 | <configuration> |
| 530 | <failOnError>false</failOnError> |
| 531 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 532 | <docletArtifact> |
| 533 | <groupId>org.umlgraph</groupId> |
| 534 | <artifactId>umlgraph</artifactId> |
| 535 | <version>5.6</version> |
| 536 | </docletArtifact> |
| 537 | <additionalparam>-views</additionalparam> |
| 538 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 539 | <excludePackageNames>org.opendaylight.*</excludePackageNames> |
| 540 | <additionalDependencies> |
| 541 | <additionalDependency> |
| 542 | <groupId>org.slf4j</groupId> |
| 543 | <artifactId>slf4j-api</artifactId> |
| 544 | <version>${slf4j.version}</version> |
| 545 | </additionalDependency> |
| 546 | <additionalDependency> |
| 547 | <groupId>org.antlr</groupId> |
| 548 | <artifactId>antlr4</artifactId> |
| 549 | <version>${antlr.version}</version> |
| 550 | </additionalDependency> |
| 551 | <additionalDependency> |
| 552 | <groupId>org.antlr</groupId> |
| 553 | <artifactId>antlr4-runtime</artifactId> |
| 554 | <version>${antlr.version}</version> |
| 555 | </additionalDependency> |
| 556 | |
| 557 | <additionalDependency> |
| 558 | <groupId>com.sun.jersey</groupId> |
| 559 | <artifactId>jersey-client</artifactId> |
| 560 | <version>${jersey.json.version}</version> |
| 561 | </additionalDependency> |
| 562 | <additionalDependency> |
| 563 | <groupId>com.sun.jersey</groupId> |
| 564 | <artifactId>jersey-core</artifactId> |
| 565 | <version>${jersey.json.version}</version> |
| 566 | </additionalDependency> |
| 567 | <additionalDependency> |
| 568 | <groupId>org.apache.httpcomponents</groupId> |
| 569 | <artifactId>httpcore-osgi</artifactId> |
| 570 | <version>${apache.httpcomponents.core.version}</version> |
| 571 | </additionalDependency> |
| 572 | <additionalDependency> |
| 573 | <groupId>org.apache.httpcomponents</groupId> |
| 574 | <artifactId>httpclient-osgi</artifactId> |
| 575 | <version>${apache.httpcomponents.client.version}</version> |
| 576 | </additionalDependency> |
| 577 | <additionalDependency> |
| 578 | <groupId>com.fasterxml.jackson.core</groupId> |
| 579 | <artifactId>jackson-databind</artifactId> |
| 580 | <version>${fasterxml.jackson.version}</version> |
| 581 | </additionalDependency> |
| 582 | <additionalDependency> |
| 583 | <groupId>com.fasterxml.jackson.core</groupId> |
| 584 | <artifactId>jackson-annotations</artifactId> |
| 585 | <version>${fasterxml.jackson.version}</version> |
| 586 | </additionalDependency> |
| 587 | <additionalDependency> |
| 588 | <groupId>com.fasterxml.jackson.core</groupId> |
| 589 | <artifactId>jackson-core</artifactId> |
| 590 | <version>${fasterxml.jackson.version}</version> |
| 591 | </additionalDependency> |
| 592 | <additionalDependency> |
| 593 | <groupId>commons-lang</groupId> |
| 594 | <artifactId>commons-lang</artifactId> |
| 595 | <version>${commons.lang.version}</version> |
| 596 | </additionalDependency> |
| 597 | </additionalDependencies> |
| 598 | </configuration> |
| 599 | <reportSets> |
| 600 | <reportSet> |
| 601 | <reports> |
| 602 | <report>javadoc-no-fork</report> |
| 603 | <report>test-javadoc-no-fork</report> |
| 604 | </reports> |
| 605 | </reportSet> |
| 606 | <reportSet> |
| 607 | <id>aggregate</id> |
| 608 | <reports> |
| 609 | <report>aggregate</report> |
| 610 | <report>test-aggregate</report> |
| 611 | </reports> |
| 612 | </reportSet> |
| 613 | </reportSets> |
| 614 | </plugin> |
| 615 | <plugin> |
| 616 | <groupId>org.apache.maven.plugins</groupId> |
| 617 | <artifactId>maven-jxr-plugin</artifactId> |
| 618 | <version>2.3</version> |
| 619 | <reportSets> |
| 620 | <reportSet> |
| 621 | <id>aggregate</id> |
| 622 | <reports> |
| 623 | <report>aggregate</report> |
| 624 | <report>test-aggregate</report> |
| 625 | </reports> |
| 626 | </reportSet> |
| 627 | </reportSets> |
| 628 | </plugin> |
| 629 | |
| 630 | <plugin> |
| 631 | <artifactId>maven-surefire-plugin</artifactId> |
| 632 | <version>2.17</version> |
| 633 | </plugin> |
| 634 | <plugin> |
| 635 | <groupId>org.apache.maven.plugins</groupId> |
| 636 | <artifactId>maven-changelog-plugin</artifactId> |
| 637 | <version>2.3</version> |
| 638 | <reportSets> |
| 639 | <reportSet> |
| 640 | <id>dual-report</id> |
| 641 | <configuration> |
| 642 | <type>range</type> |
| 643 | <range>30</range> |
| 644 | </configuration> |
| 645 | <reports> |
| 646 | <report>changelog</report> |
| 647 | <report>file-activity</report> |
| 648 | </reports> |
| 649 | </reportSet> |
| 650 | </reportSets> |
| 651 | </plugin> |
| 652 | <plugin> |
| 653 | <groupId>org.codehaus.mojo</groupId> |
| 654 | <artifactId>taglist-maven-plugin</artifactId> |
| 655 | <version>2.4</version> |
| 656 | </plugin> |
| 657 | </plugins> |
| 658 | </reporting> |
| 659 | |
| 660 | |
| 661 | <pluginRepositories> |
| 662 | <pluginRepository> |
| 663 | <id>onap-public</id> |
| 664 | <url>${onap.nexus.public-url}</url> |
| 665 | <releases> |
| 666 | <enabled>true</enabled> |
| 667 | </releases> |
| 668 | <snapshots> |
| 669 | <enabled>true</enabled> |
| 670 | </snapshots> |
| 671 | </pluginRepository> |
| 672 | <pluginRepository> |
Timoney, Dan (dt5972) | 5928613 | 2018-04-16 10:13:15 -0400 | [diff] [blame] | 673 | <id>onap-staging</id> |
| 674 | <url>${onap.nexus.staging-url}</url> |
| 675 | <releases> |
| 676 | <enabled>true</enabled> |
| 677 | </releases> |
| 678 | <snapshots> |
| 679 | <enabled>true</enabled> |
| 680 | </snapshots> |
| 681 | </pluginRepository> |
| 682 | <pluginRepository> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 683 | <id>onap-snapshot</id> |
| 684 | <url>${onap.nexus.snapshot-url}</url> |
| 685 | <releases> |
| 686 | <enabled>false</enabled> |
| 687 | </releases> |
| 688 | <snapshots> |
| 689 | <enabled>true</enabled> |
| 690 | </snapshots> |
| 691 | </pluginRepository> |
| 692 | <pluginRepository> |
| 693 | <id>opendaylight-mirror</id> |
| 694 | <name>opendaylight-mirror</name> |
| 695 | <url>${opendaylight.nexus.public-url}</url> |
| 696 | <releases> |
| 697 | <enabled>true</enabled> |
| 698 | <updatePolicy>never</updatePolicy> |
| 699 | </releases> |
| 700 | <snapshots> |
| 701 | <enabled>false</enabled> |
| 702 | </snapshots> |
| 703 | </pluginRepository> |
| 704 | <pluginRepository> |
| 705 | <id>opendaylight-snapshot</id> |
| 706 | <name>opendaylight-snapshot</name> |
| 707 | <url>${opendaylight.nexus.snapshot-url}</url> |
| 708 | <releases> |
| 709 | <enabled>false</enabled> |
| 710 | </releases> |
| 711 | <snapshots> |
| 712 | <enabled>true</enabled> |
| 713 | </snapshots> |
| 714 | </pluginRepository> |
| 715 | <!-- Black Duck plugin dependencies --> |
| 716 | <pluginRepository> |
| 717 | <id>JCenter</id> |
| 718 | <name>JCenter Repository</name> |
| 719 | <url>http://jcenter.bintray.com</url> |
| 720 | </pluginRepository> |
| 721 | |
| 722 | <pluginRepository> |
| 723 | <id>Restlet</id> |
| 724 | <name>Restlet Repository</name> |
| 725 | <url>http://maven.restlet.com</url> |
| 726 | </pluginRepository> |
| 727 | </pluginRepositories> |
| 728 | |
| 729 | |
| 730 | <repositories> |
| 731 | <repository> |
| 732 | <id>onap-public</id> |
| 733 | <url>https://nexus.onap.org/content/groups/public</url> |
| 734 | <releases> |
| 735 | <enabled>true</enabled> |
| 736 | <updatePolicy>never</updatePolicy> |
| 737 | </releases> |
| 738 | <snapshots> |
| 739 | <enabled>true</enabled> |
| 740 | <updatePolicy>always</updatePolicy> |
| 741 | </snapshots> |
| 742 | </repository> |
| 743 | <repository> |
| 744 | <id>onap-staging</id> |
| 745 | <url>https://nexus.onap.org/content/groups/staging</url> |
| 746 | <releases> |
| 747 | <enabled>true</enabled> |
| 748 | <updatePolicy>never</updatePolicy> |
| 749 | </releases> |
| 750 | <snapshots> |
| 751 | <enabled>true</enabled> |
| 752 | <updatePolicy>always</updatePolicy> |
| 753 | </snapshots> |
| 754 | </repository> |
| 755 | <repository> |
| 756 | <id>ecomp-release</id> |
| 757 | <name>onap-repository-releases</name> |
| 758 | <url>https://nexus.onap.org/content/repositories/releases</url> |
| 759 | <releases> |
| 760 | <enabled>true</enabled> |
| 761 | <updatePolicy>never</updatePolicy> |
| 762 | </releases> |
| 763 | <snapshots> |
| 764 | <enabled>false</enabled> |
| 765 | </snapshots> |
| 766 | </repository> |
| 767 | <repository> |
| 768 | <id>ecomp-snapshot</id> |
| 769 | <name>onap-repository-snapshots</name> |
| 770 | <url>https://nexus.onap.org/content/repositories/snapshots</url> |
| 771 | <releases> |
| 772 | <enabled>false</enabled> |
| 773 | </releases> |
| 774 | <snapshots> |
| 775 | <enabled>true</enabled> |
| 776 | </snapshots> |
| 777 | </repository> |
| 778 | <repository> |
| 779 | <id>opendaylight-mirror</id> |
| 780 | <name>opendaylight-mirror</name> |
| 781 | <url>https://nexus.opendaylight.org/content/repositories/public/</url> |
| 782 | <releases> |
| 783 | <enabled>true</enabled> |
| 784 | <updatePolicy>never</updatePolicy> |
| 785 | </releases> |
| 786 | <snapshots> |
| 787 | <enabled>false</enabled> |
| 788 | </snapshots> |
| 789 | </repository> |
| 790 | <repository> |
| 791 | <id>opendaylight-snapshot</id> |
| 792 | <name>opendaylight-snapshot</name> |
| 793 | <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url> |
| 794 | <releases> |
| 795 | <enabled>false</enabled> |
| 796 | </releases> |
| 797 | <snapshots> |
| 798 | <enabled>true</enabled> |
| 799 | </snapshots> |
| 800 | </repository> |
| 801 | |
| 802 | </repositories> |
| 803 | |
| 804 | <distributionManagement> |
| 805 | <repository> |
| 806 | <id>ecomp-releases</id> |
Dan Timoney | 45ddb6c | 2018-02-06 10:19:20 -0500 | [diff] [blame] | 807 | <url>http://nexus.onap.org/content/repositories/releases</url> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 808 | </repository> |
| 809 | <snapshotRepository> |
| 810 | <id>ecomp-snapshots</id> |
Dan Timoney | 45ddb6c | 2018-02-06 10:19:20 -0500 | [diff] [blame] | 811 | <url>http://nexus.onap.org/content/repositories/snapshots</url> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 812 | </snapshotRepository> |
| 813 | </distributionManagement> |
| 814 | |
| 815 | <build> |
| 816 | <pluginManagement> |
| 817 | <plugins> |
| 818 | |
| 819 | <!-- Plugins from ONAP oparent --> |
| 820 | <plugin> |
| 821 | <groupId>org.apache.maven.plugins</groupId> |
| 822 | <artifactId>maven-deploy-plugin</artifactId> |
| 823 | <!-- This version supports the "deployAtEnd" parameter --> |
| 824 | <version>2.8</version> |
| 825 | <configuration> |
| 826 | <skip /> |
| 827 | </configuration> |
| 828 | </plugin> |
| 829 | |
| 830 | <plugin> |
| 831 | <groupId>org.apache.maven.plugins</groupId> |
| 832 | <artifactId>maven-site-plugin</artifactId> |
| 833 | <version>3.6</version> |
| 834 | <dependencies> |
| 835 | <dependency> |
| 836 | <groupId>org.apache.maven.wagon</groupId> |
| 837 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 838 | <version>2.10</version> |
| 839 | </dependency> |
| 840 | <dependency> |
| 841 | <groupId>org.apache.maven.doxia</groupId> |
| 842 | <artifactId>doxia-core</artifactId> |
| 843 | <version>1.7</version> |
| 844 | </dependency> |
| 845 | <dependency> |
| 846 | <groupId>org.apache.maven.doxia</groupId> |
| 847 | <artifactId>doxia-sink-api</artifactId> |
| 848 | <version>1.7</version> |
| 849 | </dependency> |
| 850 | <dependency> |
| 851 | <groupId>org.apache.maven.doxia</groupId> |
| 852 | <artifactId>doxia-logging-api</artifactId> |
| 853 | <version>1.7</version> |
| 854 | </dependency> |
| 855 | </dependencies> |
| 856 | <executions> |
| 857 | <execution> |
| 858 | <id>attach-descriptor</id> |
| 859 | <goals> |
| 860 | <goal>attach-descriptor</goal> |
| 861 | </goals> |
| 862 | </execution> |
| 863 | </executions> |
| 864 | </plugin> |
| 865 | <plugin> |
| 866 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 867 | <version>2.17</version> |
| 868 | <dependencies> |
| 869 | <dependency> |
| 870 | <groupId>org.onap.oparent</groupId> |
| 871 | <artifactId>checkstyle</artifactId> |
Timoney, Dan (dt5972) | 5928613 | 2018-04-16 10:13:15 -0400 | [diff] [blame] | 872 | <version>1.1.1</version> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 873 | </dependency> |
| 874 | </dependencies> |
| 875 | <executions> |
| 876 | <execution> |
| 877 | <id>check-license</id> |
| 878 | <goals> |
| 879 | <goal>check</goal> |
| 880 | </goals> |
| 881 | <phase>process-sources</phase> |
| 882 | <configuration> |
| 883 | <configLocation>onap-checkstyle/check-license.xml</configLocation> |
| 884 | <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation> |
| 885 | <includeResources>false</includeResources> |
| 886 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 887 | <includeTestResources>false</includeTestResources> |
| 888 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 889 | <excludes> |
| 890 | </excludes> |
| 891 | <failsOnError>false</failsOnError> |
| 892 | <consoleOutput>true</consoleOutput> |
| 893 | </configuration> |
| 894 | </execution> |
| 895 | <execution> |
| 896 | <id>check-style</id> |
| 897 | <goals> |
| 898 | <goal>check</goal> |
| 899 | </goals> |
| 900 | <phase>process-sources</phase> |
| 901 | <configuration> |
| 902 | <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 903 | with minor changes --> |
| 904 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 905 | <!-- <sourceDirectory> is needed so that |
| 906 | checkstyle ignores the generated sources directory --> |
| 907 | <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory> |
| 908 | <includeResources>true</includeResources> |
| 909 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 910 | <includeTestResources>true</includeTestResources> |
| 911 | <excludes> |
| 912 | </excludes> |
| 913 | <failsOnError>false</failsOnError> |
| 914 | <consoleOutput>true</consoleOutput> |
| 915 | </configuration> |
| 916 | </execution> |
| 917 | </executions> |
| 918 | </plugin> |
| 919 | <plugin> |
| 920 | <groupId>org.jacoco</groupId> |
| 921 | <artifactId>jacoco-maven-plugin</artifactId> |
| 922 | <version>${jacoco.version}</version> |
| 923 | <configuration> |
| 924 | <!-- Note: This exclusion list should match <sonar.exclusions> |
| 925 | property above --> |
| 926 | <excludes> |
| 927 | <exclude>**/gen/**</exclude> |
| 928 | <exclude>**/generated-sources/**</exclude> |
| 929 | <exclude>**/yang-gen/**</exclude> |
| 930 | <exclude>**/pax/**</exclude> |
| 931 | </excludes> |
| 932 | </configuration> |
| 933 | <executions> |
| 934 | <!-- Prepares the property pointing to the JaCoCo |
| 935 | runtime agent which is passed as VM argument when Maven the Surefire plugin |
| 936 | is executed. --> |
| 937 | <execution> |
| 938 | <id>pre-unit-test</id> |
| 939 | <goals> |
| 940 | <goal>prepare-agent</goal> |
| 941 | </goals> |
| 942 | <configuration> |
| 943 | <!-- Sets the path to the file which contains |
| 944 | the execution data. --> |
| 945 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
| 946 | <!-- Sets the name of the property containing |
| 947 | the settings for JaCoCo runtime agent. --> |
| 948 | <propertyName>surefireArgLine</propertyName> |
| 949 | </configuration> |
| 950 | </execution> |
| 951 | <!-- Ensures that the code coverage report for unit |
| 952 | tests is created after unit tests have been run. --> |
| 953 | <execution> |
| 954 | <id>post-unit-test</id> |
| 955 | <phase>test</phase> |
| 956 | <goals> |
| 957 | <goal>report</goal> |
| 958 | </goals> |
| 959 | <configuration> |
| 960 | <!-- Sets the path to the file which contains |
| 961 | the execution data. --> |
| 962 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 963 | <!-- Sets the output directory for the code |
| 964 | coverage report. --> |
| 965 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 966 | </configuration> |
| 967 | </execution> |
| 968 | <execution> |
| 969 | <id>pre-integration-test</id> |
| 970 | <phase>pre-integration-test</phase> |
| 971 | <goals> |
| 972 | <goal>prepare-agent</goal> |
| 973 | </goals> |
| 974 | <configuration> |
| 975 | <!-- Sets the path to the file which contains |
| 976 | the execution data. --> |
| 977 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
| 978 | <!-- Sets the name of the property containing |
| 979 | the settings for JaCoCo runtime agent. --> |
| 980 | <propertyName>failsafeArgLine</propertyName> |
| 981 | </configuration> |
| 982 | </execution> |
| 983 | <!-- Ensures that the code coverage report for integration |
| 984 | tests after integration tests have been run. --> |
| 985 | <execution> |
| 986 | <id>post-integration-test</id> |
| 987 | <phase>post-integration-test</phase> |
| 988 | <goals> |
| 989 | <goal>report</goal> |
| 990 | </goals> |
| 991 | <configuration> |
| 992 | <!-- Sets the path to the file which contains |
| 993 | the execution data. --> |
| 994 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 995 | <!-- Sets the output directory for the code |
| 996 | coverage report. --> |
| 997 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 998 | </configuration> |
| 999 | </execution> |
| 1000 | </executions> |
| 1001 | </plugin> |
| 1002 | <plugin> |
| 1003 | <groupId>org.apache.maven.plugins</groupId> |
| 1004 | <artifactId>maven-surefire-plugin</artifactId> |
| 1005 | <version>2.19.1</version> |
| 1006 | <configuration> |
| 1007 | <!-- Sets the VM argument line used when unit tests |
| 1008 | are run. --> |
| 1009 | <argLine>${surefireArgLine}</argLine> |
| 1010 | <!-- Excludes integration tests when unit tests are |
| 1011 | run. --> |
| 1012 | <excludes> |
| 1013 | <exclude>**/IT*.java</exclude> |
| 1014 | </excludes> |
| 1015 | </configuration> |
| 1016 | </plugin> |
| 1017 | <plugin> |
| 1018 | <groupId>org.apache.maven.plugins</groupId> |
| 1019 | <artifactId>maven-failsafe-plugin</artifactId> |
| 1020 | <version>2.19.1</version> |
| 1021 | <executions> |
| 1022 | <!-- Ensures that both integration-test and verify |
| 1023 | goals of the Failsafe Maven plugin are executed. --> |
| 1024 | <execution> |
| 1025 | <id>integration-tests</id> |
| 1026 | <goals> |
| 1027 | <goal>integration-test</goal> |
| 1028 | <goal>verify</goal> |
| 1029 | </goals> |
| 1030 | <configuration> |
| 1031 | <!-- Sets the VM argument line used when |
| 1032 | integration tests are run. --> |
| 1033 | <argLine>${failsafeArgLine}</argLine> |
| 1034 | </configuration> |
| 1035 | </execution> |
| 1036 | </executions> |
| 1037 | </plugin> |
| 1038 | <plugin> |
| 1039 | <groupId>org.apache.maven.plugins</groupId> |
| 1040 | <artifactId>maven-compiler-plugin</artifactId> |
| 1041 | <version>${maven.compile.plugin.version}</version> |
| 1042 | <configuration> |
| 1043 | <source>${java.version.source}</source> |
| 1044 | <target>${java.version.target}</target> |
| 1045 | </configuration> |
| 1046 | </plugin> |
| 1047 | <plugin> |
| 1048 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 1049 | <artifactId>sonar-maven-plugin</artifactId> |
| 1050 | <version>3.3.0.603</version> |
| 1051 | </plugin> |
| 1052 | |
| 1053 | <!-- End of plugins from ONAP oparent --> |
| 1054 | |
| 1055 | <plugin> |
| 1056 | <groupId>org.apache.maven.plugins</groupId> |
| 1057 | <artifactId>maven-javadoc-plugin</artifactId> |
| 1058 | <version>2.10</version> |
| 1059 | <configuration> |
| 1060 | <additionalDependencies> |
| 1061 | <additionalDependency> |
| 1062 | <groupId>org.slf4j</groupId> |
| 1063 | <artifactId>slf4j-api</artifactId> |
| 1064 | <version>${slf4j.version}</version> |
| 1065 | </additionalDependency> |
| 1066 | <additionalDependency> |
| 1067 | <groupId>org.antlr</groupId> |
| 1068 | <artifactId>antlr4</artifactId> |
| 1069 | <version>${antlr.version}</version> |
| 1070 | </additionalDependency> |
| 1071 | <additionalDependency> |
| 1072 | <groupId>org.antlr</groupId> |
| 1073 | <artifactId>antlr4-runtime</artifactId> |
| 1074 | <version>${antlr.version}</version> |
| 1075 | </additionalDependency> |
| 1076 | |
| 1077 | <additionalDependency> |
| 1078 | <groupId>com.sun.jersey</groupId> |
| 1079 | <artifactId>jersey-client</artifactId> |
| 1080 | <version>${jersey.client.version}</version> |
| 1081 | </additionalDependency> |
| 1082 | <additionalDependency> |
| 1083 | <groupId>com.sun.jersey</groupId> |
| 1084 | <artifactId>jersey-core</artifactId> |
| 1085 | <version>${jersey.version}</version> |
| 1086 | </additionalDependency> |
| 1087 | <additionalDependency> |
| 1088 | <groupId>org.apache.httpcomponents</groupId> |
| 1089 | <artifactId>httpcore-osgi</artifactId> |
| 1090 | <version>${apache.httpcomponents.core.version}</version> |
| 1091 | </additionalDependency> |
| 1092 | <additionalDependency> |
| 1093 | <groupId>org.apache.httpcomponents</groupId> |
| 1094 | <artifactId>httpclient-osgi</artifactId> |
| 1095 | <version>${apache.httpcomponents.client.version}</version> |
| 1096 | </additionalDependency> |
| 1097 | <additionalDependency> |
| 1098 | <groupId>com.fasterxml.jackson.core</groupId> |
| 1099 | <artifactId>jackson-databind</artifactId> |
| 1100 | <version>${jackson.version}</version> |
| 1101 | </additionalDependency> |
| 1102 | <additionalDependency> |
| 1103 | <groupId>com.fasterxml.jackson.core</groupId> |
| 1104 | <artifactId>jackson-annotations</artifactId> |
| 1105 | <version>${jackson.version}</version> |
| 1106 | </additionalDependency> |
| 1107 | <additionalDependency> |
| 1108 | <groupId>com.fasterxml.jackson.core</groupId> |
| 1109 | <artifactId>jackson-core</artifactId> |
| 1110 | <version>${jackson.version}</version> |
| 1111 | </additionalDependency> |
| 1112 | <additionalDependency> |
| 1113 | <groupId>commons-lang</groupId> |
| 1114 | <artifactId>commons-lang</artifactId> |
| 1115 | <version>${commons.lang.version}</version> |
| 1116 | </additionalDependency> |
| 1117 | </additionalDependencies> |
| 1118 | </configuration> |
| 1119 | |
| 1120 | <executions> |
| 1121 | <execution> |
| 1122 | <id>aggregate</id> |
| 1123 | <goals> |
| 1124 | <goal>aggregate</goal> |
| 1125 | </goals> |
| 1126 | <phase>site</phase> |
| 1127 | |
| 1128 | </execution> |
| 1129 | </executions> |
| 1130 | </plugin> |
| 1131 | <plugin> |
| 1132 | <artifactId>maven-source-plugin</artifactId> |
| 1133 | <version>2.1.1</version> |
| 1134 | <executions> |
| 1135 | <execution> |
| 1136 | <id>bundle-sources</id> |
| 1137 | <phase>package</phase> |
| 1138 | <goals> |
| 1139 | <!-- produce source artifact for main project |
| 1140 | sources --> |
| 1141 | <goal>jar-no-fork</goal> |
| 1142 | |
| 1143 | <!-- produce source artifact for project |
| 1144 | test sources --> |
| 1145 | <goal>test-jar-no-fork</goal> |
| 1146 | </goals> |
| 1147 | </execution> |
| 1148 | </executions> |
| 1149 | </plugin> |
| 1150 | |
| 1151 | |
| 1152 | </plugins> |
| 1153 | |
| 1154 | </pluginManagement> |
| 1155 | |
| 1156 | <plugins> |
| 1157 | <!-- Plugins from ONAP oparent --> |
| 1158 | <plugin> |
| 1159 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 1160 | </plugin> |
| 1161 | <plugin> |
| 1162 | <groupId>org.codehaus.mojo</groupId> |
| 1163 | <artifactId>build-helper-maven-plugin</artifactId> |
| 1164 | <version>1.12</version> |
| 1165 | </plugin> |
| 1166 | <!-- Jacoco / Sonar --> |
| 1167 | <plugin> |
| 1168 | <groupId>org.jacoco</groupId> |
| 1169 | <artifactId>jacoco-maven-plugin</artifactId> |
| 1170 | </plugin> |
| 1171 | <plugin> |
| 1172 | <groupId>org.apache.maven.plugins</groupId> |
| 1173 | <artifactId>maven-surefire-plugin</artifactId> |
| 1174 | </plugin> |
| 1175 | <plugin> |
| 1176 | <groupId>org.apache.maven.plugins</groupId> |
| 1177 | <artifactId>maven-failsafe-plugin</artifactId> |
| 1178 | </plugin> |
| 1179 | |
| 1180 | <!-- End of plugins from ONAP oparent --> |
| 1181 | <plugin> |
| 1182 | <groupId>org.codehaus.mojo</groupId> |
| 1183 | <artifactId>properties-maven-plugin</artifactId> |
| 1184 | <version>1.0.0</version> |
| 1185 | <executions> |
| 1186 | <execution> |
| 1187 | <goals> |
| 1188 | <goal>set-system-properties</goal> |
| 1189 | </goals> |
| 1190 | <configuration> |
| 1191 | <properties> |
| 1192 | <property> |
| 1193 | <name>maven.wagon.http.ssl.allowall</name> |
| 1194 | <value>${ssl.allowall}</value> |
| 1195 | </property> |
| 1196 | <property> |
| 1197 | <name>maven.wagon.http.ssl.insecure</name> |
| 1198 | <value>${ssl.insecure}</value> |
| 1199 | </property> |
| 1200 | </properties> |
| 1201 | </configuration> |
| 1202 | </execution> |
| 1203 | </executions> |
| 1204 | </plugin> |
| 1205 | <plugin> |
| 1206 | <groupId>org.sonatype.plugins</groupId> |
| 1207 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 1208 | <version>1.6.7</version> |
| 1209 | <extensions>true</extensions> |
| 1210 | <configuration> |
| 1211 | <nexusUrl>${onap.nexus.url}</nexusUrl> |
| 1212 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 1213 | <serverId>ecomp-staging</serverId> |
| 1214 | </configuration> |
| 1215 | </plugin> |
| 1216 | <plugin> |
| 1217 | <groupId>org.codehaus.mojo</groupId> |
| 1218 | <artifactId>versions-maven-plugin</artifactId> |
Dan Timoney | 1f55bc8 | 2018-02-12 10:35:37 -0500 | [diff] [blame] | 1219 | <version>2.5</version> |
| 1220 | <configuration> |
| 1221 | <processAllModules>true</processAllModules> |
| 1222 | </configuration> |
Dan Timoney | 0f2db3f | 2018-01-25 16:23:27 -0500 | [diff] [blame] | 1223 | </plugin> |
| 1224 | <plugin> |
| 1225 | <artifactId>maven-scm-plugin</artifactId> |
| 1226 | <version>1.8.1</version> |
| 1227 | <configuration> |
| 1228 | <tag>${project.artifactId}-${project.version}</tag> |
| 1229 | </configuration> |
| 1230 | </plugin> |
| 1231 | </plugins> |
| 1232 | </build> |
| 1233 | <organization> |
| 1234 | <name>ONAP</name> |
| 1235 | </organization> |
| 1236 | </project> |