diff --git a/google-http-client-android/pom.xml b/google-http-client-android/pom.xml index bf4267512..941231afa 100644 --- a/google-http-client-android/pom.xml +++ b/google-http-client-android/pom.xml @@ -23,18 +23,6 @@ ${project.artifactId} ${project.version} - - maven-source-plugin - - - source-jar - compile - - jar - - - - maven-jar-plugin @@ -44,7 +32,10 @@ - + + + maven-source-plugin + diff --git a/google-http-client-apache-v2/pom.xml b/google-http-client-apache-v2/pom.xml index cbb1e9421..b52e69ad3 100644 --- a/google-http-client-apache-v2/pom.xml +++ b/google-http-client-apache-v2/pom.xml @@ -25,15 +25,6 @@ maven-source-plugin - - - source-jar - compile - - jar - - - org.codehaus.mojo diff --git a/google-http-client-appengine/pom.xml b/google-http-client-appengine/pom.xml index 2839c448c..6e7ea0456 100644 --- a/google-http-client-appengine/pom.xml +++ b/google-http-client-appengine/pom.xml @@ -26,15 +26,6 @@ maven-source-plugin - - - source-jar - compile - - jar - - - diff --git a/google-http-client-findbugs/pom.xml b/google-http-client-findbugs/pom.xml index 470fca132..9a8b237d5 100644 --- a/google-http-client-findbugs/pom.xml +++ b/google-http-client-findbugs/pom.xml @@ -15,15 +15,6 @@ maven-source-plugin - - - source-jar - compile - - jar - - - org.codehaus.mojo diff --git a/google-http-client-gson/pom.xml b/google-http-client-gson/pom.xml index 6f1373977..fe6a7975c 100644 --- a/google-http-client-gson/pom.xml +++ b/google-http-client-gson/pom.xml @@ -26,15 +26,6 @@ maven-source-plugin - - - source-jar - compile - - jar - - - org.codehaus.mojo diff --git a/google-http-client-jackson2/pom.xml b/google-http-client-jackson2/pom.xml index 42178b61b..c67d7e44d 100644 --- a/google-http-client-jackson2/pom.xml +++ b/google-http-client-jackson2/pom.xml @@ -25,15 +25,6 @@ maven-source-plugin - - - source-jar - compile - - jar - - - org.codehaus.mojo diff --git a/google-http-client-protobuf/pom.xml b/google-http-client-protobuf/pom.xml index 0c598b1d5..481498714 100644 --- a/google-http-client-protobuf/pom.xml +++ b/google-http-client-protobuf/pom.xml @@ -32,15 +32,6 @@ maven-source-plugin - - - source-jar - compile - - jar - - - org.xolstice.maven.plugins diff --git a/google-http-client-test/pom.xml b/google-http-client-test/pom.xml index 696efb20b..3a5c40548 100644 --- a/google-http-client-test/pom.xml +++ b/google-http-client-test/pom.xml @@ -25,15 +25,6 @@ maven-source-plugin - - - source-jar - compile - - jar - - - org.codehaus.mojo diff --git a/google-http-client-xml/pom.xml b/google-http-client-xml/pom.xml index cf7e7a5b5..8cc1252c7 100644 --- a/google-http-client-xml/pom.xml +++ b/google-http-client-xml/pom.xml @@ -25,15 +25,6 @@ maven-source-plugin - - - source-jar - compile - - jar - - - org.codehaus.mojo diff --git a/google-http-client/pom.xml b/google-http-client/pom.xml index 83b10d732..30353b399 100644 --- a/google-http-client/pom.xml +++ b/google-http-client/pom.xml @@ -72,15 +72,6 @@ maven-source-plugin - - - source-jar - compile - - jar - - - maven-jar-plugin diff --git a/pom.xml b/pom.xml index 9e99fd796..622298806 100644 --- a/pom.xml +++ b/pom.xml @@ -388,6 +388,19 @@ maven-enforcer-plugin 3.4.1 + + org.apache.maven.plugins + maven-source-plugin + 3.3.0 + + + attach-sources + + jar-no-fork + + + +