pom.xml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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.11</version>
  7. <name>TelegramChat</name>
  8. <url>https://www.spigotmc.org/resources/telegramchat.16576/</url>
  9. <repositories>
  10. <repository>
  11. <id>spigot-repo</id>
  12. <url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
  13. </repository>
  14. </repositories>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.spigotmc</groupId>
  18. <artifactId>spigot-api</artifactId>
  19. <version>1.12.2-R0.1-SNAPSHOT</version>
  20. <scope>provided</scope>
  21. </dependency>
  22. </dependencies>
  23. <build>
  24. <!-- Uses the properties in this file for plugin.yml and config.yml -->
  25. <resources>
  26. <resource>
  27. <directory>${basedir}/src/main/resources</directory>
  28. <filtering>true</filtering>
  29. <includes>
  30. <include>plugin.yml</include>
  31. <include>config.yml</include>
  32. </includes>
  33. </resource>
  34. </resources>
  35. <plugins>
  36. <!-- Sets the Java version to 8 -->
  37. <plugin>
  38. <groupId>org.apache.maven.plugins</groupId>
  39. <artifactId>maven-compiler-plugin</artifactId>
  40. <version>3.1</version>
  41. <configuration>
  42. <source>1.8</source>
  43. <target>1.8</target>
  44. </configuration>
  45. </plugin>
  46. <!-- Sets the custom JARfile name (Project name without spaces is good) -->
  47. <plugin>
  48. <groupId>org.apache.maven.plugins</groupId>
  49. <artifactId>maven-jar-plugin</artifactId>
  50. <version>2.4</version>
  51. <configuration>
  52. <finalName>${project.name}</finalName>
  53. </configuration>
  54. </plugin>
  55. </plugins>
  56. </build>
  57. </project>