Skip to content

Instantly share code, notes, and snippets.

@Techcable
Created Mar 5, 2015
Embed
What would you like to do?
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