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

Upgrade maven-compiler-plugin 3.10.1 -> 3.12.1 #515

Merged

Conversation

Picnic-Bot
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
org.apache.maven.plugins:maven-compiler-plugin build minor 3.10.1 -> 3.11.0

  • If you want to rebase/retry this PR, check this box

@Picnic-Bot
Copy link
Contributor Author

Picnic-Bot commented Mar 1, 2023

Suggested commit message:

Upgrade maven-compiler-plugin 3.10.1 -> 3.12.1 (#515)

See:
- https://github.com/apache/maven-compiler-plugin/releases/tag/maven-compiler-plugin-3.11.0
- https://github.com/apache/maven-compiler-plugin/releases/tag/maven-compiler-plugin-3.12.0
- https://github.com/apache/maven-compiler-plugin/releases/tag/maven-compiler-plugin-3.12.1
- https://github.com/apache/maven-compiler-plugin/compare/maven-compiler-plugin-3.10.1...maven-compiler-plugin-3.12.1

@github-actions
Copy link

github-actions bot commented Mar 1, 2023

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

2 similar comments
@github-actions
Copy link

github-actions bot commented Mar 1, 2023

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@github-actions
Copy link

github-actions bot commented Mar 1, 2023

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

Copy link
Member

@Stephan202 Stephan202 left a comment

Choose a reason for hiding this comment

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

Added a commit with some suggestions. With these changes, running with -Dverification.skip logs:

[WARNING] The property failOnWarning is set to true, but showWarnings is set to false.
[WARNING] With compiler's warnings silenced the failOnWarning has no effect.

Didn't see a nice/proper/robust way around that yet.

Separately for that, I noticed that building against the Error Prone fork causes an error if run from within a submodule. That's surprising and requires further investigation. (EOD earliest; meetings now.)

@Stephan202 Stephan202 added this to the 0.9.0 milestone Mar 1, 2023
@Stephan202
Copy link
Member

Separately for that, I noticed that building against the Error Prone fork causes an error if run from within a submodule. That's surprising and requires further investigation.

This issue also breaks the -pl flag. Part of the problem is unrelated to this PR and already got broken by d1f5133; another part does seem to be broken by the changes in this PR. Will look more closely at that.

@Picnic-Bot
Copy link
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@rickie rickie modified the milestones: 0.9.0, 0.10.0 Mar 30, 2023
@rickie rickie modified the milestones: 0.10.0, 0.11.0 Apr 26, 2023
@Stephan202 Stephan202 modified the milestones: 0.11.0, 0.12.0 May 14, 2023
@Stephan202 Stephan202 modified the milestones: 0.12.0, 0.13.0 Jun 21, 2023
@rickie rickie modified the milestones: 0.13.0, 0.14.0 Aug 25, 2023
@rickie rickie modified the milestones: 0.14.0, 0.15.0 Oct 4, 2023
@Stephan202 Stephan202 force-pushed the renovate/org.apache.maven.plugins-maven-compiler-plugin-3.x branch from 77ba138 to cea6018 Compare December 19, 2023 20:09
@Stephan202 Stephan202 changed the title Upgrade org.apache.maven.plugins:maven-compiler-plugin 3.10.1 -> 3.11.0 Upgrade org.apache.maven.plugins:maven-compiler-plugin 3.10.1 -> 3.12.0 Dec 19, 2023
Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@Stephan202
Copy link
Member

I rebased and upgraded to version 3.12.0; all-in-all this upgrade now makes for a nice cleanup.

The only open point is the issue with building a subset of the modules against the fork. I don't want to further block this PR on that; will have a small final look to see whether I can find a fix.

Copy link
Member

@Stephan202 Stephan202 left a comment

Choose a reason for hiding this comment

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

K, upon retesting I conclude that the issue with the partial builds using the Error Prone fork are not new at all; but with -pl and by cd-ing into the subdirectory I can reproduce the issue against master. @rickie I think we can merge this one, finally :)

@rickie rickie force-pushed the renovate/org.apache.maven.plugins-maven-compiler-plugin-3.x branch from cea6018 to 16a9839 Compare December 24, 2023 18:59
@rickie
Copy link
Member

rickie commented Dec 24, 2023

Rebased and resolved conflict, will take a look tomorrow.

Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@rickie rickie force-pushed the renovate/org.apache.maven.plugins-maven-compiler-plugin-3.x branch from 16a9839 to 38a0767 Compare December 25, 2023 12:01
Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

<configuration>
<!-- XXX: MCOMPILER-503: The plugin constructs a highly
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Good once; done. ✔️

</path>
<path>
<groupId>${project.groupId}</groupId>
<artifactId>refaster-runner</artifactId>
<version>${project.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Hmm, that one counteracts the opposite config on line 911. This way warnings are disabled if -Dverification.skip is specified.

@Stephan202 Stephan202 changed the title Upgrade org.apache.maven.plugins:maven-compiler-plugin 3.10.1 -> 3.12.0 Upgrade org.apache.maven.plugins:maven-compiler-plugin 3.10.1 -> 3.12.1 Dec 26, 2023
@Stephan202
Copy link
Member

I updated the PR to include the upgrade to version 3.12.1.

Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@rickie
Copy link
Member

rickie commented Dec 26, 2023

Nice improvements. Cool to see so many improvements in these releases 😄. Makes the pom.xml a lot more straightforward.

@rickie rickie merged commit 3578a8c into master Dec 26, 2023
16 checks passed
@rickie rickie deleted the renovate/org.apache.maven.plugins-maven-compiler-plugin-3.x branch December 26, 2023 11:04
@Stephan202
Copy link
Member

For future reference: this cleanup triggered a bug in IntelliJ IDEA; see #958 for details.

@Stephan202 Stephan202 changed the title Upgrade org.apache.maven.plugins:maven-compiler-plugin 3.10.1 -> 3.12.1 Upgrade maven-compiler-plugin 3.10.1 -> 3.12.1 Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants