Guest User

Untitled

a guest
Feb 26th, 2024
7
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6.  
  7. <groupId>me.xemuain</groupId>
  8. <artifactId>DuelsBlockBugFix</artifactId>
  9. <version>1.0</version>
  10. <packaging>jar</packaging>
  11.  
  12. <name>DuelsBlockBugFix</name>
  13.  
  14. <properties>
  15. <java.version>1.8</java.version>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. </properties>
  18.  
  19. <build>
  20. <plugins>
  21. <plugin>
  22. <groupId>org.apache.maven.plugins</groupId>
  23. <artifactId>maven-compiler-plugin</artifactId>
  24. <version>3.8.1</version>
  25. <configuration>
  26. <source>16</source>
  27. <target>16</target>
  28. </configuration>
  29. </plugin>
  30. <plugin>
  31. <groupId>org.apache.maven.plugins</groupId>
  32. <artifactId>maven-shade-plugin</artifactId>
  33. <version>3.2.4</version>
  34. <configuration>
  35. <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
  36. <relocations>
  37. <relocation>
  38. <pattern>io.papermc.lib</pattern>
  39. <shadedPattern>me.xemuain.duelsblockbugfix.paperlib</shadedPattern> <!-- Replace this -->
  40. </relocation>
  41. </relocations>
  42. </configuration>
  43. <executions>
  44. <execution>
  45. <phase>package</phase>
  46. <goals>
  47. <goal>shade</goal>
  48. </goals>
  49. </execution>
  50. </executions>
  51. </plugin>
  52. </plugins>
  53. <resources>
  54. <resource>
  55. <directory>src/main/resources</directory>
  56. <filtering>true</filtering>
  57. </resource>
  58. </resources>
  59. </build>
  60.  
  61. <repositories>
  62. <repository>
  63. <id>spigotmc-repo</id>
  64. <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
  65. </repository>
  66. <repository>
  67. <id>sonatype</id>
  68. <url>https://oss.sonatype.org/content/groups/public/</url>
  69. </repository>
  70. <repository>
  71. <id>papermc</id>
  72. <url>https://papermc.io/repo/repository/maven-public/</url>
  73. </repository>
  74. </repositories>
  75.  
  76. <dependencies>
  77. <dependency>
  78. <groupId>org.spigotmc</groupId>
  79. <artifactId>spigot-api</artifactId>
  80. <version>1.20.4-R0.1-SNAPSHOT</version>
  81. <scope>provided</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>io.papermc</groupId>
  85. <artifactId>paperlib</artifactId>
  86. <version>1.0.7</version>
  87. <scope>compile</scope>
  88. </dependency>
  89. </dependencies>
  90. </project>
  91.  
Advertisement
Add Comment
Please, Sign In to add comment