Skip to content

Commit

Permalink
Fix path errors while analyzing packages referencing ${java.home}
Browse files Browse the repository at this point in the history
Some packages (e.g., Javassist) refere ${java.home} in <systemPath> of their dependencies. This commit add "java.home" to the passthrough properties list and prevent maven from complaining such paths are not absolute.

Signed-off-by: Fuminobu TAKEYAMA <[email protected]>
  • Loading branch information
Fuminobu TAKEYAMA committed Apr 19, 2024
1 parent 99a824e commit 3387819
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public abstract class PropertiesForPom {

PropertiesForPom() {}

private static final List<String> JAVA_PROP_KEYS = List.of("java.version");
private static final List<String> JAVA_PROP_KEYS = List.of("java.version", "java.home");

@Lazy
public Properties get() {
Expand Down

0 comments on commit 3387819

Please sign in to comment.