Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.0.0
-
None
-
None
Description
The SessionBuilderSupplier provided for Maven3 sets the java System.properties as systemProperties of the Session to be build.
But it does not add environment variables with their key prefixed with env. like it is for example done in Maven or MIMA:
From looking at the code of the SessionBuilderSupplier for Maven 4, which relys heavily on {{org.apache.maven.repository.internal.MavenSessionBuilderSupplier }}system properties are not set at all.
My suggestion is to extend the Maven3 SessionBuilderSupplier in Maven-Resolver and in maven4 MavenSessionBuilderSupplier to have system-properties and environment variables fully set by default.
Attachments
Issue Links
- links to