summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2014-12-16 10:11:06 +1100
committermd_5 <git@md-5.net>2014-12-16 10:14:19 +1100
commit7bc218d1e2abe2d9c99eb0bac639c0cf50c949e3 (patch)
tree8e44635455aa0b1eee30e2f4d2f08c9681bde758 /pom.xml
parent6b061e25815c76ca4d736826d2b1b89231f43948 (diff)
downloadcraftbukkit-7bc218d1e2abe2d9c99eb0bac639c0cf50c949e3.tar
craftbukkit-7bc218d1e2abe2d9c99eb0bac639c0cf50c949e3.tar.gz
craftbukkit-7bc218d1e2abe2d9c99eb0bac639c0cf50c949e3.tar.lz
craftbukkit-7bc218d1e2abe2d9c99eb0bac639c0cf50c949e3.tar.xz
craftbukkit-7bc218d1e2abe2d9c99eb0bac639c0cf50c949e3.zip
Use SpecialSource Maven pluging for compile time remapping.
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml75
1 files changed, 18 insertions, 57 deletions
diff --git a/pom.xml b/pom.xml
index 49f80280..29c327f8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,20 +18,6 @@
<buildtag.suffix></buildtag.suffix>
</properties>
- <repositories>
- <repository>
- <id>repobo-snap</id>
- <url>http://repo.bukkit.org/content/groups/public</url>
- </repository>
- </repositories>
-
- <pluginRepositories>
- <pluginRepository>
- <id>bukkit-plugins</id>
- <url>http://repo.bukkit.org/content/groups/public</url>
- </pluginRepository>
- </pluginRepositories>
-
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
@@ -251,6 +237,24 @@
</execution>
</executions>
</plugin>
+ <!-- Gotta go after shade plugin -->
+ <plugin>
+ <groupId>net.md-5</groupId>
+ <artifactId>specialsource-maven-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>remap</goal>
+ </goals>
+ <configuration>
+ <srgIn>${project.basedir}/deprecation-mappings.csrg</srgIn>
+ <remappedDependencies/>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
@@ -272,49 +276,6 @@
</excludes>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.4.3</version>
- <executions>
- <execution>
- <id>maps-file</id>
- <phase>package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/target</outputDirectory>
- <resources>
- <resource>
- <directory>${basedir}</directory>
- <filtering>true</filtering>
- <includes>
- <include>maps.yml</include>
- </includes>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.wolvereness</groupId>
- <artifactId>overmapped</artifactId>
- <version>0.0.2</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>map</goal>
- </goals>
- <configuration>
- <maps>${basedir}/target/maps.yml</maps>
- <input>${basedir}/target/${project.artifactId}-${project.version}.jar</input>
- <original>${basedir}/target/unmapped-${project.artifactId}-${project.version}.jar</original>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
<pluginManagement>
<plugins>