Skip to content

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?

Edited by Adam Cohen

Merge request reports