pom.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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_13_FAWE</module>
  34. <module>1_16_FAWE</module>
  35. <module>missilewars-plugin</module>
  36. </modules>
  37. <repositories>
  38. <repository>
  39. <id>spigot-repo</id>
  40. <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
  41. </repository>
  42. <repository>
  43. <id>enginehub-maven</id>
  44. <url>https://maven.enginehub.org/repo/</url>
  45. </repository>
  46. <repository>
  47. <id>jitpack.io</id>
  48. <url>https://jitpack.io</url>
  49. </repository>
  50. <repository>
  51. <id>S01-Sonatype-Snapshots</id>
  52. <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
  53. </repository>
  54. </repositories>
  55. <dependencies>
  56. <!-- repo spigot-repo -->
  57. <dependency>
  58. <groupId>org.spigotmc</groupId>
  59. <artifactId>spigot-api</artifactId>
  60. <version>1.18.1-R0.1-SNAPSHOT</version>
  61. <scope>provided</scope>
  62. </dependency>
  63. <!-- repo enginehub-maven -->
  64. <dependency>
  65. <groupId>com.sk89q.worldedit</groupId>
  66. <artifactId>worldedit-bukkit</artifactId>
  67. <version>7.2.0-SNAPSHOT</version>
  68. <scope>provided</scope>
  69. <exclusions>
  70. <exclusion>
  71. <groupId>org.bstats</groupId>
  72. <artifactId>bstats-bukkit</artifactId>
  73. </exclusion>
  74. </exclusions>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.sk89q.worldedit</groupId>
  78. <artifactId>worldedit-core</artifactId>
  79. <version>7.2.0-SNAPSHOT</version>
  80. <scope>provided</scope>
  81. </dependency>
  82. <!-- repo maven central -->
  83. <dependency>
  84. <groupId>org.projectlombok</groupId>
  85. <artifactId>lombok</artifactId>
  86. <version>1.18.24</version>
  87. <scope>provided</scope>
  88. </dependency>
  89. </dependencies>
  90. <build>
  91. <finalName>${project.artifactId}</finalName>
  92. <defaultGoal>package</defaultGoal>
  93. <sourceDirectory>src/main/java</sourceDirectory>
  94. <resources>
  95. <resource>
  96. <directory>src/main/resources-filtered</directory>
  97. <filtering>true</filtering>
  98. </resource>
  99. <resource>
  100. <directory>src/main/resources</directory>
  101. <filtering>false</filtering>
  102. </resource>
  103. </resources>
  104. <plugins>
  105. <plugin>
  106. <artifactId>maven-compiler-plugin</artifactId>
  107. <version>3.5.1</version>
  108. <configuration>
  109. <forceJavacCompilerUse>true</forceJavacCompilerUse>
  110. <source>11</source>
  111. <target>11</target>
  112. </configuration>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-shade-plugin</artifactId>
  117. <version>3.2.1</version>
  118. <configuration>
  119. <relocations>
  120. <relocation>
  121. <pattern>org.bstats</pattern>
  122. <shadedPattern>de.butzlabben.missilewars</shadedPattern>
  123. </relocation>
  124. </relocations>
  125. <filters>
  126. <filter>
  127. <artifact>*:*</artifact>
  128. <excludes>
  129. <exclude>META-INF/</exclude>
  130. </excludes>
  131. </filter>
  132. </filters>
  133. </configuration>
  134. <executions>
  135. <execution>
  136. <phase>package</phase>
  137. <goals>
  138. <goal>shade</goal>
  139. </goals>
  140. </execution>
  141. </executions>
  142. </plugin>
  143. <plugin>
  144. <groupId>org.apache.maven.plugins</groupId>
  145. <artifactId>maven-surefire-plugin</artifactId>
  146. <version>3.0.0-M5</version>
  147. <dependencies>
  148. <dependency>
  149. <groupId>org.apache.maven.surefire</groupId>
  150. <artifactId>surefire-junit47</artifactId>
  151. <version>3.0.0-M5</version>
  152. </dependency>
  153. </dependencies>
  154. </plugin>
  155. </plugins>
  156. </build>
  157. </project>