1
0

pom.xml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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.16-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. </repositories>
  27. <dependencies>
  28. <dependency>
  29. <groupId>org.bukkit</groupId>
  30. <artifactId>craftbukkit</artifactId>
  31. <version>1.12.2-R0.1-SNAPSHOT</version>
  32. <scope>provided</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.github.MilkBowl</groupId>
  36. <artifactId>VaultAPI</artifactId>
  37. <version>1.7</version>
  38. <scope>provided</scope>
  39. </dependency>
  40. </dependencies>
  41. <distributionManagement>
  42. <snapshotRepository>
  43. <id>spaceio-snapshots</id>
  44. <name>snapshots</name>
  45. <url>https://repo.spaceio.xyz/repository/maven-snapshots/</url>
  46. </snapshotRepository>
  47. <repository>
  48. <id>spaceio-releases</id>
  49. <name>releases</name>
  50. <url>https://repo.spaceio.xyz/repository/maven-releases/</url>
  51. </repository>
  52. </distributionManagement>
  53. <build>
  54. <!-- Uses the properties in this file for plugin.yml and config.yml -->
  55. <resources>
  56. <resource>
  57. <directory>${basedir}/src/main/resources</directory>
  58. <filtering>true</filtering>
  59. <includes>
  60. <include>plugin.yml</include>
  61. <include>config.yml</include>
  62. </includes>
  63. </resource>
  64. </resources>
  65. <plugins>
  66. <!-- Sets the Java version to 8 -->
  67. <plugin>
  68. <groupId>org.apache.maven.plugins</groupId>
  69. <artifactId>maven-compiler-plugin</artifactId>
  70. <version>3.1</version>
  71. <configuration>
  72. <source>1.8</source>
  73. <target>1.8</target>
  74. </configuration>
  75. </plugin>
  76. <!-- Sets the custom JARfile name (Project name without spaces is good) -->
  77. <plugin>
  78. <groupId>org.apache.maven.plugins</groupId>
  79. <artifactId>maven-jar-plugin</artifactId>
  80. <version>2.4</version>
  81. <configuration>
  82. <archive>
  83. <addMavenDescriptor>false</addMavenDescriptor>
  84. </archive>
  85. <outputDirectory>${dir}</outputDirectory>
  86. <finalName>${project.build.finalName}</finalName>
  87. </configuration>
  88. </plugin>
  89. </plugins>
  90. </build>
  91. </project>