diff options
author | cpovirk <cpovirk@google.com> | 2020-10-22 11:01:09 -0700 |
---|---|---|
committer | Google Java Core Libraries <java-core-libraries-team+copybara@google.com> | 2020-10-22 11:01:37 -0700 |
commit | 14bb4c20c792b0ea16dde838ae10e9329f05cda4 (patch) | |
tree | d63c6c901631e261435c3767c58d2e748bb9ef3b /factory | |
parent | 8156fee68331ec27aac7c004a1f1a694dd9f7349 (diff) | |
download | auto-14bb4c20c792b0ea16dde838ae10e9329f05cda4.tar.gz |
Update a bunch of *deps* (though not *plugins*).
Process:
( for F in common factory service value; do ( mvn org.codehaus.mojo:versions-maven-plugin:2.8.1:update-properties org.codehaus.mojo:versions-maven-plugin:2.8.1:use-latest-releases -f $F/pom.xml ); done && mvn org.codehaus.mojo:versions-maven-plugin:2.8.1:use-latest-versions -f value/src/it/gwtserializer/pom.xml )
Then undid the Compile-Testing update in value/pom.xml. It somehow breaks things.
And I undid the google-java-format update in factory/pom.xml. It isn't compatible with JDK8/9, which is what Travis is set up for. (And then I flailed around for 15 minutes because Maven didn't rebuild some files when I changed JDKs, producing mystery failures. Argh. Perhaps we should set `<useIncrementalCompilation>` to `false` everywhere.)
And *then* I undid the auto-service upgrade in value/processor/pom.xml. It causes problems but only under JDK9: https://travis-ci.org/github/google/auto/jobs/738096563 The error isn't in generated code, so I suspect a compiler bug. (But my quick search didn't find a filed OpenJDK issue.)
(Someday I will remember -DgenerateBackupPoms=false....)
For some reason, gwtserializer responds to use-latest-versions but not to use-latest-releases, even though it's updating GWT to a release (just as in one of the other POMs).
We don't use use-latest-versions everywhere not just because it could theoretically pick a non-release versions but also because use-latest-versions replaces variable usages like ${guava-version} by inlining the value into them: https://github.com/mojohaus/versions-maven-plugin/issues/243
I would have updated the plugins in addition to the deps, but oddly the plugin does not support this: https://stackoverflow.com/q/34032262/28465
Fixes #919, #918, #917, #915, #914, #911, #908, #906, #904, #903, #901, #900, #899
RELNOTES=n/a
PiperOrigin-RevId: 338507900
Diffstat (limited to 'factory')
-rw-r--r-- | factory/pom.xml | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/factory/pom.xml b/factory/pom.xml index 48bcfeff..18f51f89 100644 --- a/factory/pom.xml +++ b/factory/pom.xml @@ -37,8 +37,8 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <java.version>1.8</java.version> - <guava.version>28.2-jre</guava.version> - <truth.version>1.0.1</truth.version> + <guava.version>30.0-jre</guava.version> + <truth.version>1.1</truth.version> </properties> <scm> @@ -69,40 +69,41 @@ <dependency> <groupId>com.google.auto</groupId> <artifactId>auto-common</artifactId> - <version>0.10</version> + <version>0.11</version> </dependency> <dependency> <groupId>com.google.auto.value</groupId> <artifactId>auto-value-annotations</artifactId> - <version>1.7</version> + <version>1.7.4</version> </dependency> <dependency> <groupId>com.google.auto.value</groupId> <artifactId>auto-value</artifactId> - <version>1.7</version> + <version>1.7.4</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.auto.service</groupId> <artifactId>auto-service</artifactId> - <version>1.0-rc6</version> + <version>1.0-rc7</version> <scope>provided</scope> </dependency> <dependency> <groupId>net.ltgt.gradle.incap</groupId> <artifactId>incap</artifactId> - <version>0.2</version> + <version>0.3</version> <scope>provided</scope> </dependency> <dependency> <groupId>net.ltgt.gradle.incap</groupId> <artifactId>incap-processor</artifactId> - <version>0.2</version> + <version>0.3</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.googlejavaformat</groupId> <artifactId>google-java-format</artifactId> + <!-- TODO(cpovirk): Update to 1.9. But 1.8 and higher require Java 11+ build tools. We still run tests with JDK8 and JDK9, and perhaps we intend to support end users who build with those versions? --> <version>1.7</version> </dependency> <dependency> @@ -113,7 +114,7 @@ <dependency> <groupId>com.squareup</groupId> <artifactId>javapoet</artifactId> - <version>1.12.1</version> + <version>1.13.0</version> </dependency> <dependency> <groupId>javax.inject</groupId> @@ -124,13 +125,13 @@ <dependency> <groupId>com.google.testing.compile</groupId> <artifactId>compile-testing</artifactId> - <version>0.18</version> + <version>0.19</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.13</version> + <version>4.13.1</version> <scope>test</scope> </dependency> <dependency> |