Skip to content

Commit

Permalink
Maven will also interpolate in environment variables without the "env…
Browse files Browse the repository at this point in the history
…." prefix
  • Loading branch information
sambsnyd committed May 15, 2024
1 parent 9f634a3 commit ed6f97a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ private static class Interpolator {
if (key.startsWith("env.")) {
return System.getenv().get(key.substring(4));
}
return null;
return System.getenv().get(key);
};

public MavenSettings interpolate(MavenSettings mavenSettings) {
Expand Down

0 comments on commit ed6f97a

Please sign in to comment.