Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Bump fmt-maven-plugin from 2.10 to 2.11 #275

Merged
merged 3 commits into from
Jul 9, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 9, 2021

Bumps fmt-maven-plugin from 2.10 to 2.11.

Commits

Dependabot compatibility score

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 commands and options

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jul 9, 2021
Bumps [fmt-maven-plugin](https://github.com/coveo/fmt-maven-plugin) from 2.10 to 2.11.
- [Release notes](https://github.com/coveo/fmt-maven-plugin/releases)
- [Commits](https://github.com/coveo/fmt-maven-plugin/commits)

---
updated-dependencies:
- dependency-name: com.coveo:fmt-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/maven/com.coveo-fmt-maven-plugin-2.11 branch from 9b2e673 to cbdcd6f Compare July 9, 2021 18:17
@texastony
Copy link
Contributor

texastony commented Jul 9, 2021

Noticed this while scanning for breaking changes/a change log (why can I not find Maven repo change logs?):

"Starting from version 1.8, Google Java Formatter requires Java 11 to run. Incidently, all versions of this plugin starting from 2.10 inclusively also require this Java version to properly function. The 2.9.x release branch is the most up-to-date version that still runs on Java 8." -- fmt-maven-plugin: f89f8a3

We support Java 8. We may want to downgrade fmt-maven-plugin to 2.9.x.

pom.xml Show resolved Hide resolved
We support java8 and greater.
fmt-maven-plugin 2.9.x supports java8. 
fmt-maven-plugin >= 2.10 needs java11 and up.
@texastony texastony changed the title chore: Bump fmt-maven-plugin from 2.10 to 2.11 chore: Bump fmt-maven-plugin down from 2.10 to 2.9.x Jul 9, 2021
@texastony

This comment has been minimized.

@texastony
Copy link
Contributor

I should have looked into the pom.xml before downgrading to 2.9.1.

            <plugin>
                <groupId>com.coveo</groupId>
                <artifactId>fmt-maven-plugin</artifactId>
                <version>2.9.1</version>
                <!-- Configure no goals. -->
                <!--Until our CI builds no longer depend on Java 8, skip this during build.-->
                <!--We instead manually check this in Java 11 environments to block builds, -->
                <!--And additionally check this explicitly through Github Actions.-->
            </plugin>

My bad. Let's see if I can undo my foolishness.

This reverts commit 5c4a4e6

We only use the fmt-maven-plugin on java11 targets
@texastony texastony changed the title chore: Bump fmt-maven-plugin down from 2.10 to 2.9.x chore: Bump fmt-maven-plugin from 2.10 to 2.11 Jul 9, 2021
Copy link
Contributor

@texastony texastony left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read through change log, confirmed that all changes were bug fixes/dependency fixes.

@texastony texastony merged commit 54a6f72 into master Jul 9, 2021
@dependabot dependabot bot deleted the dependabot/maven/com.coveo-fmt-maven-plugin-2.11 branch July 9, 2021 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant