From 1b532cb22ac45774bfec4bf95e55ea118ab9721f Mon Sep 17 00:00:00 2001 From: Jeremy Whitlock Date: Thu, 12 May 2011 00:32:25 -0600 Subject: [PATCH] Updated the core project POM to exclude ProviderMetadata plugins from the tests-jar to avoid corrupting the classpath as these classes are only necessary for testing the core provider loading mechanisms. * core/pom.xml: Added a maven-jar-plugin configuration that will exclude the test providers and the ServiceLoader service file that allows locating them. --- core/pom.xml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/core/pom.xml b/core/pom.xml index d8e796d94a..16b5b564a7 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -119,6 +119,32 @@ + + + + maven-jar-plugin + 2.3.1 + + + + test-jar + + + + + + + META-INF/services/ + org/jclouds/providers/*Test*.class + + + + + + distribution