lunaiskey2

Pom.xml

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