Skip to content

Instantly share code, notes, and snippets.

@Techcable
Created March 5, 2015 18:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Techcable/0b7cdf63724a3e77588b to your computer and use it in GitHub Desktop.
Save Techcable/0b7cdf63724a3e77588b to your computer and use it in GitHub Desktop.
Example NPCLib Pom
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.package</groupId>
<artifactId>example</artifactId>
<version>0.0.1-SNAPSHOT</version>
<repositories>
<repository>
<id>techcable-repo</id>
<url>http://repo.techcable.net/content/groups/public/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.7.9-R.0.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.techcable</groupId>
<artifactId>npclib</artifactId>
<version>1.1.1-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<relocations>
<relocation>
<pattern>net.techcable.npclib</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libs.npclib</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment