Skip to content

Commit 71115a0

Browse files
cpovirkGoogle Java Core Libraries
authored and
Google Java Core Libraries
committed
Downgrade to a version of plexus-io from before a performance improvement was reverted.
(See codehaus-plexus/plexus-io#109.) This downgrade reduces the time for a clean `mvn source:jar-no-fork -f guava` on our Google workstations from ~53s to ~1s. (I also upgraded `maven-source-plugin` itself while I was in the area. We still don't have a great way to automatically update Guava _plugins_, only _deps_, as noted offhand in cl/526651811 and discussed slightly more in cl/554548816.) RELNOTES=n/a PiperOrigin-RevId: 650382872
1 parent ad57f52 commit 71115a0

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

android/pom.xml

+9-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
</plugin>
164164
<plugin>
165165
<artifactId>maven-source-plugin</artifactId>
166-
<version>3.3.0</version>
166+
<version>3.3.1</version>
167167
<executions>
168168
<execution>
169169
<id>attach-sources</id>
@@ -172,6 +172,14 @@
172172
</goals>
173173
</execution>
174174
</executions>
175+
<dependencies>
176+
<dependency>
177+
<groupId>org.codehaus.plexus</groupId>
178+
<artifactId>plexus-io</artifactId>
179+
<!-- DO NOT UPGRADE this past 3.4.1 until https://github.com/codehaus-plexus/plexus-io/issues/109 is fixed. -->
180+
<version>3.4.1</version>
181+
</dependency>
182+
</dependencies>
175183
</plugin>
176184
<plugin>
177185
<groupId>org.codehaus.mojo</groupId>

pom.xml

+9-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
</plugin>
165165
<plugin>
166166
<artifactId>maven-source-plugin</artifactId>
167-
<version>3.3.0</version>
167+
<version>3.3.1</version>
168168
<executions>
169169
<execution>
170170
<id>attach-sources</id>
@@ -173,6 +173,14 @@
173173
</goals>
174174
</execution>
175175
</executions>
176+
<dependencies>
177+
<dependency>
178+
<groupId>org.codehaus.plexus</groupId>
179+
<artifactId>plexus-io</artifactId>
180+
<!-- DO NOT UPGRADE this past 3.4.1 until https://github.com/codehaus-plexus/plexus-io/issues/109 is fixed. -->
181+
<version>3.4.1</version>
182+
</dependency>
183+
</dependencies>
176184
</plugin>
177185
<plugin>
178186
<groupId>org.codehaus.mojo</groupId>

0 commit comments

Comments
 (0)