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

Require maven 3.6.3 or above for the Maven plugin #6928

Closed
aikebah opened this issue Aug 27, 2024 · 2 comments · Fixed by #6932
Closed

Require maven 3.6.3 or above for the Maven plugin #6928

aikebah opened this issue Aug 27, 2024 · 2 comments · Fixed by #6932
Milestone

Comments

@aikebah
Copy link
Collaborator

aikebah commented Aug 27, 2024

The Apache maven project has EOLed Maven 3.6.3 in April 2023 and have their plugin policy updated to have plugins require maven 3.6.3 as the minimal maven version.

https://maven.apache.org/developers/compatibility-plan.html

Currently the OWASP DependencyCheck maven-plugin lists the minimum required version of Maven as 3.1

Describe the solution you'd like
Update the maven-plugin to also follow the maven policy and abandon supporting compatibility with older Maven versions.

Describe alternatives you've considered
Keeping compatibility in with older maven versions as long as nothing breaks while even the Maven community has moved on to only support maven versions 3.6.3 and later in their native plugin ecosystem.

Additional context
Any software developer taking security seriously would've upgraded their maven stack to at least 3.8.1 which ensures by default that http (more susceptible to MITM attacks) may never be used to access artifact repositories, so the target audience of DependencyCheck should typically already be beyond the new minimal maven version (especially since the new minimal maven version is also already an EOLed version)

@aikebah aikebah added this to the 11.0.0 milestone Aug 27, 2024
@TIBCOrkrajews
Copy link

This sounds reasonable because of the reasons listed above – I am not sure why Maven 3.6.3 was the baseline for the Maven team in their recent plugin updates, but I think it had at least partially to do with the resolver libraries, which might be relevant for Dependency-Check's Java analysis.

@aikebah
Copy link
Collaborator Author

aikebah commented Aug 27, 2024

Not sure why they picked the EOL 3.6.3 and not its successor 3.8.1 as the baseline, but that's how they've done it for the native plugins.

I do know that they're also actively working (if not completed working on it) to erase dependencies on maven2 compatibility libraries in preparation of a smooth transition to Maven 4 in the future.

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

Successfully merging a pull request may close this issue.

2 participants