Guest User

Untitled

a guest
Jul 20th, 2024
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.81 KB | None | 0 0
  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>net.dmulloy2</groupId>
  5. <artifactId>swornguns</artifactId>
  6. <version>2.4-SNAPSHOT</version>
  7. <name>SwornGuns</name>
  8.  
  9. <properties>
  10. <java.version>20</java.version>
  11. <maven.compiler.source>${java.version}</maven.compiler.source>
  12. <maven.compiler.target>${java.version}</maven.compiler.target>
  13. </properties>
  14.  
  15. <repositories>
  16. <repository>
  17. <id>spigotmc-repo</id>
  18. <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
  19. </repository>
  20. <repository>
  21. <id>dmulloy2-repo</id>
  22. <url>https://repo.dmulloy2.net/content/groups/public/</url>
  23. </repository>
  24. </repositories>
  25.  
  26. <distributionManagement>
  27. <repository>
  28. <id>dmulloy2-repo</id>
  29. <url>https://repo.dmulloy2.net/content/repositories/releases/</url>
  30. </repository>
  31. <snapshotRepository>
  32. <id>dmulloy2-repo</id>
  33. <url>https://repo.dmulloy2.net/content/repositories/snapshots/</url>
  34. </snapshotRepository>
  35. </distributionManagement>
  36.  
  37. <build>
  38. <plugins>
  39. <plugin>
  40. <groupId>org.apache.maven.plugins</groupId>
  41. <artifactId>maven-compiler-plugin</artifactId>
  42. <version>3.8.1</version>
  43. <configuration>
  44. <source>20</source>
  45. <target>20</target>
  46. </configuration>
  47. </plugin>
  48. <plugin>
  49. <groupId>org.apache.maven.plugins</groupId>
  50. <artifactId>maven-jar-plugin</artifactId>
  51. <version>2.5</version>
  52. <configuration>
  53. <archive>
  54. <addMavenDescriptor>false</addMavenDescriptor>
  55. </archive>
  56. <finalName>${project.name}</finalName>
  57. </configuration>
  58. </plugin>
  59. <plugin>
  60. <groupId>org.apache.maven.plugins</groupId>
  61. <artifactId>maven-shade-plugin</artifactId>
  62. <version>3.2.4</version>
  63. <executions>
  64. <execution>
  65. <phase>package</phase>
  66. <goals>
  67. <goal>shade</goal>
  68. </goals>
  69. <configuration>
  70. <createDependencyReducedPom>false</createDependencyReducedPom>
  71. <minimizeJar>true</minimizeJar>
  72.  
  73. <artifactSet>
  74. <includes>
  75. <include>net.dmulloy2:swornapi*</include>
  76. </includes>
  77. </artifactSet>
  78. <relocations>
  79. <relocation>
  80. <pattern>net.dmulloy2</pattern>
  81. <shadedPattern>net.dmulloy2.swornguns</shadedPattern>
  82. <excludes>
  83. <exclude>net.dmulloy2.swornguns*</exclude>
  84. <exclude>net.dmulloy2.swornrpg*</exclude>
  85. <exclude>net.dmulloy2.ultimatearena*</exclude>
  86. </excludes>
  87. </relocation>
  88. </relocations>
  89. </configuration>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. </plugins>
  94. <resources>
  95. <resource>
  96. <targetPath>.</targetPath>
  97. <directory>${basedir}/src/main/resources/</directory>
  98. <filtering>true</filtering>
  99. <includes>
  100. <include>*.yml</include>
  101. </includes>
  102. </resource>
  103. <resource>
  104. <targetPath>guns/</targetPath>
  105. <directory>${basedir}/src/main/resources/guns/</directory>
  106. <filtering>true</filtering>
  107. <includes>
  108. <include>*</include>
  109. </includes>
  110. </resource>
  111. <resource>
  112. <targetPath>projectile/</targetPath>
  113. <directory>${basedir}/src/main/resources/projectile/</directory>
  114. <filtering>true</filtering>
  115. <includes>
  116. <include>*</include>
  117. </includes>
  118. </resource>
  119. <resource>
  120. <targetPath>.</targetPath>
  121. <directory>${basedir}</directory>
  122. <includes>
  123. <include>License.txt</include>
  124. </includes>
  125. </resource>
  126. </resources>
  127. </build>
  128.  
  129. <dependencies>
  130. <dependency>
  131. <groupId>org.spigotmc</groupId>
  132. <artifactId>spigot</artifactId>
  133. <version>1.8.8-R0.1-SNAPSHOT</version>
  134. <scope>provided</scope>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.projectlombok</groupId>
  138. <artifactId>lombok</artifactId>
  139. <version>1.18.26</version>
  140. <scope>provided</scope>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.comphenix.protocol</groupId>
  144. <artifactId>ProtocolLib</artifactId>
  145. <version>5.0.0</version>
  146. <scope>provided</scope>
  147. </dependency>
  148. </dependencies>
  149. </project>
Advertisement
Add Comment
Please, Sign In to add comment