Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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">
- <groupId>strawpoll</groupId>
- <artifactId>strawpoll</artifactId>
- <modelVersion>4.0.0</modelVersion>
- <version>1.10.2</version>
- <name>strawpoll</name>
- <description>A strawpoll plugin</description>
- <properties>
- <!-- Removes warnings -->
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <!-- Used in plugin.yml -->
- <mainClass>CHANGE ME - CLASS NAME</mainClass>
- <!-- Also used in plugin.yml -->
- <author>CHANGE ME - AUTHORS USERNAME</author>
- </properties>
- <build>
- <!-- Uses the properties in this file for plugin.yml and config.yml -->
- <resources>
- <resource>
- <directory>${basedir}/src/main/resources</directory>
- <filtering>true</filtering>
- <includes>
- <include>plugin.yml</include>
- <include>config.yml</include>
- </includes>
- </resource>
- </resources>
- <plugins>
- <!-- Sets the Java version to 8 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.1</version>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- </configuration>
- </plugin>
- <!-- Sets the custom JARfile name (Project name without spaces is good) -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.4</version>
- <configuration>
- <finalName>${project.name}</finalName>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <!-- This is the spigot repository, if you need others look them up -->
- <repositories>
- <repository>
- <id>spigot-repo</id>
- <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
- </repository>
- </repositories>
- <!-- Spigot dependency version, if you need others look them up -->
- <dependencies>
- <dependency>
- <groupId>org.spigotmc</groupId>
- <artifactId>spigot-api</artifactId>
- <version>1.10.2-R0.1-SNAPSHOT</version>
- </dependency>
- </dependencies>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement