Advertisement
agentsix1

Untitled

Nov 5th, 2022
688
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.49 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>com</groupId>
  8. <artifactId>rok</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. <packaging>jar</packaging>
  11.  
  12. <name>TestMobs</name>
  13.  
  14. <properties>
  15. <java.version>1.8</java.version>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <maven.compiler.source>17</maven.compiler.source>
  18. <maven.compiler.target>17</maven.compiler.target>
  19. </properties>
  20.  
  21. <build>
  22. <plugins>
  23. <plugin>
  24. <groupId>net.md-5</groupId>
  25. <artifactId>specialsource-maven-plugin</artifactId>
  26. <version>1.2.3</version>
  27. <executions>
  28. <execution>
  29. <phase>package</phase>
  30. <goals>
  31. <goal>remap</goal>
  32. </goals>
  33. <id>remap-obf</id>
  34. <configuration>
  35. <srgIn>org.spigotmc:minecraft-server:1.18.1-R0.1-SNAPSHOT:txt:maps-mojang</srgIn>
  36. <reverse>true</reverse>
  37. <remappedDependencies>org.spigotmc:spigot:1.18.1-R0.1-SNAPSHOT:jar:remapped-mojang</remappedDependencies>
  38. <remappedArtifactAttached>true</remappedArtifactAttached>
  39. <remappedClassifierName>remapped-obf</remappedClassifierName>
  40. </configuration>
  41. </execution>
  42. <execution>
  43. <phase>package</phase>
  44. <goals>
  45. <goal>remap</goal>
  46. </goals>
  47. <id>remap-spigot</id>
  48. <configuration>
  49. <inputFile>${project.build.directory}/${project.artifactId}-${project.version}-remapped-obf.jar</inputFile>
  50. <srgIn>org.spigotmc:minecraft-server:1.18.1-R0.1-SNAPSHOT:csrg:maps-spigot</srgIn>
  51. <remappedDependencies>org.spigotmc:spigot:1.18.1-R0.1-SNAPSHOT:jar:remapped-obf</remappedDependencies>
  52. </configuration>
  53. </execution>
  54. </executions>
  55. </plugin>
  56. <plugin>
  57. <groupId>org.apache.maven.plugins</groupId>
  58. <artifactId>maven-compiler-plugin</artifactId>
  59. <version>3.8.1</version>
  60. <configuration>
  61. <source>${java.version}</source>
  62. <target>${java.version}</target>
  63. </configuration>
  64. </plugin>
  65. <plugin>
  66. <groupId>org.apache.maven.plugins</groupId>
  67. <artifactId>maven-shade-plugin</artifactId>
  68. <version>3.2.4</version>
  69. <executions>
  70. <execution>
  71. <phase>package</phase>
  72. <goals>
  73. <goal>shade</goal>
  74. </goals>
  75. <configuration>
  76. <createDependencyReducedPom>false</createDependencyReducedPom>
  77. </configuration>
  78. </execution>
  79. </executions>
  80. </plugin>
  81. </plugins>
  82. <resources>
  83. <resource>
  84. <directory>src/main/resources</directory>
  85. <filtering>true</filtering>
  86. </resource>
  87. </resources>
  88. </build>
  89.  
  90. <repositories>
  91. <repository>
  92. <id>spigotmc-repo</id>
  93. <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
  94. </repository>
  95. <repository>
  96. <id>sonatype</id>
  97. <url>https://oss.sonatype.org/content/groups/public/</url>
  98. </repository>
  99. </repositories>
  100.  
  101. <dependencies>
  102.  
  103. <dependency>
  104. <groupId>org.spigotmc</groupId>
  105. <artifactId>spigot</artifactId>
  106. <version>1.18.1-R0.1-SNAPSHOT</version>
  107. <scope>provided</scope>
  108. <classifier>remapped-mojang</classifier>
  109. </dependency>
  110. </dependencies>
  111. </project>
  112.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement