pom.xml 3.9 KB

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