Guest User

Untitled

a guest
Nov 9th, 2022
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.22 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.sporemint</groupId>
  8. <artifactId>scrapeac</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. <packaging>jar</packaging>
  11.  
  12. <name>ScrapeAC</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-shade-plugin</artifactId>
  24. <version>3.2.4</version>
  25. <executions>
  26. <execution>
  27. <phase>package</phase>
  28. <goals>
  29. <goal>shade</goal>
  30. </goals>
  31. <configuration>
  32. <minimizeJar>true</minimizeJar>
  33. <createDependencyReducedPom>false</createDependencyReducedPom>
  34. <relocations>
  35. <relocation>
  36. <pattern>com.github.retrooper.packetevents</pattern>
  37. <shadedPattern>me.sporemint.scrapeac.packetevents</shadedPattern>
  38. </relocation>
  39. </relocations>
  40. </configuration>
  41. </execution>
  42. </executions>
  43. </plugin>
  44. <plugin>
  45. <groupId>org.apache.maven.plugins</groupId>
  46. <artifactId>maven-compiler-plugin</artifactId>
  47. <version>3.8.1</version>
  48. <configuration>
  49. <source>${java.version}</source>
  50. <target>${java.version}</target>
  51. </configuration>
  52. </plugin>
  53. <plugin>
  54. <groupId>org.apache.maven.plugins</groupId>
  55. <artifactId>maven-shade-plugin</artifactId>
  56. <version>3.2.4</version>
  57. <executions>
  58. <execution>
  59. <phase>package</phase>
  60. <goals>
  61. <goal>shade</goal>
  62. </goals>
  63. <configuration>
  64. <createDependencyReducedPom>false</createDependencyReducedPom>
  65. </configuration>
  66. </execution>
  67. </executions>
  68. </plugin>
  69. </plugins>
  70. <resources>
  71. <resource>
  72. <directory>src/main/resources</directory>
  73. <filtering>true</filtering>
  74. </resource>
  75. </resources>
  76. </build>
  77.  
  78. <repositories>
  79. <repository>
  80. <id>papermc-repo</id>
  81. <url>https://repo.papermc.io/repository/maven-public/</url>
  82. </repository>
  83. <repository>
  84. <id>sonatype</id>
  85. <url>https://oss.sonatype.org/content/groups/public/</url>
  86. </repository>
  87. <repository>
  88. <id>codemc-snapshots</id>
  89. <url>https://repo.codemc.io/repository/maven-snapshots/</url>
  90. </repository>
  91. </repositories>
  92.  
  93. <dependencies>
  94. <dependency>
  95. <groupId>io.papermc.paper</groupId>
  96. <artifactId>paper-api</artifactId>
  97. <version>1.19.2-R0.1-SNAPSHOT</version>
  98. <scope>provided</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.projectlombok</groupId>
  102. <artifactId>lombok</artifactId>
  103. <version>1.18.24</version>
  104. <scope>compile</scope>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.github.retrooper.packetevents</groupId>
  108. <artifactId>spigot</artifactId>
  109. <version>2.0.0-SNAPSHOT</version>
  110. <scope>provided</scope>
  111. </dependency>
  112. </dependencies>
  113. </project>
  114.  
Advertisement
Add Comment
Please, Sign In to add comment