Share jawt library between profiles

master
Graham 5 years ago
parent 53c97a8725
commit 0b24cf3bcf
  1. 34
      gl-natives/pom.xml

@ -13,6 +13,26 @@
<name>OpenRS2 GL Natives</name> <name>OpenRS2 GL Natives</name>
<build>
<plugins>
<plugin>
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<configuration>
<linker>
<libs>
<lib>
<type>shared</type>
<name>jawt</name>
<directory>${java.home}/lib</directory>
</lib>
</libs>
</linker>
</configuration>
</plugin>
</plugins>
</build>
<profiles> <profiles>
<profile> <profile>
<id>unix</id> <id>unix</id>
@ -28,13 +48,6 @@
<artifactId>nar-maven-plugin</artifactId> <artifactId>nar-maven-plugin</artifactId>
<configuration> <configuration>
<linker> <linker>
<libs>
<lib>
<type>shared</type>
<name>jawt</name>
<directory>${java.home}/lib</directory>
</lib>
</libs>
<sysLibs> <sysLibs>
<sysLib> <sysLib>
<type>shared</type> <type>shared</type>
@ -65,13 +78,6 @@
<artifactId>nar-maven-plugin</artifactId> <artifactId>nar-maven-plugin</artifactId>
<configuration> <configuration>
<linker> <linker>
<libs>
<lib>
<type>shared</type>
<name>jawt</name>
<directory>${java.home}/lib</directory>
</lib>
</libs>
<sysLibs> <sysLibs>
<sysLib> <sysLib>
<type>shared</type> <type>shared</type>

Loading…
Cancel
Save