Skip to content

Commit d3efe02

Browse files
cpovirkGoogle Java Core Libraries
authored andcommitted
Bump maven-clean-plugin and some plugins that we probably don't actually use.
(These new entries are in `pluginManagement`, so IIUC they affect only the version that's used *if* a plugin is used, without "triggering" its execution in any way.) (I noticed that the `maven-site-plugin` section in the `effective-pom` output lists its own dependency on `maven-project-info-reports-plugin` without a listed version. I don't know what that means. But given that my change to `maven-site-plugin` is probably already academic, I'm not going to dig into that or try to specify a version.) RELNOTES=n/a PiperOrigin-RevId: 910260915
1 parent 93b09f0 commit d3efe02

2 files changed

Lines changed: 46 additions & 0 deletions

File tree

android/pom.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@
7575
<junit.version>4.13.2</junit.version>
7676
<listenablefuture.version>9999.0-empty-to-avoid-conflict-with-guava</listenablefuture.version>
7777
<maven-antrun-plugin.version>3.2.0</maven-antrun-plugin.version>
78+
<maven-assembly-plugin.version>3.8.0</maven-assembly-plugin.version>
7879
<maven-bundle-plugin.version>5.1.9</maven-bundle-plugin.version>
80+
<maven-clean-plugin.version>3.5.0</maven-clean-plugin.version>
7981
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
8082
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
8183
<maven-deploy-plugin.version>3.1.4</maven-deploy-plugin.version>
@@ -84,7 +86,9 @@
8486
<maven-install-plugin.version>3.1.4</maven-install-plugin.version>
8587
<maven-jar-plugin.version>3.5.0</maven-jar-plugin.version>
8688
<maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version>
89+
<maven-release-plugin.version>3.3.1</maven-release-plugin.version>
8790
<maven-resources-plugin.version>3.4.0</maven-resources-plugin.version>
91+
<maven-site-plugin.version>3.21.0</maven-site-plugin.version>
8892
<maven-source-plugin.version>3.4.0</maven-source-plugin.version>
8993
<maven-surefire-plugin.version>3.5.4</maven-surefire-plugin.version>
9094
<maven-toolchains-plugin.version>3.2.0</maven-toolchains-plugin.version>
@@ -193,6 +197,15 @@
193197
<artifactId>maven-antrun-plugin</artifactId>
194198
<version>${maven-antrun-plugin.version}</version>
195199
</plugin>
200+
<plugin>
201+
<artifactId>maven-assembly-plugin</artifactId>
202+
<version>${maven-assembly-plugin.version}</version>
203+
<!-- I'm not aware of any normal situation in which we use maven-assembly-plugin. But it still shows up in the effective-pom, and I don't like having plugin versions that change automatically with the Maven version or, worse, whatever the most recently released version is. -->
204+
</plugin>
205+
<plugin>
206+
<artifactId>maven-clean-plugin</artifactId>
207+
<version>${maven-clean-plugin.version}</version>
208+
</plugin>
196209
<plugin>
197210
<artifactId>maven-compiler-plugin</artifactId>
198211
<version>${maven-compiler-plugin.version}</version>
@@ -328,10 +341,20 @@
328341
</execution>
329342
</executions>
330343
</plugin>
344+
<plugin>
345+
<artifactId>maven-release-plugin</artifactId>
346+
<version>${maven-release-plugin.version}</version>
347+
<!-- I'm not aware of any normal situation in which we use maven-release-plugin. But it still shows up in the effective-pom, and I don't like having plugin versions that change automatically with the Maven version or, worse, whatever the most recently released version is. -->
348+
</plugin>
331349
<plugin>
332350
<artifactId>maven-resources-plugin</artifactId>
333351
<version>${maven-resources-plugin.version}</version>
334352
</plugin>
353+
<plugin>
354+
<artifactId>maven-site-plugin</artifactId>
355+
<version>${maven-site-plugin.version}</version>
356+
<!-- I'm not aware of any normal situation in which we use maven-site-plugin. But it still shows up in the effective-pom, and I don't like having plugin versions that change automatically with the Maven version or, worse, whatever the most recently released version is. -->
357+
</plugin>
335358
<plugin>
336359
<artifactId>maven-source-plugin</artifactId>
337360
<version>${maven-source-plugin.version}</version>

pom.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@
7676
<junit.version>4.13.2</junit.version>
7777
<listenablefuture.version>9999.0-empty-to-avoid-conflict-with-guava</listenablefuture.version>
7878
<maven-antrun-plugin.version>3.2.0</maven-antrun-plugin.version>
79+
<maven-assembly-plugin.version>3.8.0</maven-assembly-plugin.version>
7980
<maven-bundle-plugin.version>5.1.9</maven-bundle-plugin.version>
81+
<maven-clean-plugin.version>3.5.0</maven-clean-plugin.version>
8082
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
8183
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
8284
<maven-deploy-plugin.version>3.1.4</maven-deploy-plugin.version>
@@ -85,7 +87,9 @@
8587
<maven-install-plugin.version>3.1.4</maven-install-plugin.version>
8688
<maven-jar-plugin.version>3.5.0</maven-jar-plugin.version>
8789
<maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version>
90+
<maven-release-plugin.version>3.3.1</maven-release-plugin.version>
8891
<maven-resources-plugin.version>3.4.0</maven-resources-plugin.version>
92+
<maven-site-plugin.version>3.21.0</maven-site-plugin.version>
8993
<maven-source-plugin.version>3.4.0</maven-source-plugin.version>
9094
<maven-surefire-plugin.version>3.5.4</maven-surefire-plugin.version>
9195
<maven-toolchains-plugin.version>3.2.0</maven-toolchains-plugin.version>
@@ -194,6 +198,15 @@
194198
<artifactId>maven-antrun-plugin</artifactId>
195199
<version>${maven-antrun-plugin.version}</version>
196200
</plugin>
201+
<plugin>
202+
<artifactId>maven-assembly-plugin</artifactId>
203+
<version>${maven-assembly-plugin.version}</version>
204+
<!-- I'm not aware of any normal situation in which we use maven-assembly-plugin. But it still shows up in the effective-pom, and I don't like having plugin versions that change automatically with the Maven version or, worse, whatever the most recently released version is. -->
205+
</plugin>
206+
<plugin>
207+
<artifactId>maven-clean-plugin</artifactId>
208+
<version>${maven-clean-plugin.version}</version>
209+
</plugin>
197210
<plugin>
198211
<artifactId>maven-compiler-plugin</artifactId>
199212
<version>${maven-compiler-plugin.version}</version>
@@ -329,10 +342,20 @@
329342
</execution>
330343
</executions>
331344
</plugin>
345+
<plugin>
346+
<artifactId>maven-release-plugin</artifactId>
347+
<version>${maven-release-plugin.version}</version>
348+
<!-- I'm not aware of any normal situation in which we use maven-release-plugin. But it still shows up in the effective-pom, and I don't like having plugin versions that change automatically with the Maven version or, worse, whatever the most recently released version is. -->
349+
</plugin>
332350
<plugin>
333351
<artifactId>maven-resources-plugin</artifactId>
334352
<version>${maven-resources-plugin.version}</version>
335353
</plugin>
354+
<plugin>
355+
<artifactId>maven-site-plugin</artifactId>
356+
<version>${maven-site-plugin.version}</version>
357+
<!-- I'm not aware of any normal situation in which we use maven-site-plugin. But it still shows up in the effective-pom, and I don't like having plugin versions that change automatically with the Maven version or, worse, whatever the most recently released version is. -->
358+
</plugin>
336359
<plugin>
337360
<artifactId>maven-source-plugin</artifactId>
338361
<version>${maven-source-plugin.version}</version>

0 commit comments

Comments
 (0)