pom.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ This file is part of MissileWars (https://github.com/Butzlabben/missilewars).
  4. ~ Copyright (c) 2018-2021 Daniel Nägele.
  5. ~
  6. ~ MissileWars is free software: you can redistribute it and/or modify
  7. ~ it under the terms of the GNU General Public License as published by
  8. ~ the Free Software Foundation, either version 3 of the License, or
  9. ~ (at your option) any later version.
  10. ~
  11. ~ MissileWars is distributed in the hope that it will be useful,
  12. ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. ~ GNU General Public License for more details.
  15. ~
  16. ~ You should have received a copy of the GNU General Public License
  17. ~ along with MissileWars. If not, see <https://www.gnu.org/licenses/>.
  18. -->
  19. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  20. xmlns="http://maven.apache.org/POM/4.0.0"
  21. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  22. <modelVersion>4.0.0</modelVersion>
  23. <properties>
  24. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  25. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  26. </properties>
  27. <groupId>de.butzlabben</groupId>
  28. <artifactId>missilewars</artifactId>
  29. <packaging>pom</packaging>
  30. <version>1.0</version>
  31. <modules>
  32. <module>1_13</module>
  33. <module>1_12</module>
  34. <module>1_13_FAWE</module>
  35. <module>1_16_FAWE</module>
  36. <module>missilewars-plugin</module>
  37. </modules>
  38. <repositories>
  39. <repository>
  40. <id>spigot-repo</id>
  41. <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
  42. </repository>
  43. <repository>
  44. <id>enginehub-maven</id>
  45. <url>https://maven.enginehub.org/repo/</url>
  46. </repository>
  47. <repository>
  48. <id>jitpack.io</id>
  49. <url>https://jitpack.io</url>
  50. </repository>
  51. <repository>
  52. <id>S01-Sonatype-Snapshots</id>
  53. <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
  54. </repository>
  55. <repository>
  56. <id>minecraft-repo</id>
  57. <url>https://libraries.minecraft.net/</url>
  58. </repository>
  59. <repository>
  60. <id>placeholderapi</id>
  61. <url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
  62. </repository>
  63. </repositories>
  64. <dependencies>
  65. <!-- repo spigot-repo -->
  66. <dependency>
  67. <groupId>org.spigotmc</groupId>
  68. <artifactId>spigot-api</artifactId>
  69. <version>1.18.1-R0.1-SNAPSHOT</version>
  70. <scope>provided</scope>
  71. </dependency>
  72. <!-- repo enginehub-maven -->
  73. <dependency>
  74. <groupId>com.sk89q.worldedit</groupId>
  75. <artifactId>worldedit-bukkit</artifactId>
  76. <version>7.2.0-SNAPSHOT</version>
  77. <scope>provided</scope>
  78. <exclusions>
  79. <exclusion>
  80. <groupId>org.bstats</groupId>
  81. <artifactId>bstats-bukkit</artifactId>
  82. </exclusion>
  83. </exclusions>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.sk89q.worldedit</groupId>
  87. <artifactId>worldedit-core</artifactId>
  88. <version>7.2.0-SNAPSHOT</version>
  89. <scope>provided</scope>
  90. </dependency>
  91. <!-- repo jitpack.io -->
  92. <dependency>
  93. <groupId>com.github.MilkBowl</groupId>
  94. <artifactId>VaultAPI</artifactId>
  95. <version>1.7</version>
  96. <scope>provided</scope>
  97. </dependency>
  98. <!-- repo maven central -->
  99. <dependency>
  100. <groupId>org.projectlombok</groupId>
  101. <artifactId>lombok</artifactId>
  102. <version>1.18.24</version>
  103. <scope>provided</scope>
  104. </dependency>
  105. <!-- repo minecraft-repo -->
  106. <dependency>
  107. <groupId>com.mojang</groupId>
  108. <artifactId>authlib</artifactId>
  109. <version>1.5.21</version>
  110. <scope>provided</scope>
  111. </dependency>
  112. <!-- repo placeholderapi -->
  113. <dependency>
  114. <groupId>me.clip</groupId>
  115. <artifactId>placeholderapi</artifactId>
  116. <version>2.11.2</version>
  117. <scope>provided</scope>
  118. </dependency>
  119. </dependencies>
  120. <build>
  121. <finalName>${project.artifactId}</finalName>
  122. <defaultGoal>package</defaultGoal>
  123. <sourceDirectory>src/main/java</sourceDirectory>
  124. <resources>
  125. <resource>
  126. <directory>src/main/resources-filtered</directory>
  127. <filtering>true</filtering>
  128. </resource>
  129. <resource>
  130. <directory>src/main/resources</directory>
  131. <filtering>false</filtering>
  132. </resource>
  133. </resources>
  134. <plugins>
  135. <plugin>
  136. <artifactId>maven-compiler-plugin</artifactId>
  137. <version>3.5.1</version>
  138. <configuration>
  139. <forceJavacCompilerUse>true</forceJavacCompilerUse>
  140. <source>11</source>
  141. <target>11</target>
  142. </configuration>
  143. </plugin>
  144. <plugin>
  145. <groupId>org.apache.maven.plugins</groupId>
  146. <artifactId>maven-shade-plugin</artifactId>
  147. <version>3.2.1</version>
  148. <configuration>
  149. <relocations>
  150. <relocation>
  151. <pattern>org.bstats</pattern>
  152. <shadedPattern>de.butzlabben.missilewars</shadedPattern>
  153. </relocation>
  154. </relocations>
  155. <filters>
  156. <filter>
  157. <artifact>*:*</artifact>
  158. <excludes>
  159. <exclude>META-INF/</exclude>
  160. </excludes>
  161. </filter>
  162. </filters>
  163. </configuration>
  164. <executions>
  165. <execution>
  166. <phase>package</phase>
  167. <goals>
  168. <goal>shade</goal>
  169. </goals>
  170. </execution>
  171. </executions>
  172. </plugin>
  173. <plugin>
  174. <groupId>org.apache.maven.plugins</groupId>
  175. <artifactId>maven-surefire-plugin</artifactId>
  176. <version>3.0.0-M5</version>
  177. <dependencies>
  178. <dependency>
  179. <groupId>org.apache.maven.surefire</groupId>
  180. <artifactId>surefire-junit47</artifactId>
  181. <version>3.0.0-M5</version>
  182. </dependency>
  183. </dependencies>
  184. </plugin>
  185. </plugins>
  186. </build>
  187. </project>