Advertisement
Guest User

Untitled

a guest
Aug 1st, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>api</groupId>
  4. <artifactId>cactuscombo</artifactId>
  5. <version>0.0.1-SNAPSHOT</version>
  6. <name>cactuscombo</name>
  7.  
  8.  
  9. <repositories>
  10. <repository>
  11. <id>techcable-repo</id>
  12. <url>http://repo.techcable.net/content/groups/public/</url>
  13. </repository>
  14. </repositories>
  15.  
  16. <dependencies>
  17. <dependency>
  18. <groupId>net.techcable</groupId>
  19. <artifactId>npclib</artifactId>
  20. <version>1.1.1-SNAPSHOT</version>
  21. <scope>compile</scope>
  22. </dependency>
  23. </dependencies>
  24.  
  25. <build>
  26. <finalName>Plugin</finalName>
  27. <sourceDirectory>src/main/java</sourceDirectory>
  28. <resources>
  29. <resource>
  30. <targetPath>.</targetPath>
  31. <filtering>true</filtering>
  32. <directory>${basedir}/src/main/resources/</directory>
  33. <includes>
  34. <include>
  35. plugin.yml
  36. </include>
  37. </includes>
  38. </resource>
  39. </resources>
  40. <plugins>
  41. <plugin>
  42. <artifactId>maven-jar-plugin</artifactId>
  43. <version>2.3.2</version>
  44. <configuration>
  45. <source>1.6</source>
  46. <target>1.6</target>
  47. <encoding>${project.build.sourceEncoding}</encoding>
  48. <archive>
  49. <manifest>
  50. <addClasspath>true</addClasspath>
  51. </manifest>
  52. </archive>
  53. </configuration>
  54. </plugin>
  55. <plugin>
  56. <groupId>org.apache.maven.plugins</groupId>
  57. <artifactId>maven-shade-plugin</artifactId>
  58. <version>2.1</version>
  59. <executions>
  60. <execution>
  61. <phase>package</phase>
  62. <goals>
  63. <goal>shade</goal>
  64. </goals>
  65. <configuration>
  66. <relocations>
  67. <relocation>
  68. <pattern>net.techcable.npclib</pattern>
  69. <shadedPattern>cactuscombo.api.libs.npclib</shadedPattern>
  70. </relocation>
  71. </relocations>
  72. </configuration>
  73. </execution>
  74. </executions>
  75. </plugin>
  76.  
  77. </plugins>
  78. </build>
  79.  
  80. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement