pom.xml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>TelegramChat</groupId>
  5. <artifactId>TelegramChat</artifactId>
  6. <version>1.0.16</version>
  7. <name>TelegramChat</name>
  8. <url>https://www.spigotmc.org/resources/telegramchat.16576/</url>
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. </properties>
  12. <repositories>
  13. <repository>
  14. <id>spigot-repo</id>
  15. <url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
  16. </repository>
  17. <repository>
  18. <id>jitpack.io</id>
  19. <url>https://jitpack.io</url>
  20. </repository>
  21. </repositories>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.bukkit</groupId>
  25. <artifactId>craftbukkit</artifactId>
  26. <version>1.12.2-R0.1-SNAPSHOT</version>
  27. <scope>provided</scope>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.github.MilkBowl</groupId>
  31. <artifactId>VaultAPI</artifactId>
  32. <version>1.7</version>
  33. <scope>provided</scope>
  34. </dependency>
  35. </dependencies>
  36. <build>
  37. <!-- Uses the properties in this file for plugin.yml and config.yml -->
  38. <resources>
  39. <resource>
  40. <directory>${basedir}/src/main/resources</directory>
  41. <filtering>true</filtering>
  42. <includes>
  43. <include>plugin.yml</include>
  44. <include>config.yml</include>
  45. </includes>
  46. </resource>
  47. </resources>
  48. <plugins>
  49. <!-- Sets the Java version to 8 -->
  50. <plugin>
  51. <groupId>org.apache.maven.plugins</groupId>
  52. <artifactId>maven-compiler-plugin</artifactId>
  53. <version>3.1</version>
  54. <configuration>
  55. <source>1.8</source>
  56. <target>1.8</target>
  57. </configuration>
  58. </plugin>
  59. <!-- Sets the custom JARfile name (Project name without spaces is good) -->
  60. <plugin>
  61. <groupId>org.apache.maven.plugins</groupId>
  62. <artifactId>maven-jar-plugin</artifactId>
  63. <version>2.4</version>
  64. <configuration>
  65. <archive>
  66. <addMavenDescriptor>false</addMavenDescriptor>
  67. </archive>
  68. <outputDirectory>${dir}</outputDirectory>
  69. <finalName>${project.build.finalName}</finalName>
  70. </configuration>
  71. </plugin>
  72. </plugins>
  73. </build>
  74. </project>