Advertisement
Guest User

Untitled

a guest
Jan 21st, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <groupId>strawpoll</groupId>
  3. <artifactId>strawpoll</artifactId>
  4. <modelVersion>4.0.0</modelVersion>
  5. <version>1.10.2</version>
  6. <name>strawpoll</name>
  7. <description>A strawpoll plugin</description>
  8.  
  9. <properties>
  10. <!-- Removes warnings -->
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <!-- Used in plugin.yml -->
  13. <mainClass>CHANGE ME - CLASS NAME</mainClass>
  14. <!-- Also used in plugin.yml -->
  15. <author>CHANGE ME - AUTHORS USERNAME</author>
  16. </properties>
  17. <build>
  18. <!-- Uses the properties in this file for plugin.yml and config.yml -->
  19. <resources>
  20. <resource>
  21. <directory>${basedir}/src/main/resources</directory>
  22. <filtering>true</filtering>
  23. <includes>
  24. <include>plugin.yml</include>
  25. <include>config.yml</include>
  26. </includes>
  27. </resource>
  28. </resources>
  29. <plugins>
  30. <!-- Sets the Java version to 8 -->
  31. <plugin>
  32. <groupId>org.apache.maven.plugins</groupId>
  33. <artifactId>maven-compiler-plugin</artifactId>
  34. <version>3.1</version>
  35. <configuration>
  36. <source>1.8</source>
  37. <target>1.8</target>
  38. </configuration>
  39. </plugin>
  40. <!-- Sets the custom JARfile name (Project name without spaces is good) -->
  41. <plugin>
  42. <groupId>org.apache.maven.plugins</groupId>
  43. <artifactId>maven-jar-plugin</artifactId>
  44. <version>2.4</version>
  45. <configuration>
  46. <finalName>${project.name}</finalName>
  47. </configuration>
  48. </plugin>
  49. </plugins>
  50. </build>
  51. <!-- This is the spigot repository, if you need others look them up -->
  52. <repositories>
  53. <repository>
  54. <id>spigot-repo</id>
  55. <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
  56. </repository>
  57. </repositories>
  58. <!-- Spigot dependency version, if you need others look them up -->
  59. <dependencies>
  60. <dependency>
  61. <groupId>org.spigotmc</groupId>
  62. <artifactId>spigot-api</artifactId>
  63. <version>1.10.2-R0.1-SNAPSHOT</version>
  64. </dependency>
  65. </dependencies>
  66. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement