Draft: Add DS_MAVEN_VERSION to gemnasium to allow switching to different maven versions
What does this MR do?
Provide initial support for switching Maven version in gemnasium scanners used by GitLab container scanning.
Adds a DS_MAVEN_VERSION to the analyzer. This calls new functions in the .bashrc
to perform a tool
switch and examine the .tools-version
file for a match, or default.
Alias versions for user laziness and switch, calling the switch_to
function.
Add support for Maven versions through 3.9.2 (current). All maven versions are support in Java 8.
Adds exclusions to .gitignore
for the maven-plugin-builder/target
directory and IntelliJ metadata.
What are the relevant issue numbers?
Add DS_MAVEN_VERSION to gemnasium to allow swit... (gitlab-org/gitlab#414886 - closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Adam Cohen