This is an automated email from the ASF dual-hosted git repository. gaul pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jclouds.git
commit dec017c11685dc853fd07a46980591d9d7d789a3 Author: gurkerl83 <markus_grit...@gmx.de> AuthorDate: Mon Dec 7 00:47:02 2020 +0100 Remove distribution profiles Remove distribution profiles from the JClouds parent, main, and core modules. Each profile defines assembly descriptors, but none of those files are provided by the project anymore. The maven assembly plugin relies on those descriptors to dictate its execution. The estimation is that individual maven artifacts, one per module, get deployed instead of a compressed deployment unit. In that case, it is enough to use mavens deploy command in combination with distribution management configuration pushing individual jars to the artifact repositories. --- core/pom.xml | 28 ---------------------------- pom.xml | 28 ---------------------------- project/pom.xml | 37 ------------------------------------- 3 files changed, 93 deletions(-) diff --git a/core/pom.xml b/core/pom.xml index abd34ce..d901d27 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -124,32 +124,4 @@ </plugin> </plugins> </build> - - <profiles> - <profile> - <id>distribution</id> - <build> - <plugins> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <executions> - <!-- overrides the default execution inherited from project --> - <execution> - <id>jar-with-dependencies</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <descriptors> - <descriptor>jar-with-dependencies-descriptor.xml</descriptor> - </descriptors> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> </project> diff --git a/pom.xml b/pom.xml index 233d806..994a07a 100644 --- a/pom.xml +++ b/pom.xml @@ -49,34 +49,6 @@ <profiles> <profile> - <id>distribution</id> - <build> - <plugins> - <!-- top-level only --> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.3</version> - <inherited>false</inherited> - <executions> - <execution> - <id>create-distribution</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <finalName>jclouds-${project.version}</finalName> - <descriptors> - <descriptor>package-descriptor.xml</descriptor> - </descriptors> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - <profile> <id>doc</id> <build> <plugins> diff --git a/project/pom.xml b/project/pom.xml index fb3452e..1c8de38 100644 --- a/project/pom.xml +++ b/project/pom.xml @@ -818,10 +818,6 @@ <version>2.2</version> </plugin> <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.3</version> - </plugin> - <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>2.7</version> </plugin> @@ -1088,39 +1084,6 @@ </build> </profile> <profile> - <id>distribution</id> - <build> - <plugins> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <executions> - <execution> - <id>generate-distribution-files</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <descriptors> - <descriptor>src-descriptor.xml</descriptor> - <descriptor>provided-dependencies-descriptor.xml</descriptor> - <descriptor>jar-with-dependencies-no-core-no-apis-descriptor.xml</descriptor> - </descriptors> - </configuration> - </execution> - </executions> - <dependencies> - <dependency> - <groupId>org.apache.jclouds</groupId> - <artifactId>jclouds-assemblies</artifactId> - <version>${project.version}</version> - </dependency> - </dependencies> - </plugin> - </plugins> - </build> - </profile> - <profile> <id>jclouds-project</id> <activation> <file>