pom.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. <groupId>me.notfire</groupId>
  7. <artifactId>LimitedCraft</artifactId>
  8. <version>1.1.2</version>
  9. <packaging>jar</packaging>
  10. <name>LimitedCraft</name>
  11. <properties>
  12. <java.version>1.8</java.version>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. </properties>
  15. <build>
  16. <plugins>
  17. <plugin>
  18. <groupId>org.apache.maven.plugins</groupId>
  19. <artifactId>maven-compiler-plugin</artifactId>
  20. <version>3.8.1</version>
  21. <configuration>
  22. <source>${java.version}</source>
  23. <target>${java.version}</target>
  24. </configuration>
  25. </plugin>
  26. <plugin>
  27. <groupId>org.apache.maven.plugins</groupId>
  28. <artifactId>maven-shade-plugin</artifactId>
  29. <version>3.2.4</version>
  30. <executions>
  31. <execution>
  32. <phase>package</phase>
  33. <goals>
  34. <goal>shade</goal>
  35. </goals>
  36. <configuration>
  37. <createDependencyReducedPom>false</createDependencyReducedPom>
  38. </configuration>
  39. </execution>
  40. </executions>
  41. </plugin>
  42. </plugins>
  43. <resources>
  44. <resource>
  45. <directory>src/main/resources</directory>
  46. <filtering>true</filtering>
  47. </resource>
  48. </resources>
  49. </build>
  50. <repositories>
  51. <repository>
  52. <id>spigotmc-repo</id>
  53. <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
  54. </repository>
  55. <repository>
  56. <id>sonatype</id>
  57. <url>https://oss.sonatype.org/content/groups/public/</url>
  58. </repository>
  59. </repositories>
  60. <dependencies>
  61. <dependency>
  62. <groupId>org.spigotmc</groupId>
  63. <artifactId>spigot-api</artifactId>
  64. <version>1.17.1-R0.1-SNAPSHOT</version>
  65. <scope>provided</scope>
  66. </dependency>
  67. </dependencies>
  68. </project>