pom.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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. </repositories>
  60. <dependencies>
  61. <!-- repo spigot-repo -->
  62. <dependency>
  63. <groupId>org.spigotmc</groupId>
  64. <artifactId>spigot-api</artifactId>
  65. <version>1.18.1-R0.1-SNAPSHOT</version>
  66. <scope>provided</scope>
  67. </dependency>
  68. <!-- repo enginehub-maven -->
  69. <dependency>
  70. <groupId>com.sk89q.worldedit</groupId>
  71. <artifactId>worldedit-bukkit</artifactId>
  72. <version>7.2.0-SNAPSHOT</version>
  73. <scope>provided</scope>
  74. <exclusions>
  75. <exclusion>
  76. <groupId>org.bstats</groupId>
  77. <artifactId>bstats-bukkit</artifactId>
  78. </exclusion>
  79. </exclusions>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.sk89q.worldedit</groupId>
  83. <artifactId>worldedit-core</artifactId>
  84. <version>7.2.0-SNAPSHOT</version>
  85. <scope>provided</scope>
  86. </dependency>
  87. <!-- repo jitpack.io -->
  88. <dependency>
  89. <groupId>com.github.MilkBowl</groupId>
  90. <artifactId>VaultAPI</artifactId>
  91. <version>1.7</version>
  92. <scope>provided</scope>
  93. </dependency>
  94. <!-- repo maven central -->
  95. <dependency>
  96. <groupId>org.projectlombok</groupId>
  97. <artifactId>lombok</artifactId>
  98. <version>1.18.22</version>
  99. <scope>provided</scope>
  100. </dependency>
  101. <!-- repo minecraft-repo -->
  102. <dependency>
  103. <groupId>com.mojang</groupId>
  104. <artifactId>authlib</artifactId>
  105. <version>1.5.21</version>
  106. <scope>provided</scope>
  107. </dependency>
  108. </dependencies>
  109. <build>
  110. <finalName>${project.artifactId}</finalName>
  111. <defaultGoal>package</defaultGoal>
  112. <sourceDirectory>src/main/java</sourceDirectory>
  113. <resources>
  114. <resource>
  115. <directory>src/main/resources-filtered</directory>
  116. <filtering>true</filtering>
  117. </resource>
  118. <resource>
  119. <directory>src/main/resources</directory>
  120. <filtering>false</filtering>
  121. </resource>
  122. </resources>
  123. <plugins>
  124. <plugin>
  125. <artifactId>maven-compiler-plugin</artifactId>
  126. <version>3.5.1</version>
  127. <configuration>
  128. <forceJavacCompilerUse>true</forceJavacCompilerUse>
  129. <source>11</source>
  130. <target>11</target>
  131. </configuration>
  132. </plugin>
  133. <plugin>
  134. <groupId>org.apache.maven.plugins</groupId>
  135. <artifactId>maven-shade-plugin</artifactId>
  136. <version>3.2.1</version>
  137. <configuration>
  138. <relocations>
  139. <relocation>
  140. <pattern>org.bstats</pattern>
  141. <shadedPattern>de.butzlabben.missilewars</shadedPattern>
  142. </relocation>
  143. </relocations>
  144. <filters>
  145. <filter>
  146. <artifact>*:*</artifact>
  147. <excludes>
  148. <exclude>META-INF/</exclude>
  149. </excludes>
  150. </filter>
  151. </filters>
  152. </configuration>
  153. <executions>
  154. <execution>
  155. <phase>package</phase>
  156. <goals>
  157. <goal>shade</goal>
  158. </goals>
  159. </execution>
  160. </executions>
  161. </plugin>
  162. <plugin>
  163. <groupId>org.apache.maven.plugins</groupId>
  164. <artifactId>maven-surefire-plugin</artifactId>
  165. <version>3.0.0-M5</version>
  166. <dependencies>
  167. <dependency>
  168. <groupId>org.apache.maven.surefire</groupId>
  169. <artifactId>surefire-junit47</artifactId>
  170. <version>3.0.0-M5</version>
  171. </dependency>
  172. </dependencies>
  173. </plugin>
  174. </plugins>
  175. </build>
  176. </project>