Skip to content

Commit

Permalink
Use jlink in ${java.home} instead of $PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
YaSuenag committed Sep 18, 2021
1 parent 92bde99 commit 10f5e53
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@
<compress>2</compress>
<noHeaderFiles>true</noHeaderFiles>
<noManPages>true</noManPages>
<jlinkImageName>${imageName}</jlinkImageName>
<jlinkImageName>${imageName}</jlinkImageName>
<jlinkExecutable>${java.home}/bin/jlink${exec.suffix}</jlinkExecutable>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -122,6 +123,7 @@
</activation>
<properties>
<package.os.name>linux</package.os.name>
<exec.suffix/>
</properties>
</profile>
<profile>
Expand All @@ -133,6 +135,7 @@
</activation>
<properties>
<package.os.name>windows</package.os.name>
<exec.suffix>.exe</exec.suffix>
</properties>
</profile>
</profiles>
Expand Down

0 comments on commit 10f5e53

Please sign in to comment.