pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.gmail.nossr50.mcMMO</groupId>
  5. <artifactId>mcMMO</artifactId>
  6. <version>2.2.0-SNAPSHOT</version>
  7. <name>mcMMO</name>
  8. <url>https://github.com/mcMMO-Dev/mcMMO</url>
  9. <scm>
  10. <url>https://github.com/mcMMO-Dev/mcMMO</url>
  11. <connection>scm:git:git://github.com/mcMMO-Dev/mcMMO.git</connection>
  12. <developerConnection>scm:git:git@github.com:mcMMO-Dev/mcMMO.git</developerConnection>
  13. <tag>HEAD</tag>
  14. </scm>
  15. <issueManagement>
  16. <url>https://github.com/mcMMO-Dev/mcMMO/issues</url>
  17. <system>GitHub</system>
  18. </issueManagement>
  19. <packaging>jar</packaging>
  20. <build>
  21. <finalName>${project.artifactId}</finalName>
  22. <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
  23. <resources>
  24. <resource>
  25. <targetPath>.</targetPath>
  26. <filtering>true</filtering>
  27. <directory>${basedir}/src/main/resources/</directory>
  28. <includes>
  29. <include>*.yml</include>
  30. <include>.jenkins</include>
  31. </includes>
  32. </resource>
  33. <resource>
  34. <targetPath>com/gmail/nossr50/locale</targetPath>
  35. <filtering>true</filtering>
  36. <directory>${basedir}/src/main/resources/locale/</directory>
  37. <includes>
  38. <include>locale*.properties</include>
  39. </includes>
  40. </resource>
  41. <resource>
  42. <targetPath>.</targetPath>
  43. <filtering>true</filtering>
  44. <directory>${basedir}</directory>
  45. <includes>
  46. <include>LICENSE</include>
  47. </includes>
  48. </resource>
  49. </resources>
  50. <plugins>
  51. <plugin>
  52. <groupId>org.apache.maven.plugins</groupId>
  53. <artifactId>maven-release-plugin</artifactId>
  54. <version>2.5.2</version>
  55. </plugin>
  56. <plugin>
  57. <groupId>org.apache.maven.plugins</groupId>
  58. <artifactId>maven-compiler-plugin</artifactId>
  59. <version>2.3.2</version>
  60. <configuration>
  61. <source>1.8</source>
  62. <target>1.8</target>
  63. <excludes>
  64. </excludes>
  65. </configuration>
  66. </plugin>
  67. <plugin>
  68. <artifactId>maven-assembly-plugin</artifactId>
  69. <configuration>
  70. <descriptors>
  71. <descriptor>src/main/assembly/package.xml</descriptor>
  72. </descriptors>
  73. </configuration>
  74. <executions>
  75. <execution>
  76. <id>build</id>
  77. <phase>package</phase>
  78. <goals>
  79. <goal>single</goal>
  80. </goals>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. <plugin>
  85. <groupId>org.apache.maven.plugins</groupId>
  86. <artifactId>maven-shade-plugin</artifactId>
  87. <version>3.1.1</version>
  88. <configuration>
  89. <artifactSet>
  90. <includes>
  91. <include>commons-logging:commons-logging</include>
  92. <include>org.apache.tomcat:tomcat-jdbc</include>
  93. <include>org.apache.tomcat:tomcat-juli</include>
  94. <include>org.bstats:bstats-bukkit</include>
  95. <include>org.spongepowered:configurate-hocon</include>
  96. <include>org.spongepowered:configurate-yaml</include>
  97. <include>org.spongepowered:configurate-core</include>
  98. <include>com.typesafe:config</include>
  99. <!--<include>com.flowpowered:flow-math</include>-->
  100. </includes>
  101. </artifactSet>
  102. <relocations>
  103. <relocation>
  104. <pattern>org.apache.commons.logging</pattern>
  105. <shadedPattern>com.gmail.nossr50.commons.logging</shadedPattern>
  106. </relocation>
  107. <relocation>
  108. <pattern>org.apache.juli</pattern>
  109. <shadedPattern>com.gmail.nossr50.database.tomcat.juli</shadedPattern>
  110. </relocation>
  111. <relocation>
  112. <pattern>org.apache.tomcat</pattern>
  113. <shadedPattern>com.gmail.nossr50.database.tomcat</shadedPattern>
  114. </relocation>
  115. <relocation>
  116. <pattern>org.bstats</pattern>
  117. <shadedPattern>com.gmail.nossr50.metrics.bstat</shadedPattern>
  118. </relocation>
  119. <!--<relocation>
  120. <pattern>com.flowpowered</pattern>
  121. <shadedPattern>com.gmail.nossr50.flow</shadedPattern>
  122. </relocation>-->
  123. <!--<relocation>
  124. <pattern>ninja.leaping</pattern>
  125. <shadedPattern>com.gmail.nossr50.configurable</shadedPattern>
  126. </relocation>-->
  127. </relocations>
  128. </configuration>
  129. <executions>
  130. <execution>
  131. <phase>package</phase>
  132. <goals>
  133. <goal>shade</goal>
  134. </goals>
  135. </execution>
  136. </executions>
  137. </plugin>
  138. </plugins>
  139. <extensions>
  140. <extension>
  141. <groupId>org.apache.maven.wagon</groupId>
  142. <artifactId>wagon-file</artifactId>
  143. <version>2.2</version>
  144. </extension>
  145. </extensions>
  146. </build>
  147. <repositories>
  148. <repository>
  149. <id>sponge</id>
  150. <url>https://repo.spongepowered.org/maven/</url>
  151. </repository>
  152. <repository>
  153. <id>flow</id>
  154. <url>https://oss.sonatype.org/content/groups/public/</url>
  155. </repository>
  156. <repository>
  157. <id>spigot-repo</id>
  158. <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
  159. </repository>
  160. <repository>
  161. <id>CodeMC</id>
  162. <url>https://repo.codemc.org/repository/maven-public</url>
  163. </repository>
  164. <repository>
  165. <id>sk89q-repo</id>
  166. <url>http://maven.sk89q.com/repo/</url>
  167. </repository>
  168. <repository>
  169. <id>jetbrains</id>
  170. <url>https://mvnrepository.com/artifact/org.jetbrains/annotations</url>
  171. </repository>
  172. </repositories>
  173. <dependencies>
  174. <!-- https://mvnrepository.com/artifact/org.jetbrains/annotations -->
  175. <dependency>
  176. <groupId>org.jetbrains</groupId>
  177. <artifactId>annotations</artifactId>
  178. <version>17.0.0</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.typesafe</groupId>
  182. <artifactId>config</artifactId>
  183. <version>1.3.2</version>
  184. </dependency>
  185. <!--<dependency>
  186. <groupId>com.flowpowered</groupId>
  187. <artifactId>flow-math</artifactId>
  188. <version>1.0.4-SNAPSHOT</version>
  189. </dependency>-->
  190. <dependency>
  191. <groupId>org.spongepowered</groupId>
  192. <!-- Modify this line to target the loader you wish to use. -->
  193. <artifactId>configurate-yaml</artifactId>
  194. <version>3.7-SNAPSHOT</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.spongepowered</groupId>
  198. <artifactId>configurate-hocon</artifactId>
  199. <version>3.7-SNAPSHOT</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.spongepowered</groupId>
  203. <artifactId>configurate-core</artifactId>
  204. <version>3.7-SNAPSHOT</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>org.apache.maven.scm</groupId>
  208. <artifactId>maven-scm-provider-gitexe</artifactId>
  209. <version>1.8.1</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>org.bstats</groupId>
  213. <artifactId>bstats-bukkit</artifactId>
  214. <version>1.4</version>
  215. <scope>compile</scope>
  216. </dependency>
  217. <dependency>
  218. <groupId>org.spigotmc</groupId>
  219. <artifactId>spigot</artifactId>
  220. <version>1.14.4-R0.1-SNAPSHOT</version>
  221. </dependency>
  222. <!-- <dependency>-->
  223. <!-- <groupId>org.spigotmc</groupId>-->
  224. <!-- <artifactId>spigot-api</artifactId>-->
  225. <!-- <version>1.14.2-R0.1-SNAPSHOT</version>-->
  226. <!-- <scope>provided</scope>-->
  227. <!-- </dependency>-->
  228. <dependency>
  229. <groupId>com.sk89q.worldguard</groupId>
  230. <artifactId>worldguard-core</artifactId>
  231. <version>7.0.1-SNAPSHOT</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>com.sk89q.worldguard</groupId>
  235. <artifactId>worldguard-legacy</artifactId>
  236. <version>7.0.0-SNAPSHOT</version>
  237. <exclusions>
  238. <exclusion>
  239. <groupId>org.bukkit</groupId>
  240. <artifactId>bukkit</artifactId>
  241. </exclusion>
  242. </exclusions>
  243. </dependency>
  244. <dependency>
  245. <groupId>junit</groupId>
  246. <artifactId>junit-dep</artifactId>
  247. <version>4.10</version>
  248. <scope>test</scope>
  249. </dependency>
  250. <dependency>
  251. <groupId>org.apache.tomcat</groupId>
  252. <artifactId>tomcat-jdbc</artifactId>
  253. <version>7.0.52</version>
  254. <scope>compile</scope>
  255. </dependency>
  256. </dependencies>
  257. <properties>
  258. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  259. </properties>
  260. </project>