Move nar dependencies to the provided scope

This is to make them compile-only. Perhaps a bit hacky, but it is
suggested on the Maven wiki:
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=9798495
master
Graham 5 years ago
parent 5f71d1b342
commit ccc7d69129
  1. 2
      pom.xml

@ -50,6 +50,7 @@
<version>${openrs2.natives.version}</version> <version>${openrs2.natives.version}</version>
<type>nar</type> <type>nar</type>
<classifier>amd64-Linux-gcc-shared</classifier> <classifier>amd64-Linux-gcc-shared</classifier>
<scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>dev.openrs2</groupId> <groupId>dev.openrs2</groupId>
@ -57,6 +58,7 @@
<version>${openrs2.natives.version}</version> <version>${openrs2.natives.version}</version>
<type>nar</type> <type>nar</type>
<classifier>amd64-Linux-gcc-shared</classifier> <classifier>amd64-Linux-gcc-shared</classifier>
<scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>

Loading…
Cancel
Save