Add maven support

This commit is contained in:
Max Qian 2016-07-27 21:02:45 -07:00
parent 4f0b06b32c
commit 96a0fedc4d
2 changed files with 30 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,4 +1,6 @@
*.class
.*
/target/
# Package Files #
*.jar

28
pom.xml Normal file
View File

@ -0,0 +1,28 @@
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.sekwah.advancedportals</groupId>
<artifactId>Advanced-Portals</artifactId>
<build>
<sourceDirectory>${basedir}/src/</sourceDirectory>
<resources>
<resource>
<directory>${basedir}/Resources</directory>
</resource>
</resources>
</build>
<version>0.0.20-snapshot</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.10.2</version>
<scope>system</scope>
<systemPath>${basedir}/target/buildtools/craftbukkit-1.10.2.jar</systemPath>
</dependency>
</dependencies>
</project>