pom.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>CustomOreGen</groupId>
  6. <artifactId>CustomOreGen</artifactId>
  7. <version>1.2.5-SNAPSHOT</version>
  8. <repositories>
  9. <!-- Spigot repository -->
  10. <repository>
  11. <id>spigot-repo</id>
  12. <url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
  13. </repository>
  14. <!-- Tastybento repository -->
  15. <repository>
  16. <id>bintray-tastybento-maven-repo</id>
  17. <name>bintray</name>
  18. <url>http://dl.bintray.com/tastybento/maven-repo</url>
  19. </repository>
  20. <!-- USkyBlock repository -->
  21. <repository>
  22. <id>uSkyBlock-mvn-repo</id>
  23. <url>https://raw.github.com/rlf/uSkyBlock/mvn-repo/</url>
  24. <snapshots>
  25. <enabled>true</enabled>
  26. <updatePolicy>always</updatePolicy>
  27. </snapshots>
  28. </repository>
  29. </repositories>
  30. <dependencies>
  31. <!--Spigot API -->
  32. <dependency>
  33. <groupId>org.spigotmc</groupId>
  34. <artifactId>spigot-api</artifactId>
  35. <version>1.12.2-R0.1-SNAPSHOT</version>
  36. <scope>provided</scope>
  37. </dependency>
  38. <!-- Bukkit API -->
  39. <dependency>
  40. <groupId>org.bukkit</groupId>
  41. <artifactId>craftbukkit</artifactId>
  42. <version>1.12.2-R0.1-SNAPSHOT</version>
  43. <scope>provided</scope>
  44. </dependency>
  45. <!-- ASkyBlock -->
  46. <dependency>
  47. <groupId>com.wasteofplastic</groupId>
  48. <artifactId>askyblock</artifactId>
  49. <version>3.0.9</version>
  50. </dependency>
  51. <!-- AcidIsland -->
  52. <dependency>
  53. <groupId>com.wasteofplastic</groupId>
  54. <artifactId>acidisland</artifactId>
  55. <version>3.0.9</version>
  56. </dependency>
  57. <!-- USkyblock -->
  58. <dependency>
  59. <groupId>com.github.rlf</groupId>
  60. <artifactId>uSkyBlock-API</artifactId>
  61. <version>2.6.4</version>
  62. </dependency>
  63. </dependencies>
  64. <build>
  65. <!-- Uses the properties in this file for plugin.yml and config.yml -->
  66. <resources>
  67. <resource>
  68. <directory>${basedir}/src/main/resources</directory>
  69. <filtering>true</filtering>
  70. <includes>
  71. <include>plugin.yml</include>
  72. <include>config.yml</include>
  73. <include>translations/*</include>
  74. </includes>
  75. </resource>
  76. </resources>
  77. <plugins>
  78. <!-- Sets the Java version to 8 -->
  79. <plugin>
  80. <groupId>org.apache.maven.plugins</groupId>
  81. <artifactId>maven-shade-plugin</artifactId>
  82. <version>3.1.0</version>
  83. <executions>
  84. <execution>
  85. <phase>package</phase>
  86. <goals>
  87. <goal>shade</goal>
  88. </goals>
  89. </execution>
  90. </executions>
  91. </plugin>
  92. <!-- Sets the custom JARfile name (Project name without spaces is good) -->
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-jar-plugin</artifactId>
  96. <version>2.4</version>
  97. <configuration>
  98. <outputDirectory>${dir}</outputDirectory>
  99. <finalName>${project.name}</finalName>
  100. </configuration>
  101. </plugin>
  102. </plugins>
  103. </build>
  104. </project>