pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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>xyz.spaceio</groupId>
  6. <artifactId>CustomOreGen</artifactId>
  7. <version>1.3.9-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. <!-- CodeMC repository -->
  30. <repository>
  31. <id>codemc-repo</id>
  32. <url>https://repo.codemc.org/repository/maven-public/</url>
  33. </repository>
  34. <!-- SpaceIO repository -->
  35. <repository>
  36. <id>spaceio-snapshots</id>
  37. <url>https://hub.spaceio.xyz/repository/maven-snapshots/</url>
  38. </repository>
  39. </repositories>
  40. <dependencies>
  41. <!--Spigot API -->
  42. <dependency>
  43. <groupId>org.spigotmc</groupId>
  44. <artifactId>spigot-api</artifactId>
  45. <version>1.12.2-R0.1-SNAPSHOT</version>
  46. <scope>provided</scope>
  47. </dependency>
  48. <!-- Bukkit API -->
  49. <dependency>
  50. <groupId>org.bukkit</groupId>
  51. <artifactId>craftbukkit</artifactId>
  52. <version>1.12.2-R0.1-SNAPSHOT</version>
  53. <scope>provided</scope>
  54. </dependency>
  55. <!-- ASkyBlock -->
  56. <dependency>
  57. <groupId>com.wasteofplastic</groupId>
  58. <artifactId>askyblock</artifactId>
  59. <version>3.0.9</version>
  60. </dependency>
  61. <!-- AcidIsland -->
  62. <dependency>
  63. <groupId>com.wasteofplastic</groupId>
  64. <artifactId>acidisland</artifactId>
  65. <version>3.0.9</version>
  66. </dependency>
  67. <!-- USkyblock -->
  68. <dependency>
  69. <groupId>com.github.rlf</groupId>
  70. <artifactId>uSkyBlock-API</artifactId>
  71. <version>2.6.4</version>
  72. </dependency>
  73. <!-- BentoBox -->
  74. <dependency>
  75. <groupId>world.bentobox</groupId>
  76. <artifactId>bentobox</artifactId>
  77. <version>0.15.0-SNAPSHOT</version>
  78. <scope>provided</scope>
  79. </dependency>
  80. <!-- BentoBox LevelAddon -->
  81. <dependency>
  82. <groupId>world.bentobox</groupId>
  83. <artifactId>Level</artifactId>
  84. <version>0.1.0-SNAPSHOT</version>
  85. <scope>provided</scope>
  86. </dependency>
  87. <!-- SkyBlockEarth -->
  88. <dependency>
  89. <groupId>me.goodandevil</groupId>
  90. <artifactId>skyblockearth</artifactId>
  91. <version>59-SNAPSHOT</version>
  92. <scope>provided</scope>
  93. </dependency>
  94. <!-- PlotSquared -->
  95. <dependency>
  96. <groupId>com.plotsquared</groupId>
  97. <artifactId>plotsquared-api</artifactId>
  98. <version>18.12.21-SNAPSHOT</version>
  99. </dependency>
  100. <!-- Lands -->
  101. <dependency>
  102. <groupId>me.angeschossen.lands</groupId>
  103. <artifactId>Lands</artifactId>
  104. <version>2.6.6.2-SNAPSHOT</version>
  105. </dependency>
  106. <!--SpaceIO Metrics -->
  107. <dependency>
  108. <groupId>de.spaceio</groupId>
  109. <artifactId>SpaceIOMetrics</artifactId>
  110. <version>0.0.1-SNAPSHOT</version>
  111. </dependency>
  112. </dependencies>
  113. <build>
  114. <!-- Uses the properties in this file for plugin.yml and config.yml -->
  115. <resources>
  116. <resource>
  117. <directory>${basedir}/src/main/resources</directory>
  118. <filtering>true</filtering>
  119. <includes>
  120. <include>plugin.yml</include>
  121. <include>config.yml</include>
  122. <include>translations/*</include>
  123. </includes>
  124. </resource>
  125. </resources>
  126. <plugins>
  127. <!-- Sets the Java version to 8 -->
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-shade-plugin</artifactId>
  131. <version>3.1.0</version>
  132. <executions>
  133. <execution>
  134. <phase>package</phase>
  135. <goals>
  136. <goal>shade</goal>
  137. </goals>
  138. <configuration>
  139. <artifactSet>
  140. <includes>
  141. <include>de.spaceio:SpaceIOMetrics</include>
  142. </includes>
  143. </artifactSet>
  144. <filters>
  145. <filter>
  146. <artifact>de.spaceio:SpaceIOMetrics</artifact>
  147. <includes>
  148. <include>**</include>
  149. </includes>
  150. </filter>
  151. </filters>
  152. </configuration>
  153. </execution>
  154. </executions>
  155. </plugin>
  156. <!-- Sets the custom JARfile name (Project name without spaces is good) -->
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-jar-plugin</artifactId>
  160. <version>2.4</version>
  161. <configuration>
  162. <outputDirectory>${dir}</outputDirectory>
  163. <finalName>${project.name}</finalName>
  164. </configuration>
  165. </plugin>
  166. </plugins>
  167. </build>
  168. </project>