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

Bring build plugins and libraries up to date plus switch findbugs to spotbugs #240

Merged
merged 7 commits into from
May 16, 2023

Conversation

hazendaz
Copy link
Contributor

No description provided.

@hazendaz
Copy link
Contributor Author

Missed content coming from file-management for same provided scope issue. If that module is upgraded, the code has to change as it uses slf4j so this last commit seemed the easier path for now.

Comment on lines +50 to 61
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-compat</artifactId>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
Copy link
Member

Choose a reason for hiding this comment

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

Can you give some more context of why these were added?

Copy link
Member

Choose a reason for hiding this comment

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

Oh, I see. Because it was in the list of dependencies you got a warning about.

Copy link
Member

Choose a reason for hiding this comment

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

These are transitive dependencies. After commenting these lines out out, mvnw dependency:tree shows

[INFO] +- org.apache.maven:maven-plugin-api:jar:3.0:provided
[INFO] |  +- org.apache.maven:maven-artifact:jar:3.0:compile

and

[INFO] +- org.apache.maven.shared:file-management:jar:3.0.0:compile
[INFO] |  \- org.apache.maven.shared:maven-shared-io:jar:3.0.0:compile
[INFO] |     +- org.apache.maven:maven-compat:jar:3.0:compile

So I guess it's correct to add them.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

if the file-management is updated to 3.1.0 that would not have been needed but the gmavenplus code currently is passing a log that doesn't resolve as needed. So it seemed easier for a quicker pass on it to just override those to make maven happy for time being. That next file management doesn't contain those btw. And for whatever reason a build locally for me fails at the current master before this and I didnt' have time to look into that when GHA were completely fine.

@keeganwitt keeganwitt merged commit e5e8583 into groovy:master May 16, 2023
2 checks passed
@hazendaz
Copy link
Contributor Author

@keeganwitt Thanks for quickly picking this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants