pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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. <groupId>de.butzlabben</groupId>
  24. <artifactId>missilewars</artifactId>
  25. <packaging>pom</packaging>
  26. <version>1.0</version>
  27. <modules>
  28. <module>1_13</module>
  29. <module>1_12</module>
  30. <module>1_13_FAWE</module>
  31. <module>1_16_FAWE</module>
  32. <module>MissileWars-Plugin</module>
  33. </modules>
  34. <repositories>
  35. <repository>
  36. <id>spigot-repo</id>
  37. <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
  38. </repository>
  39. <repository>
  40. <id>we-repo</id>
  41. <url>http://maven.sk89q.com/repo/</url>
  42. </repository>
  43. <repository>
  44. <id>CodeMC</id>
  45. <url>https://repo.codemc.org/repository/maven-public</url>
  46. </repository>
  47. <repository>
  48. <id>vault-repo</id>
  49. <url>http://nexus.hc.to/content/repositories/pub_releases</url>
  50. </repository>
  51. <!--Repo for CommandFramework-->
  52. <repository>
  53. <id>pp-public</id>
  54. <url>http://nexus.myplayplanet.net/repository/public/</url>
  55. </repository>
  56. <repository>
  57. <id>fawe-repo</id>
  58. <url>http://ci.athion.net/job/FastAsyncWorldEdit/ws/mvn/</url>
  59. </repository>
  60. <repository>
  61. <id>mojang</id>
  62. <name>Mojang's Repository</name>
  63. <url>https://libraries.minecraft.net/</url>
  64. </repository>
  65. <!-- FAWE 1.16-->
  66. <repository>
  67. <id>IntellectualSites</id>
  68. <url>https://mvn.intellectualsites.com/content/repositories/releases/</url>
  69. </repository>
  70. </repositories>
  71. <dependencies>
  72. <dependency>
  73. <groupId>org.spigotmc</groupId>
  74. <artifactId>spigot-api</artifactId>
  75. <version>1.14-R0.1-SNAPSHOT</version>
  76. <scope>provided</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.bukkit</groupId>
  80. <artifactId>bukkit</artifactId>
  81. <version>1.14-R0.1-SNAPSHOT</version>
  82. <scope>provided</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>net.milkbowl.vault</groupId>
  86. <artifactId>VaultAPI</artifactId>
  87. <version>1.6</version>
  88. <scope>provided</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.projectlombok</groupId>
  92. <artifactId>lombok</artifactId>
  93. <version>1.18.20</version>
  94. <scope>provided</scope>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.mojang</groupId>
  98. <artifactId>authlib</artifactId>
  99. <version>1.5.21</version>
  100. <scope>provided</scope>
  101. </dependency>
  102. </dependencies>
  103. <build>
  104. <finalName>${project.artifactId}</finalName>
  105. <defaultGoal>package</defaultGoal>
  106. <sourceDirectory>src/main/java</sourceDirectory>
  107. <resources>
  108. <resource>
  109. <directory>src/main/resources-filtered</directory>
  110. <filtering>true</filtering>
  111. </resource>
  112. <resource>
  113. <directory>src/main/resources</directory>
  114. <filtering>false</filtering>
  115. </resource>
  116. </resources>
  117. <plugins>
  118. <plugin>
  119. <artifactId>maven-compiler-plugin</artifactId>
  120. <version>3.5.1</version>
  121. <configuration>
  122. <source>11</source>
  123. <target>11</target>
  124. </configuration>
  125. </plugin>
  126. <plugin>
  127. <groupId>org.apache.maven.plugins</groupId>
  128. <artifactId>maven-shade-plugin</artifactId>
  129. <version>3.2.1</version>
  130. <configuration>
  131. <relocations>
  132. <relocation>
  133. <pattern>org.bstats</pattern>
  134. <!-- Replace this with your package! -->
  135. <shadedPattern>de.butzlabben.missilewars</shadedPattern>
  136. </relocation>
  137. </relocations>
  138. <filters>
  139. <filter>
  140. <artifact>*:*</artifact>
  141. <excludes>
  142. <exclude>META-INF/</exclude>
  143. </excludes>
  144. </filter>
  145. </filters>
  146. </configuration>
  147. <executions>
  148. <execution>
  149. <phase>package</phase>
  150. <goals>
  151. <goal>shade</goal>
  152. </goals>
  153. </execution>
  154. </executions>
  155. </plugin>
  156. <plugin>
  157. <groupId>org.apache.maven.plugins</groupId>
  158. <artifactId>maven-surefire-plugin</artifactId>
  159. <version>3.0.0-M5</version>
  160. <dependencies>
  161. <dependency>
  162. <groupId>org.apache.maven.surefire</groupId>
  163. <artifactId>surefire-junit47</artifactId>
  164. <version>3.0.0-M5</version>
  165. </dependency>
  166. </dependencies>
  167. </plugin>
  168. </plugins>
  169. </build>
  170. </project>