Skip to content

Instantly share code, notes, and snippets.

@aadnk
Created July 27, 2013 15:15
Show Gist options
  • Save aadnk/6095130 to your computer and use it in GitHub Desktop.
Save aadnk/6095130 to your computer and use it in GitHub Desktop.
The Maven POM file used to compile MCore without changing its folder structure or updating the version.
<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.massivecraft.mcore</groupId>
<artifactId>MCore</artifactId>
<version>${yaml.plugin.version}</version>
<name>${yaml.plugin.name}</name>
<packaging>jar</packaging>
<description>
MCore stands for MassiveCraft Core and is a plugin that contains libraries and features that other plugins make use of.
Cayorion from the Minecraft Server MassiveCraft is the lead programmer.
</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>bukkit-rep</id>
<url>http://repo.bukkit.org/content/groups/public</url>
</repository>
<repository>
<id>comphenix-rep</id>
<name>Comphenix Maven Releases</name>
<url>http://repo.comphenix.net/content/groups/public</url>
</repository>
<repository>
<id>vault-repo</id>
<url>http://ci.herocraftonline.com/plugin/repository/everything</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>comphenix-rep</id>
<name>Comphenix Maven Releases</name>
<url>http://repo.comphenix.net/content/groups/public</url>
</pluginRepository>
</pluginRepositories>
<build>
<defaultGoal>clean package</defaultGoal>
<sourceDirectory>src</sourceDirectory>
<resources>
<resource>
<directory></directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.comphenix.maven</groupId>
<artifactId>yaml-properties-plugin</artifactId>
<version>0.1.0</version>
<executions>
<execution>
<goals>
<goal>read-yaml-properties</goal>
</goals>
<configuration>
<files>
<plugin>${basedir}/plugin.yml</plugin>
</files>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
<url>http://massivecraft.com/mcore</url>
<scm>
<connection>scm:git:http://github.com/MassiveCraft/mcore.git</connection>
<url>http://github.com/MassiveCraft/mcore</url>
</scm>
<dependencies>
<dependency>
<groupId>com.comphenix.maven</groupId>
<artifactId>yaml-properties-plugin</artifactId>
<version>0.1.0</version>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.6.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.milkbowl.vault</groupId>
<artifactId>Vault</artifactId>
<version>1.2.26-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.comphenix.protocol</groupId>
<artifactId>ProtocolLib</artifactId>
<version>2.4.5</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment