1
0

pom.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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.15</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. <archive>
  53. <addMavenDescriptor>false</addMavenDescriptor>
  54. </archive>
  55. <outputDirectory>${dir}</outputDirectory>
  56. <finalName>${project.build.finalName}</finalName>
  57. </configuration>
  58. </plugin>
  59. </plugins>
  60. </build>
  61. </project>