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 9215bfcb707a7291d0141134cad206029138a746 Author: gurkerl83 <[email protected]> AuthorDate: Sat Oct 24 17:48:40 2020 +0200 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. --- apis/oauth/pom.xml | 15 --------------- core/pom.xml | 3 ++- project/pom.xml | 7 +++++++ 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/apis/oauth/pom.xml b/apis/oauth/pom.xml index 5b3d6d6..320357d 100644 --- a/apis/oauth/pom.xml +++ b/apis/oauth/pom.xml @@ -77,21 +77,6 @@ </dependency> </dependencies> - <build> - <plugins> - <plugin> - <artifactId>maven-jar-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>test-jar</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - <profiles> <profile> <id>live</id> diff --git a/core/pom.xml b/core/pom.xml index 939a332..2f71fca 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -108,6 +108,7 @@ <build> <plugins> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> @@ -119,7 +120,7 @@ <configuration> <!-- These files are excluded to avoid corrupting the classpath with ProviderMetadata implementation - classes that should only be availble when running the core tests. + classes that should only be available when running the core tests. --> <excludes> <exclude>META-INF/services/</exclude> diff --git a/project/pom.xml b/project/pom.xml index 67226f7..4d00393 100644 --- a/project/pom.xml +++ b/project/pom.xml @@ -633,6 +633,13 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${maven-jar-plugin.version}</version> + <executions> + <execution> + <goals> + <goal>test-jar</goal> + </goals> + </execution> + </executions> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
