2009-04-28 05:59:49 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
|
2013-05-16 23:05:20 -04:00
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
2009-04-28 05:59:49 -04:00
|
|
|
|
2013-05-16 23:05:20 -04:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2009-04-28 05:59:49 -04:00
|
|
|
|
2013-05-16 23:05:20 -04:00
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
2010-01-01 12:56:29 -05:00
|
|
|
|
|
|
|
-->
|
2009-06-30 13:17:16 -04:00
|
|
|
<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/maven-v4_0_0.xsd">
|
2013-05-13 13:25:21 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache</groupId>
|
|
|
|
<artifactId>apache</artifactId>
|
2014-05-12 03:58:39 -04:00
|
|
|
<version>14</version>
|
2014-05-18 17:59:39 -04:00
|
|
|
<relativePath />
|
2013-05-13 13:25:21 -04:00
|
|
|
</parent>
|
|
|
|
<groupId>org.apache.jclouds</groupId>
|
|
|
|
<artifactId>jclouds-project</artifactId>
|
2021-04-14 10:04:13 -04:00
|
|
|
<version>2.4.0-SNAPSHOT</version>
|
2013-05-13 13:25:21 -04:00
|
|
|
<packaging>pom</packaging>
|
2013-11-21 13:15:52 -05:00
|
|
|
<name>Apache jclouds Project</name>
|
2019-05-21 07:52:22 -04:00
|
|
|
<url>https://jclouds.apache.org/</url>
|
2013-11-21 13:15:52 -05:00
|
|
|
<description>Apache jclouds: Concurrent API for Cloud Services</description>
|
2013-05-13 13:25:21 -04:00
|
|
|
<inceptionYear>2009</inceptionYear>
|
2009-04-28 05:59:49 -04:00
|
|
|
|
2013-05-13 13:25:21 -04:00
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>The Apache Software License, Version 2.0</name>
|
2019-05-21 07:52:22 -04:00
|
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
2013-05-13 13:25:21 -04:00
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
2009-04-28 05:59:49 -04:00
|
|
|
|
|
|
|
|
2013-05-13 13:25:21 -04:00
|
|
|
<issueManagement>
|
2013-05-23 15:51:38 -04:00
|
|
|
<system>JIRA</system>
|
|
|
|
<url>https://issues.apache.org/jira/browse/JCLOUDS</url>
|
2013-05-13 13:25:21 -04:00
|
|
|
</issueManagement>
|
2009-04-28 05:59:49 -04:00
|
|
|
|
2013-05-23 15:51:38 -04:00
|
|
|
|
2013-05-13 13:25:21 -04:00
|
|
|
<mailingLists>
|
|
|
|
<mailingList>
|
2013-05-23 15:51:38 -04:00
|
|
|
<name>User List</name>
|
|
|
|
<subscribe>user-subscribe@jclouds.apache.org</subscribe>
|
|
|
|
<unsubscribe>user-unsubscribe@jclouds.apache.org</unsubscribe>
|
|
|
|
<post>user@jclouds.apache.org</post>
|
2019-05-21 07:52:22 -04:00
|
|
|
<archive>https://mail-archives.apache.org/mod_mbox/jclouds-user/</archive>
|
2013-05-23 15:51:38 -04:00
|
|
|
</mailingList>
|
|
|
|
<mailingList>
|
|
|
|
<name>Developer List</name>
|
|
|
|
<subscribe>dev-subscribe@jclouds.apache.org</subscribe>
|
|
|
|
<unsubscribe>dev-unsubscribe@jclouds.apache.org</unsubscribe>
|
|
|
|
<post>dev@jclouds.apache.org</post>
|
2019-05-21 07:52:22 -04:00
|
|
|
<archive>https://mail-archives.apache.org/mod_mbox/jclouds-dev/</archive>
|
2013-05-23 15:51:38 -04:00
|
|
|
</mailingList>
|
|
|
|
<mailingList>
|
|
|
|
<name>Commits List</name>
|
|
|
|
<subscribe>commits-subscribe@jclouds.apache.org</subscribe>
|
|
|
|
<unsubscribe>commits-unsubscribe@jclouds.apache.org</unsubscribe>
|
2019-05-21 07:52:22 -04:00
|
|
|
<archive>https://mail-archives.apache.org/mod_mbox/jclouds-commits/</archive>
|
2013-05-13 13:25:21 -04:00
|
|
|
</mailingList>
|
|
|
|
<mailingList>
|
2013-05-23 15:51:38 -04:00
|
|
|
<name>Issues List</name>
|
|
|
|
<subscribe>issues-subscribe@jclouds.apache.org</subscribe>
|
|
|
|
<unsubscribe>issues-unsubscribe@jclouds.apache.org</unsubscribe>
|
2019-05-21 07:52:22 -04:00
|
|
|
<archive>https://mail-archives.apache.org/mod_mbox/jclouds-issues/</archive>
|
2013-05-13 13:25:21 -04:00
|
|
|
</mailingList>
|
|
|
|
</mailingLists>
|
2009-04-28 05:59:49 -04:00
|
|
|
|
2013-05-13 13:25:21 -04:00
|
|
|
<scm>
|
2019-01-06 01:54:38 -05:00
|
|
|
<connection>scm:git:https://gitbox.apache.org/repos/asf/jclouds.git</connection>
|
|
|
|
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/jclouds.git</developerConnection>
|
|
|
|
<url>https://gitbox.apache.org/repos/asf?p=jclouds.git</url>
|
2019-10-13 04:54:33 -04:00
|
|
|
<tag>HEAD</tag>
|
2013-05-13 13:25:21 -04:00
|
|
|
</scm>
|
2014-08-06 14:09:57 -04:00
|
|
|
|
2013-05-13 13:25:21 -04:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>apache-snapshots</id>
|
|
|
|
<url>https://repository.apache.org/content/repositories/snapshots</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
2009-04-28 05:59:49 -04:00
|
|
|
|
2014-10-05 15:24:41 -04:00
|
|
|
<!-- to allow downstream projects to access jclouds-resources in plugin config -->
|
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>apache-snapshots</id>
|
|
|
|
<url>https://repository.apache.org/content/repositories/snapshots</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
|
2013-05-13 13:25:21 -04:00
|
|
|
<developers>
|
|
|
|
<developer>
|
2015-03-29 21:16:04 -04:00
|
|
|
<name>Andrew Bayer</name>
|
|
|
|
<id>abayer</id>
|
2013-05-13 13:25:21 -04:00
|
|
|
<roles>
|
2013-05-23 15:51:38 -04:00
|
|
|
<role>Committer</role>
|
2013-11-21 13:15:52 -05:00
|
|
|
<role>PMC Member</role>
|
2013-05-13 13:25:21 -04:00
|
|
|
</roles>
|
|
|
|
</developer>
|
|
|
|
<developer>
|
2015-03-29 21:16:04 -04:00
|
|
|
<name>Andrea Turli</name>
|
|
|
|
<id>andreaturli</id>
|
2013-05-13 13:25:21 -04:00
|
|
|
<roles>
|
2013-05-23 15:51:38 -04:00
|
|
|
<role>Committer</role>
|
2013-05-13 13:25:21 -04:00
|
|
|
</roles>
|
|
|
|
</developer>
|
|
|
|
<developer>
|
2013-05-23 15:51:38 -04:00
|
|
|
<name>Andrew Gaul</name>
|
|
|
|
<id>gaul</id>
|
2013-05-13 13:25:21 -04:00
|
|
|
<roles>
|
2013-05-23 15:51:38 -04:00
|
|
|
<role>Committer</role>
|
2013-11-21 13:15:52 -05:00
|
|
|
<role>PMC Member</role>
|
2013-05-13 13:25:21 -04:00
|
|
|
</roles>
|
|
|
|
</developer>
|
|
|
|
<developer>
|
2013-05-23 15:51:38 -04:00
|
|
|
<name>Andrew Phillips</name>
|
|
|
|
<id>andrewp</id>
|
2013-05-13 13:25:21 -04:00
|
|
|
<roles>
|
2013-05-23 15:51:38 -04:00
|
|
|
<role>Committer</role>
|
2013-11-21 13:15:52 -05:00
|
|
|
<role>PMC Member</role>
|
2013-05-13 13:25:21 -04:00
|
|
|
</roles>
|
2013-05-23 15:51:38 -04:00
|
|
|
<timezone>+1</timezone>
|
2013-05-13 13:25:21 -04:00
|
|
|
</developer>
|
|
|
|
<developer>
|
2013-05-23 15:51:38 -04:00
|
|
|
<name>Becca Woods</name>
|
|
|
|
<id>silkysun</id>
|
2013-05-13 13:25:21 -04:00
|
|
|
<roles>
|
2013-05-23 15:51:38 -04:00
|
|
|
<role>Committer</role>
|
2013-11-21 13:15:52 -05:00
|
|
|
<role>PMC Member</role>
|
2013-05-13 13:25:21 -04:00
|
|
|
</roles>
|
|
|
|
</developer>
|
2015-03-29 21:16:04 -04:00
|
|
|
<developer>
|
|
|
|
<name>Chris Custine</name>
|
|
|
|
<id>ccustine</id>
|
|
|
|
<roles>
|
|
|
|
<role>Committer</role>
|
|
|
|
<role>PMC Member</role>
|
|
|
|
</roles>
|
|
|
|
</developer>
|
2013-05-13 13:25:21 -04:00
|
|
|
<developer>
|
2013-05-23 15:51:38 -04:00
|
|
|
<name>Everett Toews</name>
|
|
|
|
<id>everett</id>
|
2013-05-13 13:25:21 -04:00
|
|
|
<roles>
|
2013-05-23 15:51:38 -04:00
|
|
|
<role>Committer</role>
|
2013-11-21 13:15:52 -05:00
|
|
|
<role>PMC Member</role>
|
2013-05-23 15:51:38 -04:00
|
|
|
</roles>
|
|
|
|
</developer>
|
|
|
|
<developer>
|
|
|
|
<name>Ignasi Barrera</name>
|
|
|
|
<id>nacx</id>
|
|
|
|
<roles>
|
|
|
|
<role>Committer</role>
|
2013-11-21 13:15:52 -05:00
|
|
|
<role>PMC Member</role>
|
2013-05-23 15:51:38 -04:00
|
|
|
</roles>
|
|
|
|
</developer>
|
|
|
|
<developer>
|
|
|
|
<name>Ioannis Canellos</name>
|
|
|
|
<id>iocanel</id>
|
|
|
|
<roles>
|
|
|
|
<role>Committer</role>
|
2013-11-21 13:15:52 -05:00
|
|
|
<role>PMC Member</role>
|
2013-05-13 13:25:21 -04:00
|
|
|
</roles>
|
|
|
|
</developer>
|
2015-03-29 21:16:04 -04:00
|
|
|
<developer>
|
|
|
|
<name>Jeremy Daggett</name>
|
|
|
|
<id>jdaggett</id>
|
|
|
|
<roles>
|
|
|
|
<role>Committer</role>
|
|
|
|
</roles>
|
|
|
|
</developer>
|
2013-05-13 13:25:21 -04:00
|
|
|
<developer>
|
2013-05-23 15:51:38 -04:00
|
|
|
<name>Matt Stephenson</name>
|
|
|
|
<id>mattstep</id>
|
2013-05-13 13:25:21 -04:00
|
|
|
<roles>
|
2013-05-23 15:51:38 -04:00
|
|
|
<role>Committer</role>
|
2013-11-21 13:15:52 -05:00
|
|
|
<role>PMC Member</role>
|
2013-05-13 13:25:21 -04:00
|
|
|
</roles>
|
|
|
|
</developer>
|
2015-03-29 21:16:04 -04:00
|
|
|
<developer>
|
|
|
|
<name>Zach Shoylev</name>
|
|
|
|
<id>zachsh</id>
|
|
|
|
<roles>
|
|
|
|
<role>Committer</role>
|
|
|
|
</roles>
|
|
|
|
</developer>
|
2013-05-13 13:25:21 -04:00
|
|
|
</developers>
|
2009-04-28 05:59:49 -04:00
|
|
|
|
2013-05-13 13:25:21 -04:00
|
|
|
<properties>
|
2020-06-13 22:40:04 -04:00
|
|
|
<jdk.version>1.8</jdk.version>
|
2020-10-26 09:20:51 -04:00
|
|
|
<maven.compile.source>${jdk.version}</maven.compile.source>
|
|
|
|
<maven.compile.target>${jdk.version}</maven.compile.target>
|
2013-05-13 13:25:21 -04:00
|
|
|
<maven.compile.deprecation>true</maven.compile.deprecation>
|
2020-10-25 20:22:49 -04:00
|
|
|
|
2020-10-26 09:20:51 -04:00
|
|
|
<!-- Plugin versions -->
|
|
|
|
<bnd.version>5.2.0</bnd.version>
|
|
|
|
<maven-jar-plugin.version>3.0.1</maven-jar-plugin.version>
|
|
|
|
<maven-surefire-plugin.version>2.17</maven-surefire-plugin.version>
|
2020-10-25 20:22:49 -04:00
|
|
|
|
2020-10-26 09:20:51 -04:00
|
|
|
<!-- General dependency versions -->
|
2020-10-25 20:22:49 -04:00
|
|
|
<gson.version>2.8.5</gson.version>
|
2020-10-26 09:20:51 -04:00
|
|
|
<guava.version>27.1-jre</guava.version>
|
|
|
|
<guice.version>4.2.3</guice.version>
|
2020-10-25 20:22:49 -04:00
|
|
|
|
2020-10-06 11:38:30 -04:00
|
|
|
<okhttp.version>3.14.9</okhttp.version>
|
2014-11-18 14:21:55 -05:00
|
|
|
<auto-factory.version>0.1-beta1</auto-factory.version>
|
2017-08-26 23:09:57 -04:00
|
|
|
<auto-service.version>1.0-rc3</auto-service.version>
|
2017-04-22 16:08:54 -04:00
|
|
|
<auto-value.version>1.4.1</auto-value.version>
|
2020-10-26 09:20:51 -04:00
|
|
|
|
|
|
|
<jetty.version>8.1.8.v20121106</jetty.version>
|
2020-10-26 09:58:39 -04:00
|
|
|
<javax.ws.rs-api.version>2.0.1</javax.ws.rs-api.version>
|
2020-10-26 09:20:51 -04:00
|
|
|
|
|
|
|
<modernizer-maven-annotations.version>1.8.0</modernizer-maven-annotations.version>
|
|
|
|
|
|
|
|
<!-- Log dependency versions -->
|
|
|
|
<log4j.version>1.2.17</log4j.version>
|
|
|
|
<logback.version>1.1.2</logback.version>
|
|
|
|
|
|
|
|
<!-- OSGi dependency versions -->
|
2020-10-26 11:08:53 -04:00
|
|
|
<osgi.version>6.0.0</osgi.version>
|
2020-10-26 09:20:51 -04:00
|
|
|
|
|
|
|
<!-- Test dependency versions -->
|
|
|
|
<testng.version>6.8.21</testng.version>
|
|
|
|
<xmlunit.version>1.3</xmlunit.version>
|
|
|
|
<assertj-core.version>1.7.0</assertj-core.version>
|
|
|
|
<assertj-guava.version>1.3.0</assertj-guava.version>
|
|
|
|
|
|
|
|
<!-- Mock dependency versions -->
|
2021-07-09 22:47:23 -04:00
|
|
|
<easymock.version>4.3</easymock.version>
|
2020-10-26 09:20:51 -04:00
|
|
|
|
|
|
|
<!-- Static analysis dependency versions -->
|
|
|
|
<jsr305.version>1.3.9</jsr305.version>
|
|
|
|
|
2013-05-13 13:25:21 -04:00
|
|
|
<http.proxyHost />
|
|
|
|
<http.proxyPort />
|
2019-05-21 07:52:22 -04:00
|
|
|
<jclouds.wire.httpstream.url>https://archive.apache.org/dist/commons/logging/binaries/commons-logging-1.1.1-bin.tar.gz</jclouds.wire.httpstream.url>
|
2013-05-13 13:25:21 -04:00
|
|
|
<jclouds.wire.httpstream.md5>e5de09672af9b386c30a311654d8541a</jclouds.wire.httpstream.md5>
|
|
|
|
<jclouds.blobstore.httpstream.url>${jclouds.wire.httpstream.url}</jclouds.blobstore.httpstream.url>
|
|
|
|
<jclouds.blobstore.httpstream.md5>${jclouds.wire.httpstream.md5}</jclouds.blobstore.httpstream.md5>
|
|
|
|
<jclouds.test.listener>org.jclouds.test.testng.UnitTestStatusListener</jclouds.test.listener>
|
|
|
|
<test.ssh.keyfile />
|
2013-05-28 13:51:30 -04:00
|
|
|
<sourceReleaseAssemblyDescriptor>source-release-zip-tar</sourceReleaseAssemblyDescriptor>
|
2013-05-13 13:25:21 -04:00
|
|
|
</properties>
|
2009-04-28 05:59:49 -04:00
|
|
|
|
2013-05-13 13:25:21 -04:00
|
|
|
<dependencyManagement>
|
2009-04-28 05:59:49 -04:00
|
|
|
<dependencies>
|
2020-10-26 09:20:51 -04:00
|
|
|
<!-- General dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
<version>${gson.version}</version>
|
|
|
|
</dependency>
|
2014-10-28 10:34:09 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>${guava.version}</version>
|
|
|
|
</dependency>
|
2019-06-17 11:43:29 -04:00
|
|
|
<dependency>
|
2020-10-26 09:20:51 -04:00
|
|
|
<groupId>com.google.inject</groupId>
|
|
|
|
<artifactId>guice</artifactId>
|
|
|
|
<version>${guice.version}</version>
|
2019-06-17 11:43:29 -04:00
|
|
|
</dependency>
|
2015-03-23 17:40:43 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.inject.extensions</groupId>
|
|
|
|
<artifactId>guice-assistedinject</artifactId>
|
|
|
|
<version>${guice.version}</version>
|
|
|
|
</dependency>
|
2020-10-26 09:20:51 -04:00
|
|
|
|
2015-03-23 17:40:43 -04:00
|
|
|
<dependency>
|
2020-10-26 09:20:51 -04:00
|
|
|
<groupId>com.google.auto.factory</groupId>
|
|
|
|
<artifactId>auto-factory</artifactId>
|
|
|
|
<version>${auto-factory.version}</version>
|
2015-03-23 17:40:43 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2020-10-26 09:20:51 -04:00
|
|
|
<groupId>com.google.auto.service</groupId>
|
|
|
|
<artifactId>auto-service</artifactId>
|
|
|
|
<version>${auto-service.version}</version>
|
2015-03-23 17:40:43 -04:00
|
|
|
</dependency>
|
2013-05-13 13:25:21 -04:00
|
|
|
<dependency>
|
2020-10-26 09:20:51 -04:00
|
|
|
<groupId>com.google.auto.value</groupId>
|
|
|
|
<artifactId>auto-value</artifactId>
|
|
|
|
<version>${auto-value.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2013-05-13 13:25:21 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-security</artifactId>
|
2020-10-26 09:20:51 -04:00
|
|
|
<version>${jetty.version}</version>
|
2013-05-13 13:25:21 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
2020-10-26 09:20:51 -04:00
|
|
|
<version>${jetty.version}</version>
|
2013-12-13 18:26:57 -05:00
|
|
|
</dependency>
|
2020-10-26 09:58:39 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
|
|
<version>${javax.ws.rs-api.version}</version>
|
|
|
|
</dependency>
|
2020-10-26 09:20:51 -04:00
|
|
|
|
2019-02-01 14:51:30 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gaul</groupId>
|
|
|
|
<artifactId>modernizer-maven-annotations</artifactId>
|
2020-10-26 09:20:51 -04:00
|
|
|
<version>${modernizer-maven-annotations.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Log dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<version>${log4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>${logback.version}</version>
|
2019-02-01 14:51:30 -05:00
|
|
|
</dependency>
|
2020-10-26 09:20:51 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-core</artifactId>
|
|
|
|
<version>${logback.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- OSGi dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.osgi</groupId>
|
|
|
|
<artifactId>org.osgi.core</artifactId>
|
|
|
|
<version>${osgi.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.osgi</groupId>
|
2020-10-26 11:08:53 -04:00
|
|
|
<artifactId>osgi.cmpn</artifactId>
|
|
|
|
<version>${osgi.version}</version>
|
2020-10-26 09:20:51 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Test dependencies -->
|
2013-05-13 13:25:21 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.testng</groupId>
|
|
|
|
<artifactId>testng</artifactId>
|
2020-10-26 09:20:51 -04:00
|
|
|
<version>${testng.version}</version>
|
2013-05-13 13:25:21 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>xmlunit</groupId>
|
|
|
|
<artifactId>xmlunit</artifactId>
|
2020-10-26 09:20:51 -04:00
|
|
|
<version>${xmlunit.version}</version>
|
2013-05-13 13:25:21 -04:00
|
|
|
</dependency>
|
2014-09-16 16:18:10 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<version>${assertj-core.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-guava</artifactId>
|
|
|
|
<version>${assertj-guava.version}</version>
|
|
|
|
</dependency>
|
2020-10-26 09:20:51 -04:00
|
|
|
|
|
|
|
<!-- Mock dependencies -->
|
2014-11-18 14:21:55 -05:00
|
|
|
<dependency>
|
2020-10-26 09:20:51 -04:00
|
|
|
<groupId>org.easymock</groupId>
|
|
|
|
<artifactId>easymock</artifactId>
|
|
|
|
<version>${easymock.version}</version>
|
2014-10-30 00:04:06 -04:00
|
|
|
</dependency>
|
2015-06-25 10:09:08 -04:00
|
|
|
<dependency>
|
2020-10-06 11:38:30 -04:00
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
2020-10-26 09:20:51 -04:00
|
|
|
<artifactId>mockwebserver</artifactId>
|
|
|
|
<version>${okhttp.version}</version>
|
2015-06-25 10:09:08 -04:00
|
|
|
</dependency>
|
2020-10-06 11:38:30 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
|
<artifactId>okhttp-tls</artifactId>
|
|
|
|
<version>${okhttp.version}</version>
|
|
|
|
</dependency>
|
2020-10-26 09:20:51 -04:00
|
|
|
|
|
|
|
<!-- Static analysis dependencies -->
|
2016-11-03 04:43:36 -04:00
|
|
|
<dependency>
|
2020-10-26 09:20:51 -04:00
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
<version>${jsr305.version}</version>
|
2016-11-03 04:43:36 -04:00
|
|
|
</dependency>
|
2009-04-28 05:59:49 -04:00
|
|
|
</dependencies>
|
2013-05-13 13:25:21 -04:00
|
|
|
</dependencyManagement>
|
2020-10-26 09:20:51 -04:00
|
|
|
|
2013-05-13 13:25:21 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testng</groupId>
|
|
|
|
<artifactId>testng</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.easymock</groupId>
|
2017-09-13 03:24:04 -04:00
|
|
|
<artifactId>easymock</artifactId>
|
2013-05-13 13:25:21 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>xmlunit</groupId>
|
|
|
|
<artifactId>xmlunit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-09-16 16:18:10 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-guava</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-10-26 09:20:51 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2013-05-13 13:25:21 -04:00
|
|
|
</dependencies>
|
2009-04-28 05:59:49 -04:00
|
|
|
|
2013-05-13 13:25:21 -04:00
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
</resource>
|
2014-10-28 11:51:26 -04:00
|
|
|
<!-- For AutoService generated services. -->
|
|
|
|
<resource>
|
|
|
|
<directory>target/classes</directory>
|
|
|
|
<includes>
|
|
|
|
<include>META-INF/services/*</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
2013-05-13 13:25:21 -04:00
|
|
|
</resources>
|
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
|
|
|
<plugins>
|
Integrate GSON library in Clouds Core Bundle Final
In the last commit (last section of squashed commit), the GSON library was integrated into the JClouds core module using maven-bundle plugins include resource instruction. Building OSGi instruction variables from the respective modules show a weakness when resources such as script builder shell scripts are required to be integrated into the bundle but not provide a dedicated variable declaration for the resource section.
The following commit demonstrates a change in strategy in declaration and integration of OSGi metadata.
- Replace old bundle-plugin with newest bnd-plugin (bundle-plugin uses bnd-plugin internally)
- Move OSGi metadata declarations from a maven variable passing strategy into dedicated bnd.bnd files
+ Cleaner pom files, no bundle packaging
+ Intellisense / Autocomplete support for .bnd files in terms of package exports etc.
For demonstration, the overall OSGi adjustments are limited to project, core, script builder, compute, blob store, and load balancer because most custom OSGi metadata is defined here.
Note: Other modules are currently disabled from build because some feedback is needed first.
Make GSON integration work.
To understand the changes, see the core modules' bnd file. GSON internal packages also define a version. Both already exported and new export declarations are fused. The global JClouds core module exports defined the entire set of GSON packages available.
Some minor modifications were made in the module project; replace maven jar plugin with a minified version of the declaration, outsourced in projects bnd file.
2020-07-02 04:54:28 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
|
|
<artifactId>bnd-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2013-05-28 13:51:30 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<configuration>
|
|
|
|
<useReleaseProfile>false</useReleaseProfile>
|
|
|
|
<goals>deploy</goals>
|
|
|
|
<arguments>-Pdoc -Papache-release ${arguments}</arguments>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-08-06 14:09:57 -04:00
|
|
|
|
2013-05-28 13:51:30 -04:00
|
|
|
<plugin>
|
2013-05-21 16:56:41 -04:00
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2013-05-13 13:25:21 -04:00
|
|
|
<plugin>
|
2015-02-04 16:54:59 -05:00
|
|
|
<groupId>org.basepom.maven</groupId>
|
|
|
|
<artifactId>duplicate-finder-maven-plugin</artifactId>
|
2013-05-13 13:25:21 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-11-27 12:02:51 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>animal-sniffer-maven-plugin</artifactId>
|
2021-07-10 00:00:04 -04:00
|
|
|
<version>1.20</version>
|
2014-11-27 12:02:51 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<signature>
|
|
|
|
<groupId>org.codehaus.mojo.signature</groupId>
|
2021-01-21 07:54:44 -05:00
|
|
|
<artifactId>java18</artifactId>
|
2018-07-09 13:08:08 -04:00
|
|
|
<version>1.0</version>
|
2014-11-27 12:02:51 -05:00
|
|
|
</signature>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2013-05-13 13:25:21 -04:00
|
|
|
<plugin>
|
2019-04-10 22:54:09 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-05-13 13:25:21 -04:00
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2020-10-26 09:20:51 -04:00
|
|
|
<version>${maven-surefire-plugin.version}</version>
|
2013-05-13 13:25:21 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>integration</id>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<argLine>-Xmx512m -Xms256m -Djava.awt.headless=true -XX:MaxPermSize=256m -Xss256k</argLine>
|
|
|
|
<parallel>tests</parallel>
|
|
|
|
<threadCount>5</threadCount>
|
|
|
|
<!-- note that the groups/excluded groups don't work due to some problem
|
|
|
|
in surefire or testng. instead, we have to exclude via file path
|
|
|
|
<groups>integration</groups>
|
|
|
|
<excludedGroups>unit,performance,live</excludedGroups> -->
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*IntegrationTest.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<parallel>methods</parallel>
|
|
|
|
<threadCount>5</threadCount>
|
|
|
|
<!-- note that the groups/excluded groups don't work due to some problem
|
|
|
|
in surefire or testng. instead, we have to exclude via file path
|
|
|
|
<groups>unit,performance</groups>
|
|
|
|
<excludedGroups>integration,live</excludedGroups> -->
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*IntegrationTest.java</exclude>
|
|
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
<properties>
|
|
|
|
<property>
|
|
|
|
<name>listener</name>
|
|
|
|
<value>${jclouds.test.listener}</value>
|
|
|
|
</property>
|
|
|
|
</properties>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<sun.net.http.allowRestrictedHeaders>true</sun.net.http.allowRestrictedHeaders>
|
|
|
|
<jclouds.wire.httpstream.url>${jclouds.wire.httpstream.url}</jclouds.wire.httpstream.url>
|
|
|
|
<jclouds.wire.httpstream.md5>${jclouds.wire.httpstream.md5}</jclouds.wire.httpstream.md5>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2019-04-10 22:54:09 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2019-04-24 10:12:45 -04:00
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>2.6</version>
|
2013-05-13 13:25:21 -04:00
|
|
|
<configuration>
|
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
2019-04-24 10:12:45 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2019-05-07 05:49:54 -04:00
|
|
|
<version>3.0.0</version>
|
2019-04-24 10:12:45 -04:00
|
|
|
<!-- configuration and dependencies set via profiles -->
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.gaul</groupId>
|
|
|
|
<artifactId>modernizer-maven-plugin</artifactId>
|
|
|
|
<version>1.8.0</version>
|
|
|
|
<!-- configuration and dependencies set via profiles -->
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>modernizer</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>modernizer</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
Integrate GSON library in Clouds Core Bundle Final
In the last commit (last section of squashed commit), the GSON library was integrated into the JClouds core module using maven-bundle plugins include resource instruction. Building OSGi instruction variables from the respective modules show a weakness when resources such as script builder shell scripts are required to be integrated into the bundle but not provide a dedicated variable declaration for the resource section.
The following commit demonstrates a change in strategy in declaration and integration of OSGi metadata.
- Replace old bundle-plugin with newest bnd-plugin (bundle-plugin uses bnd-plugin internally)
- Move OSGi metadata declarations from a maven variable passing strategy into dedicated bnd.bnd files
+ Cleaner pom files, no bundle packaging
+ Intellisense / Autocomplete support for .bnd files in terms of package exports etc.
For demonstration, the overall OSGi adjustments are limited to project, core, script builder, compute, blob store, and load balancer because most custom OSGi metadata is defined here.
Note: Other modules are currently disabled from build because some feedback is needed first.
Make GSON integration work.
To understand the changes, see the core modules' bnd file. GSON internal packages also define a version. Both already exported and new export declarations are fused. The global JClouds core module exports defined the entire set of GSON packages available.
Some minor modifications were made in the module project; replace maven jar plugin with a minified version of the declaration, outsourced in projects bnd file.
2020-07-02 04:54:28 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>${maven-jar-plugin.version}</version>
|
In the final state of this feature, a rebase on Master was executed. In resolving a merge problem with the Maven project file "JClouds Project," an important instruction got overwritten, to generate test jars for each module. This modification re-adds this ability for all modules. Counter versa, defining this build step repeatedly, e.g., in the api/oauth module, is no longer required. Also, correct a typo, add groupId.
Note: Previously, the maven jar plugin contained a configuration embedded in each module's generated manifest files. The configuration got relocated to the project/bnd.bnd file in a previous commit, and gets handled through the bnd plugin.
2020-10-24 11:48:40 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
Integrate GSON library in Clouds Core Bundle Final
In the last commit (last section of squashed commit), the GSON library was integrated into the JClouds core module using maven-bundle plugins include resource instruction. Building OSGi instruction variables from the respective modules show a weakness when resources such as script builder shell scripts are required to be integrated into the bundle but not provide a dedicated variable declaration for the resource section.
The following commit demonstrates a change in strategy in declaration and integration of OSGi metadata.
- Replace old bundle-plugin with newest bnd-plugin (bundle-plugin uses bnd-plugin internally)
- Move OSGi metadata declarations from a maven variable passing strategy into dedicated bnd.bnd files
+ Cleaner pom files, no bundle packaging
+ Intellisense / Autocomplete support for .bnd files in terms of package exports etc.
For demonstration, the overall OSGi adjustments are limited to project, core, script builder, compute, blob store, and load balancer because most custom OSGi metadata is defined here.
Note: Other modules are currently disabled from build because some feedback is needed first.
Make GSON integration work.
To understand the changes, see the core modules' bnd file. GSON internal packages also define a version. Both already exported and new export declarations are fused. The global JClouds core module exports defined the entire set of GSON packages available.
Some minor modifications were made in the module project; replace maven jar plugin with a minified version of the declaration, outsourced in projects bnd file.
2020-07-02 04:54:28 -04:00
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
|
|
<artifactId>bnd-maven-plugin</artifactId>
|
|
|
|
<version>${bnd.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<bndfile>bnd.bnd</bndfile>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>bnd-process</id>
|
|
|
|
<goals>
|
|
|
|
<goal>bnd-process</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-04-24 10:12:45 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.8.0</version>
|
|
|
|
<configuration>
|
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
|
|
<source>${maven.compile.source}</source>
|
|
|
|
<target>${maven.compile.target}</target>
|
2013-09-03 08:54:48 -04:00
|
|
|
<showDeprecation>false</showDeprecation>
|
|
|
|
<showWarnings>true</showWarnings>
|
2013-12-16 18:58:16 -05:00
|
|
|
<compilerArgs>
|
|
|
|
<compilerArg>-Xlint</compilerArg>
|
|
|
|
<compilerArg>-Xlint:-deprecation</compilerArg>
|
2017-09-07 16:53:53 -04:00
|
|
|
<compilerArg>-Xlint:-processing</compilerArg>
|
2013-12-16 18:58:16 -05:00
|
|
|
<compilerArg>-Xlint:-rawtypes</compilerArg>
|
|
|
|
<compilerArg>-Xlint:-serial</compilerArg>
|
|
|
|
<compilerArg>-Xlint:-unchecked</compilerArg>
|
|
|
|
</compilerArgs>
|
2019-04-24 10:12:45 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2013-05-13 13:25:21 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-archetype-plugin</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<version>2.7</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
2017-09-07 04:21:46 -04:00
|
|
|
<version>0.12</version>
|
2013-05-13 13:25:21 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2018-05-22 00:23:41 -04:00
|
|
|
<groupId>com.github.spotbugs</groupId>
|
|
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
|
|
<version>3.1.3</version>
|
2014-08-26 21:46:27 -04:00
|
|
|
<configuration>
|
|
|
|
<omitVisitors>
|
|
|
|
CloneIdiom,
|
2018-05-22 00:23:41 -04:00
|
|
|
ComparatorIdiom,
|
2014-08-26 21:46:27 -04:00
|
|
|
DefaultEncodingDetector,
|
|
|
|
EqualsOperandShouldHaveClassCompatibleWithThis,
|
|
|
|
FindBadCast2,
|
|
|
|
FindHEmismatch,
|
2015-03-30 23:20:14 -04:00
|
|
|
FindMaskedFields,
|
2014-08-26 21:46:27 -04:00
|
|
|
FindNullDeref,
|
|
|
|
FindReturnRef,
|
|
|
|
FindUnsatisfiedObligation,
|
|
|
|
FormatStringChecker,
|
|
|
|
MethodReturnCheck,
|
|
|
|
Naming,
|
|
|
|
NoteUnconditionalParamDerefs,
|
|
|
|
RuntimeExceptionCapture,
|
|
|
|
SwitchFallthrough,
|
|
|
|
UnreadFields,
|
|
|
|
</omitVisitors>
|
|
|
|
</configuration>
|
2013-05-13 13:25:21 -04:00
|
|
|
</plugin>
|
2019-06-18 06:08:59 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<!-- expectation files for unit tests -->
|
|
|
|
<exclude>**/src/test/resources/**/*.sh</exclude>
|
|
|
|
<exclude>**/src/test/resources/**/*.bat</exclude>
|
|
|
|
<exclude>**/src/test/resources/**/*.cmd</exclude>
|
|
|
|
<exclude>**/src/test/resources/**/*.txt</exclude>
|
|
|
|
<exclude>**/src/test/resources/**/*.gz</exclude>
|
|
|
|
<exclude>**/src/test/resources/**/*.xml</exclude>
|
|
|
|
<exclude>**/src/test/resources/**/*.crt</exclude>
|
|
|
|
<exclude>src/test/resources/html/*.html</exclude>
|
|
|
|
|
|
|
|
<!-- META-INF/services files -->
|
|
|
|
<exclude>**/services/*LoggingModule</exclude>
|
|
|
|
<exclude>**/services/*ApiMetadata</exclude>
|
|
|
|
<exclude>**/services/*ProviderMetadata</exclude>
|
Integrate GSON library in Clouds Core Bundle Final
In the last commit (last section of squashed commit), the GSON library was integrated into the JClouds core module using maven-bundle plugins include resource instruction. Building OSGi instruction variables from the respective modules show a weakness when resources such as script builder shell scripts are required to be integrated into the bundle but not provide a dedicated variable declaration for the resource section.
The following commit demonstrates a change in strategy in declaration and integration of OSGi metadata.
- Replace old bundle-plugin with newest bnd-plugin (bundle-plugin uses bnd-plugin internally)
- Move OSGi metadata declarations from a maven variable passing strategy into dedicated bnd.bnd files
+ Cleaner pom files, no bundle packaging
+ Intellisense / Autocomplete support for .bnd files in terms of package exports etc.
For demonstration, the overall OSGi adjustments are limited to project, core, script builder, compute, blob store, and load balancer because most custom OSGi metadata is defined here.
Note: Other modules are currently disabled from build because some feedback is needed first.
Make GSON integration work.
To understand the changes, see the core modules' bnd file. GSON internal packages also define a version. Both already exported and new export declarations are fused. The global JClouds core module exports defined the entire set of GSON packages available.
Some minor modifications were made in the module project; replace maven jar plugin with a minified version of the declaration, outsourced in projects bnd file.
2020-07-02 04:54:28 -04:00
|
|
|
<!-- OSGi metadata rules -->
|
|
|
|
<exclude>**/bnd.bnd</exclude>
|
2019-06-18 06:08:59 -04:00
|
|
|
<!-- prevent duplicating license -->
|
|
|
|
<exclude>**/LICENSE.txt</exclude>
|
|
|
|
<exclude>**/header.txt</exclude>
|
|
|
|
|
|
|
|
<!-- high-level project metadata -->
|
|
|
|
<exclude>**/NOTICE.txt</exclude>
|
|
|
|
<exclude>**/DISCLAIMER</exclude>
|
|
|
|
<exclude>**/BUILD.txt</exclude>
|
|
|
|
<exclude>**/CHANGES.txt</exclude>
|
|
|
|
<exclude>**/README.md</exclude>
|
|
|
|
<exclude>**/README.txt</exclude>
|
|
|
|
<exclude>**/DEPENDENCIES</exclude>
|
|
|
|
<exclude>**/CONTRIBUTING.md</exclude>
|
|
|
|
|
|
|
|
<!-- reference data lists -->
|
|
|
|
<exclude>**/*json</exclude>
|
|
|
|
<exclude>**/*readme</exclude>
|
|
|
|
|
|
|
|
<!-- SSH keys -->
|
|
|
|
<exclude>**/test</exclude>
|
|
|
|
<exclude>**/test.pub</exclude>
|
|
|
|
<exclude>**/src/test/resources/**/ssh-*.pub</exclude>
|
|
|
|
|
Integrate GSON library in Clouds Core Bundle Final
In the last commit (last section of squashed commit), the GSON library was integrated into the JClouds core module using maven-bundle plugins include resource instruction. Building OSGi instruction variables from the respective modules show a weakness when resources such as script builder shell scripts are required to be integrated into the bundle but not provide a dedicated variable declaration for the resource section.
The following commit demonstrates a change in strategy in declaration and integration of OSGi metadata.
- Replace old bundle-plugin with newest bnd-plugin (bundle-plugin uses bnd-plugin internally)
- Move OSGi metadata declarations from a maven variable passing strategy into dedicated bnd.bnd files
+ Cleaner pom files, no bundle packaging
+ Intellisense / Autocomplete support for .bnd files in terms of package exports etc.
For demonstration, the overall OSGi adjustments are limited to project, core, script builder, compute, blob store, and load balancer because most custom OSGi metadata is defined here.
Note: Other modules are currently disabled from build because some feedback is needed first.
Make GSON integration work.
To understand the changes, see the core modules' bnd file. GSON internal packages also define a version. Both already exported and new export declarations are fused. The global JClouds core module exports defined the entire set of GSON packages available.
Some minor modifications were made in the module project; replace maven jar plugin with a minified version of the declaration, outsourced in projects bnd file.
2020-07-02 04:54:28 -04:00
|
|
|
<!-- temporary exclude due to minimized module declaration -->
|
|
|
|
<exclude>**/providers/profitbricks/src/test/resources/html/maintenance-503.html</exclude>
|
|
|
|
<exclude>**/providers/profitbricks/src/test/resources/html/fault-401.html</exclude>
|
|
|
|
|
2019-06-18 06:08:59 -04:00
|
|
|
<!-- temporary files or those generated by IDE or SCM -->
|
|
|
|
<exclude>**/target/**</exclude>
|
|
|
|
<exclude>**/test-output/**</exclude>
|
|
|
|
<exclude>**/bin/**</exclude>
|
|
|
|
<exclude>**/.settings/**</exclude>
|
|
|
|
<exclude>**/.classpath</exclude>
|
|
|
|
<exclude>**/.dir-locals.el</exclude>
|
|
|
|
<exclude>**/.project</exclude>
|
|
|
|
<exclude>**/.idea/**</exclude>
|
|
|
|
<exclude>**/*.iml</exclude>
|
|
|
|
<exclude>**/*.eml</exclude>
|
|
|
|
<exclude>**/*.ipr</exclude>
|
|
|
|
<exclude>**/*.iws</exclude>
|
|
|
|
<exclude>**/*.DS_STORE</exclude>
|
|
|
|
<exclude>**/TAGS</exclude>
|
|
|
|
<exclude>**/.metadata/**</exclude>
|
|
|
|
<exclude>**/atlassian-ide-plugin.xml</exclude>
|
|
|
|
<exclude>**/.DS_Store</exclude>
|
|
|
|
<exclude>.mailmap</exclude>
|
|
|
|
<exclude>.git/**</exclude>
|
|
|
|
<exclude>**/.gitignore</exclude>
|
|
|
|
<exclude>**/.gitattributes</exclude>
|
|
|
|
<exclude>**/.java-version</exclude>
|
|
|
|
<exclude>**/modernizer_exclusions.txt</exclude>
|
|
|
|
<exclude>**/.factorypath</exclude>
|
|
|
|
<exclude>**/.apt_generated/**</exclude>
|
|
|
|
<exclude>**/.apt_generated_tests/**</exclude>
|
|
|
|
<exclude>**/.checkstyle</exclude>
|
|
|
|
<exclude>nb-configuration.xml</exclude>
|
|
|
|
<exclude>nbactions.xml</exclude>
|
|
|
|
<exclude>dependency-reduced-pom.xml</exclude>
|
|
|
|
|
|
|
|
<!-- Temporary files generated on CloudBees slaves -->
|
|
|
|
<exclude>.repository/**</exclude>
|
|
|
|
<exclude>gc.log</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.basepom.maven</groupId>
|
|
|
|
<artifactId>duplicate-finder-maven-plugin</artifactId>
|
2021-07-14 21:04:23 -04:00
|
|
|
<version>1.5.0</version>
|
2019-06-18 06:08:59 -04:00
|
|
|
<configuration>
|
|
|
|
<exceptions>
|
|
|
|
<exception>
|
|
|
|
<!-- Google App Engine Deps, some google classes are duplicated between packages -->
|
|
|
|
<conflictingDependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.appengine</groupId>
|
|
|
|
<artifactId>appengine-api-1.0-sdk</artifactId>
|
|
|
|
<version>1.6.5</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.appengine</groupId>
|
|
|
|
<artifactId>appengine-testing</artifactId>
|
|
|
|
<version>1.6.5</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</conflictingDependencies>
|
|
|
|
<packages>
|
|
|
|
<package>com.google</package>
|
|
|
|
</packages>
|
|
|
|
</exception>
|
|
|
|
<exception>
|
|
|
|
<conflictingDependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.jcraft</groupId>
|
|
|
|
<artifactId>jsch.agentproxy.core</artifactId>
|
|
|
|
<version>0.0.9</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.jcraft</groupId>
|
|
|
|
<artifactId>jsch.agentproxy.connector-factory</artifactId>
|
|
|
|
<version>0.0.9</version>
|
|
|
|
</dependency>
|
|
|
|
</conflictingDependencies>
|
|
|
|
<packages>
|
|
|
|
<package>com.jcraft.jsch.agentproxy</package>
|
|
|
|
</packages>
|
|
|
|
</exception>
|
|
|
|
</exceptions>
|
|
|
|
<ignoredResourcePatterns>
|
|
|
|
<!-- For all the jetty packages -->
|
|
|
|
<ignoredResourcePattern>about\.html</ignoredResourcePattern>
|
|
|
|
<!-- There are several situations where a test-jar and another test-jar or a bundle conflict on these artifacts -->
|
|
|
|
<ignoredResourcePattern>log4j.xml</ignoredResourcePattern>
|
|
|
|
<ignoredResourcePattern>os.xml</ignoredResourcePattern>
|
|
|
|
<ignoredResourcePattern>virtualhardwaresection.xml</ignoredResourcePattern>
|
|
|
|
<ignoredResourcePattern>logback.xml</ignoredResourcePattern>
|
|
|
|
<ignoredResourcePattern>amzn_images.xml</ignoredResourcePattern>
|
|
|
|
<ignoredResourcePattern>test.jks</ignoredResourcePattern>
|
|
|
|
<ignoredResourcePattern>test</ignoredResourcePattern>
|
|
|
|
<ignoredResourcePattern>CreateInternetService-options-test.xml</ignoredResourcePattern>
|
|
|
|
<ignoredResourcePattern>.gitattributes</ignoredResourcePattern>
|
|
|
|
<ignoredResourcePattern>functions/.gitattributes</ignoredResourcePattern>
|
|
|
|
<ignoredResourcePattern>OSGI-OPT/bnd.bnd</ignoredResourcePattern>
|
|
|
|
<!-- For bouncycastle -->
|
|
|
|
<ignoredResourcePattern>META-INF/BCKEY.DSA</ignoredResourcePattern>
|
|
|
|
<ignoredResourcePattern>META-INF/BCKEY.SF</ignoredResourcePattern>
|
|
|
|
</ignoredResourcePatterns>
|
|
|
|
<failBuildInCaseOfConflict>true</failBuildInCaseOfConflict>
|
|
|
|
<skip>${skipDuplicateFinder}</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2013-05-13 13:25:21 -04:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>live</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>integration</id>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
2009-04-28 05:59:49 -04:00
|
|
|
<configuration>
|
2013-05-13 13:25:21 -04:00
|
|
|
<!-- note that the groups/excluded groups don't work due to some problem
|
|
|
|
in surefire or testng. instead, we have to exclude via file path
|
|
|
|
<groups>live,integration</groups>
|
|
|
|
<excludedGroups>unit,performance</excludedGroups> -->
|
|
|
|
<excludes>
|
|
|
|
<exclude>none</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*IntegrationTest.java</include>
|
|
|
|
<include>**/*LiveTest.java</include>
|
|
|
|
</includes>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<!--
|
|
|
|
If you're behind a proxy, set this here
|
2019-05-21 07:52:22 -04:00
|
|
|
https://docs.oracle.com/javase/6/docs/technotes/guides/net/proxies.html
|
2013-05-13 13:25:21 -04:00
|
|
|
|
|
|
|
<https.proxyHost>proxy</https.proxyHost>
|
|
|
|
<https.proxyPort>port</https.proxyPort>
|
|
|
|
<https.noProxyHosts>localhost|10.150.4.49</https.noProxyHosts>
|
|
|
|
-->
|
|
|
|
<file.encoding>${project.build.sourceEncoding}</file.encoding>
|
|
|
|
</systemPropertyVariables>
|
2009-04-28 05:59:49 -04:00
|
|
|
</configuration>
|
2013-05-13 13:25:21 -04:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>jclouds-project</id>
|
|
|
|
<activation>
|
|
|
|
<file>
|
|
|
|
<!-- only in the jclouds-project module -->
|
|
|
|
<exists>src/etc/header.txt</exists>
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2013-06-30 12:34:18 -04:00
|
|
|
<plugin>
|
|
|
|
<!-- When building jclouds-project, override the config to use the local file -->
|
2019-04-24 10:12:45 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-06-30 12:34:18 -04:00
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<configLocation>../resources/checkstyle.xml</configLocation>
|
2014-10-05 15:41:23 -04:00
|
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
2014-08-06 14:09:57 -04:00
|
|
|
<failOnViolation>true</failOnViolation>
|
|
|
|
<failsOnError>true</failsOnError>
|
|
|
|
<violationSeverity>warning</violationSeverity>
|
2014-02-11 20:30:56 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-10-05 15:30:33 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.gaul</groupId>
|
|
|
|
<artifactId>modernizer-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
2018-07-09 13:08:08 -04:00
|
|
|
<!-- Fix fiolations before uncommenting
|
2014-10-24 19:31:23 -04:00
|
|
|
<javaVersion>${maven.compile.source}</javaVersion>
|
2018-07-09 13:08:08 -04:00
|
|
|
-->
|
|
|
|
<javaVersion>1.6</javaVersion>
|
2014-10-05 15:30:33 -04:00
|
|
|
<!-- in jclouds-project use the local file. ${project.basedir}
|
|
|
|
required here as 1.1.0 of the modernizer plugin can't find the
|
|
|
|
exclusions file otherwise -->
|
|
|
|
<exclusionsFile>${project.basedir}/../resources/modernizer_exclusions.txt</exclusionsFile>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-02-11 20:30:56 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>not-jclouds-project</id>
|
|
|
|
<activation>
|
|
|
|
<file>
|
|
|
|
<!-- only in the jclouds-project module -->
|
|
|
|
<missing>src/etc/header.txt</missing>
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.jclouds</groupId>
|
|
|
|
<artifactId>jclouds-resources</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
|
|
|
<!-- jclouds-resources has the checkstyle config in the classpath -->
|
|
|
|
<configLocation>resources/checkstyle.xml</configLocation>
|
2019-05-07 05:49:54 -04:00
|
|
|
<suppressionsLocation>resources/checkstyle-suppressions.xml</suppressionsLocation>
|
|
|
|
<suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
|
2014-10-05 15:41:23 -04:00
|
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
2014-08-06 14:09:57 -04:00
|
|
|
<failOnViolation>true</failOnViolation>
|
|
|
|
<failsOnError>true</failsOnError>
|
|
|
|
<violationSeverity>warning</violationSeverity>
|
2013-06-30 12:34:18 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-09-16 16:18:37 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.gaul</groupId>
|
|
|
|
<artifactId>modernizer-maven-plugin</artifactId>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.jclouds</groupId>
|
|
|
|
<artifactId>jclouds-resources</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2014-10-05 15:30:33 -04:00
|
|
|
<configuration>
|
2018-07-09 13:08:08 -04:00
|
|
|
<!-- Fix vioaltions and uncomment again
|
2014-10-24 19:31:23 -04:00
|
|
|
<javaVersion>${maven.compile.source}</javaVersion>
|
2018-07-09 13:08:08 -04:00
|
|
|
-->
|
|
|
|
<javaVersion>1.6</javaVersion>
|
2014-10-05 15:30:33 -04:00
|
|
|
<exclusionsFile>resources/modernizer_exclusions.txt</exclusionsFile>
|
|
|
|
</configuration>
|
2014-09-16 16:18:37 -04:00
|
|
|
</plugin>
|
2014-08-06 14:09:57 -04:00
|
|
|
</plugins>
|
2013-05-13 13:25:21 -04:00
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>doc</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2020-12-14 05:17:46 -05:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-05-13 13:25:21 -04:00
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2020-12-14 05:17:46 -05:00
|
|
|
<version>3.2.0</version>
|
2020-04-16 07:23:31 -04:00
|
|
|
<configuration>
|
2020-12-14 05:17:46 -05:00
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
|
|
<doclint>none</doclint>
|
|
|
|
<maxmemory>512m</maxmemory>
|
|
|
|
<quiet>true</quiet>
|
2020-04-16 07:23:31 -04:00
|
|
|
</configuration>
|
2013-05-13 13:25:21 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>javadoc</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2009-04-28 05:59:49 -04:00
|
|
|
</plugins>
|
2013-05-13 13:25:21 -04:00
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>src</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2020-12-14 05:17:46 -05:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-05-13 13:25:21 -04:00
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2020-12-14 05:17:46 -05:00
|
|
|
<version>3.2.0</version>
|
2013-05-13 13:25:21 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar-no-fork</goal>
|
2017-03-20 12:18:50 -04:00
|
|
|
<goal>test-jar-no-fork</goal>
|
2013-05-13 13:25:21 -04:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2009-04-28 05:59:49 -04:00
|
|
|
</project>
|