Please make the mvn target repository overridable, particularly for GH Enterprise private instances whose most of them have their Internet access blocked or ssl access enforced by restrictive certificates, and thus benefit from their intranet nexus instance (less download time and security compliance).
Based on other jar-downloading tools like the maven-wrapper, please expose the url as an overridable parameter or environment variable, and only fallback to https://repo1.maven.org/maven2 if not set.
Please make the mvn target repository overridable, particularly for GH Enterprise private instances whose most of them have their Internet access blocked or ssl access enforced by restrictive certificates, and thus benefit from their intranet nexus instance (less download time and security compliance).
https://github.com/veracode/veracode-uploadandscan-action/blob/e86714cf9d98f634d8bc2011992fc4dd74c70a7d/entrypoint.sh#L240-L244
Based on other jar-downloading tools like the
maven-wrapper
, please expose the url as an overridable parameter or environment variable, and only fallback to https://repo1.maven.org/maven2 if not set.Something like :