1
0

pom.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. <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. </repositories>
  18. <dependencies>
  19. <dependency>
  20. <groupId>org.spigotmc</groupId>
  21. <artifactId>spigot-api</artifactId>
  22. <version>1.12.2-R0.1-SNAPSHOT</version>
  23. <scope>provided</scope>
  24. </dependency>
  25. </dependencies>
  26. <build>
  27. <!-- Uses the properties in this file for plugin.yml and config.yml -->
  28. <resources>
  29. <resource>
  30. <directory>${basedir}/src/main/resources</directory>
  31. <filtering>true</filtering>
  32. <includes>
  33. <include>plugin.yml</include>
  34. <include>config.yml</include>
  35. </includes>
  36. </resource>
  37. </resources>
  38. <plugins>
  39. <!-- Sets the Java version to 8 -->
  40. <plugin>
  41. <groupId>org.apache.maven.plugins</groupId>
  42. <artifactId>maven-compiler-plugin</artifactId>
  43. <version>3.1</version>
  44. <configuration>
  45. <source>1.8</source>
  46. <target>1.8</target>
  47. </configuration>
  48. </plugin>
  49. <!-- Sets the custom JARfile name (Project name without spaces is good) -->
  50. <plugin>
  51. <groupId>org.apache.maven.plugins</groupId>
  52. <artifactId>maven-jar-plugin</artifactId>
  53. <version>2.4</version>
  54. <configuration>
  55. <archive>
  56. <addMavenDescriptor>false</addMavenDescriptor>
  57. </archive>
  58. <outputDirectory>${dir}</outputDirectory>
  59. <finalName>${project.build.finalName}</finalName>
  60. </configuration>
  61. </plugin>
  62. </plugins>
  63. </build>
  64. </project>