Skip to content

Commit

Permalink
chore: fix declaration of maven-source-plugin for v3.3.0 (#1922)
Browse files Browse the repository at this point in the history
* chore: fix declaration of maven-source-plugin for v3.3.0
  • Loading branch information
mpeddada1 authored Jan 26, 2024
1 parent f0b1b4e commit f555f56
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 94 deletions.
17 changes: 4 additions & 13 deletions google-http-client-android/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,6 @@
<windowtitle>${project.artifactId} ${project.version}</windowtitle>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>source-jar</id>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
Expand All @@ -44,7 +32,10 @@
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
<dependencies>
Expand Down
9 changes: 0 additions & 9 deletions google-http-client-apache-v2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>source-jar</id>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down
9 changes: 0 additions & 9 deletions google-http-client-appengine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>source-jar</id>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!--App Engine uses Java 7 and above-->
<plugin>
Expand Down
9 changes: 0 additions & 9 deletions google-http-client-findbugs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@
<plugins>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>source-jar</id>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down
9 changes: 0 additions & 9 deletions google-http-client-gson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>source-jar</id>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down
9 changes: 0 additions & 9 deletions google-http-client-jackson2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>source-jar</id>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down
9 changes: 0 additions & 9 deletions google-http-client-protobuf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>source-jar</id>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>
Expand Down
9 changes: 0 additions & 9 deletions google-http-client-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>source-jar</id>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down
9 changes: 0 additions & 9 deletions google-http-client-xml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>source-jar</id>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down
9 changes: 0 additions & 9 deletions google-http-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,6 @@
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>source-jar</id>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
Expand Down
13 changes: 13 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,19 @@
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.4.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down

0 comments on commit f555f56

Please sign in to comment.