pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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.0-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.9.0-SNAPSHOT</version>
  78. <scope>provided</scope>
  79. </dependency>
  80. <!-- BentoBox -->
  81. <dependency>
  82. <groupId>me.goodandevil</groupId>
  83. <artifactId>skyblockearth</artifactId>
  84. <version>11-SNAPSHOT</version>
  85. <scope>provided</scope>
  86. </dependency>
  87. <!--SpaceIO Metrics -->
  88. <dependency>
  89. <groupId>de.spaceio</groupId>
  90. <artifactId>SpaceIOMetrics</artifactId>
  91. <version>0.0.1-SNAPSHOT</version>
  92. </dependency>
  93. </dependencies>
  94. <build>
  95. <!-- Uses the properties in this file for plugin.yml and config.yml -->
  96. <resources>
  97. <resource>
  98. <directory>${basedir}/src/main/resources</directory>
  99. <filtering>true</filtering>
  100. <includes>
  101. <include>plugin.yml</include>
  102. <include>config.yml</include>
  103. <include>translations/*</include>
  104. </includes>
  105. </resource>
  106. </resources>
  107. <plugins>
  108. <!-- Sets the Java version to 8 -->
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-shade-plugin</artifactId>
  112. <version>3.1.0</version>
  113. <executions>
  114. <execution>
  115. <phase>package</phase>
  116. <goals>
  117. <goal>shade</goal>
  118. </goals>
  119. <configuration>
  120. <artifactSet>
  121. <includes>
  122. <include>de.spaceio:SpaceIOMetrics</include>
  123. </includes>
  124. </artifactSet>
  125. <filters>
  126. <filter>
  127. <artifact>de.spaceio:SpaceIOMetrics</artifact>
  128. <includes>
  129. <include>**</include>
  130. </includes>
  131. </filter>
  132. </filters>
  133. </configuration>
  134. </execution>
  135. </executions>
  136. </plugin>
  137. <!-- Sets the custom JARfile name (Project name without spaces is good) -->
  138. <plugin>
  139. <groupId>org.apache.maven.plugins</groupId>
  140. <artifactId>maven-jar-plugin</artifactId>
  141. <version>2.4</version>
  142. <configuration>
  143. <outputDirectory>${dir}</outputDirectory>
  144. <finalName>${project.name}</finalName>
  145. </configuration>
  146. </plugin>
  147. </plugins>
  148. </build>
  149. </project>