1
0

pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>xyz.spaceio</groupId>
  6. <artifactId>telegramchat</artifactId>
  7. <version>1.0.17-SNAPSHOT</version>
  8. <name>TelegramChat</name>
  9. <url>https://www.spigotmc.org/resources/telegramchat.16576/</url>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. </properties>
  13. <repositories>
  14. <repository>
  15. <id>spaceio-repo</id>
  16. <url>https://repo.spaceio.xyz/repository/maven-public/</url>
  17. </repository>
  18. <repository>
  19. <id>spigot-repo</id>
  20. <url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
  21. </repository>
  22. <repository>
  23. <id>jitpack.io</id>
  24. <url>https://jitpack.io</url>
  25. </repository>
  26. <repository>
  27. <id>nexus-snapshots</id>
  28. <url>https://services.mind-overflow.net/nexus/repository/maven-releases/</url>
  29. </repository>
  30. </repositories>
  31. <dependencies>
  32. <dependency>
  33. <groupId>org.spigotmc</groupId>
  34. <artifactId>spigot-api</artifactId>
  35. <version>1.12.2-R0.1-SNAPSHOT</version>
  36. <scope>provided</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.github.LeonMangler</groupId>
  40. <artifactId>PremiumVanishAPI</artifactId>
  41. <version>2.7.3</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.github.MilkBowl</groupId>
  45. <artifactId>VaultAPI</artifactId>
  46. <version>1.7</version>
  47. <scope>provided</scope>
  48. </dependency>
  49. </dependencies>
  50. <distributionManagement>
  51. <snapshotRepository>
  52. <id>spaceio-snapshots</id>
  53. <name>snapshots</name>
  54. <url>https://repo.spaceio.xyz/repository/maven-snapshots/</url>
  55. </snapshotRepository>
  56. <repository>
  57. <id>spaceio-releases</id>
  58. <name>releases</name>
  59. <url>https://repo.spaceio.xyz/repository/maven-releases/</url>
  60. </repository>
  61. </distributionManagement>
  62. <build>
  63. <!-- Uses the properties in this file for plugin.yml and config.yml -->
  64. <resources>
  65. <resource>
  66. <directory>${basedir}/src/main/resources</directory>
  67. <filtering>true</filtering>
  68. <includes>
  69. <include>plugin.yml</include>
  70. <include>config.yml</include>
  71. </includes>
  72. </resource>
  73. </resources>
  74. <plugins>
  75. <!-- Sets the Java version to 8 -->
  76. <plugin>
  77. <groupId>org.apache.maven.plugins</groupId>
  78. <artifactId>maven-compiler-plugin</artifactId>
  79. <version>3.1</version>
  80. <configuration>
  81. <source>9</source>
  82. <target>9</target>
  83. </configuration>
  84. </plugin>
  85. <!-- Sets the custom JARfile name (Project name without spaces is good) -->
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-jar-plugin</artifactId>
  89. <version>2.4</version>
  90. <configuration>
  91. <archive>
  92. <addMavenDescriptor>false</addMavenDescriptor>
  93. </archive>
  94. <outputDirectory>${dir}</outputDirectory>
  95. <finalName>${project.build.finalName}</finalName>
  96. </configuration>
  97. </plugin>
  98. </plugins>
  99. </build>
  100. </project>