aboutsummaryrefslogtreecommitdiff
path: root/service
AgeCommit message (Collapse)Author
2021-05-26Bump truth from 1.1.2 to 1.1.3 in /servicedependabot[bot]
Bumps [truth](https://github.com/google/truth) from 1.1.2 to 1.1.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/google/truth/releases">truth's releases</a>.</em></p> <blockquote> <h2>1.1.3</h2> <ul> <li>Fixed a bug in how <code>comparingExpectedFieldsOnly()</code> handles <code>oneof</code> fields. (f27208428)</li> <li>Improved <code>comparingExpectedFieldsOnly</code> to work when required fields are absent. (f27208428)</li> <li>Changed <code>Subject.toString()</code> to throw <code>UnsupportedOperationException</code>. (fa4c7b512)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/google/truth/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.truth:truth&package-manager=maven&previous-version=1.1.2&new-version=1.1.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Fixes #1104 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/auto/pull/1104 from google:dependabot/maven/service/com.google.truth-truth-1.1.3 2392dc5f08f739a10935983032ec1f0601217a46 PiperOrigin-RevId: 375932778
2021-05-25Use the return value of `addAll()` instead of making separate calls to ↵David P. Baker
`containsAll()` and `addAll()`. RELNOTES=n/a PiperOrigin-RevId: 375727307
2021-05-25Continue rather than returning in the AutoService loop.Éamonn McManus
The old code would return as soon as it found a `META-INF/services` file that contributed nothing to the list of services to be generated. It should have continued instead, to go on to the next provider interface. Fixes https://github.com/google/auto/issues/839. Thanks to @bbyk for the bug report. RELNOTES=Fixed a bug in AutoServiceProcessor that could lead to some services not being processed. PiperOrigin-RevId: 375717338
2021-04-06Update dependencies on Auto Common from 0.11 to 1.0.Éamonn McManus
RELNOTES=n/a PiperOrigin-RevId: 367066911
2021-03-29Bump plexus-java from 1.0.6 to 1.0.7 in /servicedependabot[bot]
Bumps [plexus-java](https://github.com/codehaus-plexus/plexus-languages) from 1.0.6 to 1.0.7. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/1b9a66590acc07f59f0ab4124162c69ddc8f56ad"><code>1b9a665</code></a> [maven-release-plugin] prepare release plexus-languages-1.0.7</li> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/781600e5e7d9c22bbf0701fe04f4e5f114fb62e7"><code>781600e</code></a> [maven-release-plugin] rollback the release of plexus-languages-1.0.7</li> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/22b6e96aaf6995aef0901dc35ffec41f6b3681fc"><code>22b6e96</code></a> [maven-release-plugin] prepare release plexus-languages-1.0.7</li> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/d317fa13b8bcfa223ffdb6ee3f7984c01fbf6b0e"><code>d317fa1</code></a> Bump release-drafter/release-drafter from v5.13.0 to v5.15.0</li> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/83921e48375b14f5798e292a7b65053a807ab8f2"><code>83921e4</code></a> Bump actions/cache from v2.1.3 to v2.1.4</li> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/40f57c77923db5259485097988ca0538e844aa03"><code>40f57c7</code></a> Bump junit from 4.13.1 to 4.13.2</li> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/fbe59511ace6372b09cd34ca465d92bf69fa4edb"><code>fbe5951</code></a> <a href="https://github-redirect.dependabot.com/codehaus-plexus/plexus-languages/issues/70">#70</a> Jars of which modulename extraction cause an exception should end up on t...</li> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/249f8bd6c55afdc281ed5c3185b20c3859e86b24"><code>249f8bd</code></a> <a href="https://github-redirect.dependabot.com/codehaus-plexus/plexus-languages/issues/64">#64</a> BinaryModuleInfoParser.parse does not take toolchain into account</li> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/a1b61e06394026b123517e57d89d7ecd0e9db939"><code>a1b61e0</code></a> [maven-release-plugin] prepare for next development iteration</li> <li>See full diff in <a href="https://github.com/codehaus-plexus/plexus-languages/compare/plexus-languages-1.0.6...plexus-languages-1.0.7">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.codehaus.plexus:plexus-java&package-manager=maven&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Fixes #1033 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/auto/pull/1033 from google:dependabot/maven/service/org.codehaus.plexus-plexus-java-1.0.7 0ef478cecbcd98f7eee676cd3fcc7a4861c43a09 PiperOrigin-RevId: 365562295
2021-03-22Bump guava.version from 30.1-jre to 30.1.1-jre in /servicedependabot[bot]
Bumps `guava.version` from 30.1-jre to 30.1.1-jre. Updates `guava` from 30.1-jre to 30.1.1-jre <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/google/guava/releases">guava's releases</a>.</em></p> <blockquote> <h2>30.1.1</h2> <h3>Maven</h3> <pre lang="xml"><code>&lt;dependency&gt; &lt;groupId&gt;com.google.guava&lt;/groupId&gt; &lt;artifactId&gt;guava&lt;/artifactId&gt; &lt;version&gt;30.1.1-jre&lt;/version&gt; &lt;!-- or, for Android: --&gt; &lt;version&gt;30.1.1-android&lt;/version&gt; &lt;/dependency&gt; </code></pre> <h3>Javadoc</h3> <ul> <li><a href="http://guava.dev/releases/30.1.1-jre/api/docs/">30.1.1-jre</a></li> <li><a href="http://guava.dev/releases/30.1.1-android/api/docs/">30.1.1-android</a></li> </ul> <h3>JDiff</h3> <ul> <li><a href="http://guava.dev/releases/30.1.1-jre/api/diffs/">30.1.1-jre vs. 30.1-jre</a></li> <li><a href="http://guava.dev/releases/30.1.1-android/api/diffs/">30.1.1-android vs. 30.1-android</a></li> <li><a href="http://guava.dev/releases/30.1.1-android/api/androiddiffs/">30.1.1-android vs. 30.1.1-jre</a></li> </ul> <h3>Changelog</h3> <ul> <li>Increased the aggressiveness of <a href="https://github.com/google/guava/releases/tag/v30.1">Guava 30.1</a>'s warning log message for running <code>guava-android</code> under a Java 7 VM. (Android VMs are unaffected.) If the warning <em>itself</em> causes you trouble, you can eliminate it by silencing the logger for <code>com.google.common.base.Preconditions</code> (which is used <em>only</em> for this warning). This warning prepares for <a href="https://github-redirect.dependabot.com/google/guava/issues/5269">removing support for Java 7 in 2021</a>. Please report any problems. We have tried to make the warning as safe as possible, but anytime a common library logs, especially as aggressively as we do in this new release, there is the potential for <a href="https://stackoverflow.com/a/41017717/28465"><code>NullPointerException</code></a> or even <a href="https://stackoverflow.com/a/48009613/28465">deadlock</a>. (To be clear, Guava will not log under Java 8 or Android, but it will under Java 7.) (00c25e9b11)</li> <li><code>cache</code>: Fixed compatibility between <code>asMap().compute(...)</code> and a load. (42bf4f4eb7)</li> <li><code>cache</code>: Added <code>@CheckReturnValue</code> to some APIs. (a5ef129ffc)</li> <li><code>collect</code>: Added <code>@DoNotCall</code> to the mutator methods on immutable types (6ae9532d11)</li> <li><code>hash</code>: Removed <code>@Beta</code> from <code>HashCode</code>. (2c9f161e10)</li> <li><code>io</code>: Removed <code>@Beta</code> from <code>CountingOutputStream</code>. (d394bac847)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/google/guava/commits">compare view</a></li> </ul> </details> <br /> Updates `guava-gwt` from 30.1-jre to 30.1.1-jre <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/google/guava/releases">guava-gwt's releases</a>.</em></p> <blockquote> <h2>30.1.1</h2> <h3>Maven</h3> <pre lang="xml"><code>&lt;dependency&gt; &lt;groupId&gt;com.google.guava&lt;/groupId&gt; &lt;artifactId&gt;guava&lt;/artifactId&gt; &lt;version&gt;30.1.1-jre&lt;/version&gt; &lt;!-- or, for Android: --&gt; &lt;version&gt;30.1.1-android&lt;/version&gt; &lt;/dependency&gt; </code></pre> <h3>Javadoc</h3> <ul> <li><a href="http://guava.dev/releases/30.1.1-jre/api/docs/">30.1.1-jre</a></li> <li><a href="http://guava.dev/releases/30.1.1-android/api/docs/">30.1.1-android</a></li> </ul> <h3>JDiff</h3> <ul> <li><a href="http://guava.dev/releases/30.1.1-jre/api/diffs/">30.1.1-jre vs. 30.1-jre</a></li> <li><a href="http://guava.dev/releases/30.1.1-android/api/diffs/">30.1.1-android vs. 30.1-android</a></li> <li><a href="http://guava.dev/releases/30.1.1-android/api/androiddiffs/">30.1.1-android vs. 30.1.1-jre</a></li> </ul> <h3>Changelog</h3> <ul> <li>Increased the aggressiveness of <a href="https://github.com/google/guava/releases/tag/v30.1">Guava 30.1</a>'s warning log message for running <code>guava-android</code> under a Java 7 VM. (Android VMs are unaffected.) If the warning <em>itself</em> causes you trouble, you can eliminate it by silencing the logger for <code>com.google.common.base.Preconditions</code> (which is used <em>only</em> for this warning). This warning prepares for <a href="https://github-redirect.dependabot.com/google/guava/issues/5269">removing support for Java 7 in 2021</a>. Please report any problems. We have tried to make the warning as safe as possible, but anytime a common library logs, especially as aggressively as we do in this new release, there is the potential for <a href="https://stackoverflow.com/a/41017717/28465"><code>NullPointerException</code></a> or even <a href="https://stackoverflow.com/a/48009613/28465">deadlock</a>. (To be clear, Guava will not log under Java 8 or Android, but it will under Java 7.) (00c25e9b11)</li> <li><code>cache</code>: Fixed compatibility between <code>asMap().compute(...)</code> and a load. (42bf4f4eb7)</li> <li><code>cache</code>: Added <code>@CheckReturnValue</code> to some APIs. (a5ef129ffc)</li> <li><code>collect</code>: Added <code>@DoNotCall</code> to the mutator methods on immutable types (6ae9532d11)</li> <li><code>hash</code>: Removed <code>@Beta</code> from <code>HashCode</code>. (2c9f161e10)</li> <li><code>io</code>: Removed <code>@Beta</code> from <code>CountingOutputStream</code>. (d394bac847)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/google/guava/commits">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Fixes #1022 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/auto/pull/1022 from google:dependabot/maven/service/guava.version-30.1.1-jre f4e94f6f7c728323d87ae32307f79f055dfb3ca1 PiperOrigin-RevId: 364313955
2021-02-15Bump junit from 4.13.1 to 4.13.2 in /servicedependabot[bot]
Bumps [junit](https://github.com/junit-team/junit4) from 4.13.1 to 4.13.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/junit-team/junit4/releases">junit's releases</a>.</em></p> <blockquote> <h2>JUnit 4.13.2</h2> <p>Please refer to the <a href="https://github.com/junit-team/junit/blob/HEAD/doc/ReleaseNotes4.13.2.md">release notes</a> for details.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/junit-team/junit4/commit/05fe2a64f59127c02135be22f416e91260d6ede6"><code>05fe2a6</code></a> [maven-release-plugin] prepare release r4.13.2</li> <li><a href="https://github.com/junit-team/junit4/commit/ff57344f7171ea8b0935c4f842cacf1097266592"><code>ff57344</code></a> Add build for JDK 17-ea</li> <li><a href="https://github.com/junit-team/junit4/commit/02aaa01b8f74c0eb496d76685ec49fddeb311087"><code>02aaa01</code></a> Improve check that thread is stopped</li> <li><a href="https://github.com/junit-team/junit4/commit/e9a75f4be71a4d5a794ccd063522eea4b0f3194f"><code>e9a75f4</code></a> Merge test for exception type and message</li> <li><a href="https://github.com/junit-team/junit4/commit/d27ad5259228e84c235dac24cd62f974ac0a8e1d"><code>d27ad52</code></a> Rename DelegateStatement to DelegatingStatement</li> <li><a href="https://github.com/junit-team/junit4/commit/b83dc2e8c4ff06cf233cd347f1280bb417482985"><code>b83dc2e</code></a> Better name for test that stops statement</li> <li><a href="https://github.com/junit-team/junit4/commit/527f3a3d0d71ad6dc66ede6f68f6fc316904ed2a"><code>527f3a3</code></a> Replace InfiniteLoop with RunForASecond</li> <li><a href="https://github.com/junit-team/junit4/commit/2db63942882d91020b46d7333285e5c94f1d1e52"><code>2db6394</code></a> Tidy up FailOnTimeoutTest</li> <li><a href="https://github.com/junit-team/junit4/commit/64634e1c3e357251a84278c26b73b04fc3450ea3"><code>64634e1</code></a> Update 4.13.2 release notes to document pull 1654</li> <li><a href="https://github.com/junit-team/junit4/commit/f8ee412316b1a94d3dc35498359cc2f0ca273216"><code>f8ee412</code></a> Fix serialization of AssumptionViolatedException (<a href="https://github-redirect.dependabot.com/junit-team/junit4/issues/1654">#1654</a>)</li> <li>Additional commits viewable in <a href="https://github.com/junit-team/junit4/compare/r4.13.1...r4.13.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=junit:junit&package-manager=maven&previous-version=4.13.1&new-version=4.13.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Fixes #985 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/auto/pull/985 from google:dependabot/maven/service/junit-junit-4.13.2 830117d4c03fcccec6bd9d55e41acf05d53e7d33 PiperOrigin-RevId: 357654078
2021-01-26Bump truth from 1.1 to 1.1.2 in /servicedependabot[bot]
Bumps [truth](https://github.com/google/truth) from 1.1 to 1.1.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/google/truth/releases">truth's releases</a>.</em></p> <blockquote> <h2>1.1.2</h2> <p>This release completes the feature that I got wrong in <a href="https://github.com/google/truth/releases/tag/release_1_1_1">1.1.1</a> -- the ability to exclude our JUnit 4 dependency and still use standard Truth assertions.</p> <ul> <li>Made it possible for users to exclude our JUnit 4 dependency and still use standard Truth assertions -- <em>really</em> this time, even in cases in which excluding the dependency failed under <a href="https://github.com/google/truth/releases/tag/release_1_1_1">1.1.1</a>. (JUnit 4 is still required for some advanced features, like <code>Expect</code>, <code>ExpectFailure</code>, and <code>TruthJUnit.assume()</code>.) (948f3edca)</li> <li>When JUnit 4 is excluded from the classpath, the <code>AssertionError</code> Truth generates as a substitute for <code>ComparisonFailure</code> now includes the expected and actual values that were missing in <a href="https://github.com/google/truth/releases/tag/release_1_1_1">1.1.1</a>. (6b0140730)</li> </ul> <h2>1.1.1</h2> <p><strong>We recommend not trying to exclude our JUnit dependency even under this release. We will release 1.1.2 with better handling for the missing dependency shortly.</strong></p> <ul> <li><del>Made it possible for users to exclude our JUnit 4 dependency and still use standard Truth assertions. (JUnit 4 is still required for some advanced features, like <code>Expect</code>, <code>ExpectFailure</code>, and <code>TruthJUnit.assume()</code>.) (2d65326ec)</del> <ul> <li><strong>Update:</strong> This appears to let users exclude the dependency in some cases <a href="https://github-redirect.dependabot.com/google/truth/issues/333#issuecomment-765616282">but not all</a>. We are working on <a href="https://github-redirect.dependabot.com/google/truth/pull/806">a fix</a>.</li> <li><strong>Update 2:</strong> Also, even if you succeed in excluding the dependency in your environment, you will see failure messages that are missing information. We have <a href="https://github.com/google/truth/commit/6b0140730fa0e3ebb3056ddb0ae30863bbf95364">a fix</a> for this ready.</li> </ul> </li> </ul> <p>If you wish to exclude our JUnit dependency, you may wish to consider <a href="https://github-redirect.dependabot.com/google/truth/issues/333#issuecomment-765616282">this alternative approach</a>. That approach <a href="https://github-redirect.dependabot.com/google/truth/issues/333#issuecomment-765677646">may be worthwhile even after we fix the bugs described above</a>.</p> <p>I apologize for the trouble.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/google/truth/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.truth:truth&package-manager=maven&previous-version=1.1&new-version=1.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Fixes #973 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/auto/pull/973 from google:dependabot/maven/service/com.google.truth-truth-1.1.2 5d43e787df49bc76c1e7051bbb4100bf129248d1 PiperOrigin-RevId: 353866765
2021-01-15Bump plexus-java from 1.0.5 to 1.0.6 in /servicedependabot[bot]
Bumps [plexus-java](https://github.com/codehaus-plexus/plexus-languages) from 1.0.5 to 1.0.6. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/29371988cece5c37e2f6e661d249ca4a897e5988"><code>2937198</code></a> [maven-release-plugin] prepare release plexus-languages-1.0.6</li> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/e24c11531a55e7e234b3b7e5208c0b9c01216321"><code>e24c115</code></a> manage maven-javadoc-plugin version in root pom</li> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/695c2ca846dec90957d3b8c1b4881d60dfed32fa"><code>695c2ca</code></a> Update maven-shared-resources for maven-checkstyle-plugin</li> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/6473afcd32bdab490a6f53367c9b0eb54c07bfbd"><code>6473afc</code></a> Bump guice from 4.1.0 to 4.2.3</li> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/50a010b55f9c0e89a6e20c3a5b9e186c58d4e4de"><code>50a010b</code></a> Bump actions/cache from v2.1.2 to v2.1.3</li> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/4c4cb8acd760c502dc4b74bc93ae3328f1e8ad02"><code>4c4cb8a</code></a> Bump release-drafter/release-drafter from v5.11.0 to v5.13.0</li> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/93714422ea7ca907b1012930150ea3da3cd604d1"><code>9371442</code></a> Bump maven-enforcer-plugin from 3.0.0-M1 to 3.0.0-M3</li> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/bf4bb5488dabb99411055abd5e023cba52ff774d"><code>bf4bb54</code></a> Bump plexus from 6.5 to 7</li> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/1802e9fba5b48d96b6c17cdd13e76400edb56acb"><code>1802e9f</code></a> Bump sisu-maven-plugin from 0.3.3 to 0.3.4</li> <li><a href="https://github.com/codehaus-plexus/plexus-languages/commit/eaba96a1cbdf4ca2d9d3c79e017d993b9fa8d5a3"><code>eaba96a</code></a> Bump maven-failsafe-plugin from 2.21.0 to 2.22.2</li> <li>Additional commits viewable in <a href="https://github.com/codehaus-plexus/plexus-languages/compare/plexus-languages-1.0.5...plexus-languages-1.0.6">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.codehaus.plexus:plexus-java&package-manager=maven&previous-version=1.0.5&new-version=1.0.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Fixes #951 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/auto/pull/951 from google:dependabot/maven/service/org.codehaus.plexus-plexus-java-1.0.6 0ee396e3c0e3bb065c55eb8bbe03f6bbc21f336d PiperOrigin-RevId: 352054677
2020-12-21Bump guava.version from 30.0-jre to 30.1-jre in /servicedependabot[bot]
Bumps `guava.version` from 30.0-jre to 30.1-jre. Updates `guava` from 30.0-jre to 30.1-jre - [Release notes](https://github.com/google/guava/releases) - [Commits](https://github.com/google/guava/commits) Updates `guava-gwt` from 30.0-jre to 30.1-jre - [Release notes](https://github.com/google/guava/releases) - [Commits](https://github.com/google/guava/commits) Signed-off-by: dependabot[bot] <support@github.com>
2020-12-08Allow `@AutoService` to reference a generic service even if `-Averify=true`.Éamonn McManus
Previously we allowed this without `-Averify`, but produced an error if `-Averify=true`. Now, that error becomes a warning, and can be suppressed outright with `@SuppressWarnings("rawtypes")`. The fundamental issue is that when you say `@AutoService(MyService.class)`, there is no way to specify a type parameter, even if both `MyService` and the implementing class have one. This accurately reflects the limitation that `ServiceLoader.load(MyService.class)` doesn't include generics either. So there's some necessary imprecision in the type system, but it's not outright wrong the way it would be if you specified an unrelated type. Fixes https://github.com/google/auto/issues/870. Closes https://github.com/google/auto/pull/871. RELNOTES=`@AutoService` classes can now reference generic services and still pass `-Averify=true`. PiperOrigin-RevId: 346338973
2020-12-08Rewrite `AutoServiceProcessorTest` to use more modern Compile Testing APIs.Éamonn McManus
RELNOTES=n/a PiperOrigin-RevId: 346311927
2020-10-22Update versions of some plugins.cpovirk
Process: Just look at https://github.com/google/auto/pulls, grep for all files that contain the plugins mentioned, and edit them with Vim :) There might be other plugins that could be updated, too; I didn't check. Fixes #916 Fixes #913 Fixes #912 Fixes #910 Fixes #909 Fixes #907 Fixes #905 Fixes #902 Fixes #898 ...and, as with the previous CL, also "fixes" some PRs that Dependabot hasn't gotten around to submitting yet :) RELNOTES=n/a PiperOrigin-RevId: 338524539
2020-10-22Update a bunch of *deps* (though not *plugins*).cpovirk
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
2020-10-18Don't claim annotations in AutoAnnotationProcessor and AutoServiceProcessor.Éamonn McManus
Annotation claiming is a misfeature and we already stopped doing it years ago in AutoValueProcessor. It's an oversight that we didn't do it for these processors at the same time. Also apply some automated code-fix suggestions. RELNOTES=AutoAnnotationProcessor and AutoServiceProcessor no longer claim their annotations. PiperOrigin-RevId: 337750292
2020-04-15Update versions of Truth and Compile-testing.Sean Sullivan
Closes https://github.com/google/auto/pull/831 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=306447364
2019-12-02Use CLASS retention for @AutoService.emcmanus
This reapplies 28a2c791575a7e4545293169bea0921b81363a3 after fixing an internal, fragile test. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=283349599
2019-11-26Rollback 28a2c791575a7e4545293169bea0921b81363a3dludo
*** Reason for rollback *** breaks internal test *** Original change description *** Use CLASS retention for @AutoService Gradle incremental aggregating processors require all processed annotations to have CLASS retention so that the incremental compiler can substitute a class file for a source file if the file is unchanged. With SOURCE retention, Gradle requires a full rebuild. See: https://github.com/google/auto/issues/615 https://docs.gradle.org/6.0.1/userguide/java_plugin.html#aggregating_annotation_processors https://github.com/gradle/gradle/blob/v6.0.1/subprojects/langua... *** ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=282462095
2019-11-25Use CLASS retention for @AutoServiceemberrose
Gradle incremental aggregating processors require all processed annotations to have CLASS retention so that the incremental compiler can substitute a class file for a source file if the file is unchanged. With SOURCE retention, Gradle requires a full rebuild. See: https://github.com/google/auto/issues/615 https://docs.gradle.org/6.0.1/userguide/java_plugin.html#aggregating_annotation_processors https://github.com/gradle/gradle/blob/v6.0.1/subprojects/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/AggregatingProcessingStrategy.java#L49-L56 RELNOTES=`AutoService`: Use `CLASS` retention to support Gradle aggregating incremental annotation processors ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=282380619
2019-10-17Document that <annotationProcessorPaths> is the preferred way to use ↵dpb
auto-value for Maven and Gradle. Fixes https://github.com/google/auto/issues/773. RELNOTES=Document that `<annotationProcessorPaths>` is the preferred way to use auto-value for Maven and Gradle. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=275036598
2019-10-08Update to Truth 1.0.Elliotte Rusty Harold
Fixes #764 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=273333229
2019-10-08Document the annotationProcessorPaths approach to using AutoService.cpovirk
We've already documented this for AutoValue: https://github.com/google/auto/blob/master/value/userguide/index.md#in-pomxml Here, I've chosen to recommend annotationProcessorPaths as the first option: - I assume that this reduces the chance of classpath conflicts. - It also keeps AutoService working when I switch to the new way of running Error Prone (though maybe there are alternatives). See CL 272720556. Also, run the whole file through mdformat. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=273124744
2019-10-04Set an Automatic-Module-Name.cpovirk
This makes it practical to use from code that uses modules. Compare to Guava: https://github.com/google/guava/blob/5496c37d4d904869297c2ced1f0d20e6f1507eaa/guava/pom.xml#L60 https://github.com/google/guava/issues/2920 RELNOTES=AutoService: Set an Automatic-Module-Name. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272882826
2019-05-05Stop using auto-parent.cpovirk
It's released separately from all its children, so any updates we make there don't take effect until we make a release and update the child projects to use that. This requires pushing various configuration down into the child projects. Doing so makes the recent attempted update to Truth 0.44 actually take effect. Also, update Compile-Testing to the newly released version, which actually works with Truth 0.44. That upgrade exposes that AutoValue was relying on a transitive dependency on Truth8, which was removed in the latest Compile-Testing, so I've added explicit deps. https://github.com/google/compile-testing/commit/43a513ab14a5b4ab5810a13e14d8cb763546ab5d Also, I removed an explicit version for compile-testing in the AutoValue functional tests. That explicit version may or may not have been needed before, but it shouldn't be now. Likely it would make sense to remove more versions explicitly specified elsewhere. (Additional possible future work: Put deps on other Auto projects (like when AutoService depends on AutoCommon) into <dependencyManagement>.) Finally, I added some <url> values, since Maven has been generating bogus ones all along (by appending the subproject name to the parent URL, producing URLs something like "https://github.com/google/auto/auto-value"). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=245779060
2019-04-29Update copyrights to say Google LLC instead of Google Inc.emcmanus
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=244250754
2019-04-03Set the nested AutoService pom's to have the same parent ↵ronshapiro
(auto-service-aggregator). This allows mvn versions:set to set each of them at the same time. It also allows them to be released in tandem. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=240976869
2019-04-03Move the META-INF/gradle resources into auto/service/processor.ronshapiro
I missed this when first doing the migration ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=240483232
2019-03-22Fix an @link now that @AutoService and its annotations are not in the same ↵ronshapiro
maven module RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=239811641
2018-12-03Update to auto-parent 7 to get the latest version of Guavaronshapiro
Along the way, also clean up some explicit versions that are set in auto-parent Fixes https://github.com/google/auto/issues/683 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=223540267
2018-11-06Separate AutoService annotations and processorronshapiro
Fixes https://github.com/google/auto/issues/632 RELNOTES=`@AutoService` now has a separate artifact (`auto-service-annotations`) separate from the annotation processor (still `auto-service`) ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=219696198
2018-09-25Make AutoValue and AutoService support Gradle incremental build. This work ↵Thomas Broyer
was done by Thomas Broyer. Closes https://github.com/google/auto/pull/657 RELNOTES=Make AutoValue and AutoService support Gradle incremental build. Thanks to Thomas Broyer for this work. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=214442018
2018-01-24Use latest versions of auto-common (0.10) and auto-service (1.0-rc4).dpb
RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=182924975
2018-01-18Update references to auto-parent 6.dpb
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=182218347
2017-12-14Update version of auto-common to 0.9.dpb
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=178808754
2017-12-11Accept both a list and single Class value for @AutoServiceronshapiro
RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=178635209
2017-12-11Allow @AutoService to accept multiple service providersZac Sweers
Fixes https://github.com/google/auto/issues/488 Closes https://github.com/google/auto/issues/548 RELNOTES=Allow @AutoService to accept multiple service providers ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=178621520
2017-12-04Use dependency and plugin management from auto-parent v5. Use latest ↵dpb
dependencies and plugins for the functional test poms (which don't use auto-parent). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=177592315
2017-05-30Fix `@AutoService` example to reflect the fact that ↵Arend v. Reinersdorff
javax.annotation.processing.Processor is an interface, not a class. Closes https://github.com/google/auto/pull/495 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=157161342
2017-02-16Fix @AutoService javadocronshapiro
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=147358826
2016-08-29Update the integration test pom.xml files to use a version of ↵cgruber
maven-jar-plugin that isn't broken on ubuntu, causing multi-minute jar times. And while here, bump them all to 2.6 (2.5+ is fine, but may as well, and may as well be consistent.) ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=131537002
2016-08-29Fix Java source files under third_party/java_src/auto so that they follow ↵emcmanus
the new simplified import rules. One test, AutoFactoryProcessorTest, had to be updated with modified line numbers because unused imports in bad/MixedFinals.java were deleted. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129643318
2016-05-10Update to Guava 19ronshapiro
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120482220
2016-01-20Give @AutoService source retention, per ↵emcmanus
https://github.com/google/auto/issues/143. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=111963998
2015-08-04Make service and factory use maven-jar-plugin 2.5 to speed up builds on ↵cgruber
ubuntu (and bring the other two in consistency with value and common) ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=97997781
2015-04-24Bump projects to use the new parent pom, and (therefore) the sonatype ↵Christian Edward Gruber
release profile.
2014-10-24Restore snapshot development versionsChristian Edward Gruber
2014-10-24Prepare for release.Christian Edward Gruber
2014-10-24Bump auto-project dependencies to stable release versions and remove the ↵cgruber
now-obsolete common version stuff in the parent. Also update the test the executes the open-source maven build so it properly executes against all of the sub-modules. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=78454011
2014-09-06Migrate from Truth.ASSERT to Truth.assert_.Christian Edward Gruber
Tested: TAP --sample for global presubmit queue [] ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=72549415
2014-09-06Update Truth package name to the new location.Christian Edward Gruber
Tested: TAP --sample for global presubmit queue [] ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=72339462