Add openrs2.jawtDirectory property

master
Graham 5 years ago
parent 342789a27c
commit 7a7c3bd502
  1. 28
      gl-natives/pom.xml

@ -19,6 +19,10 @@
as it may be backed by a CALayer or an NSView. as it may be backed by a CALayer or an NSView.
</description> </description>
<properties>
<openrs2.jawtDirectory>${nar.javaHome}/lib</openrs2.jawtDirectory>
</properties>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -30,7 +34,7 @@
<lib> <lib>
<type>shared</type> <type>shared</type>
<name>jawt</name> <name>jawt</name>
<directory>${nar.javaHome}/lib</directory> <directory>${openrs2.jawtDirectory}</directory>
</lib> </lib>
</libs> </libs>
</linker> </linker>
@ -81,25 +85,9 @@
<exists>${nar.javaHome}/../Libraries</exists> <exists>${nar.javaHome}/../Libraries</exists>
</file> </file>
</activation> </activation>
<build> <properties>
<plugins> <openrs2.jawtDirectory>${nar.javaHome}/../Libraries</openrs2.jawtDirectory>
<plugin> </properties>
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<configuration>
<linker>
<libs>
<lib>
<type>shared</type>
<name>jawt</name>
<directory>${nar.javaHome}/../Libraries</directory>
</lib>
</libs>
</linker>
</configuration>
</plugin>
</plugins>
</build>
</profile> </profile>
<profile> <profile>
<id>unix</id> <id>unix</id>

Loading…
Cancel
Save