Update Forge implementation and added build script.
Including: * Update to new MCP names * Adding of an build script (see maven 'forge' profile) * Adding of an regeneration code * Simplifying of the command registration * Added command usage description to avoid empty help pages * Added missing raw information * Used a WeakReference as world reference to avoid keeping a world in memory * Added mcmod.info * Fixed player orientation * Fixed printRaw not splitting the message correct
This commit is contained in:
33
pom.xml
33
pom.xml
@@ -304,6 +304,39 @@
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<!-- Build WorldEdit for MC-Forge -->
|
||||
<profile>
|
||||
<id>forge</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>1.7</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>compile</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<property name="maven.build.directory" value="${project.build.directory}"/>
|
||||
<property name="jchronic.path" value="${maven.dependency.com.sk89q.jchronic.jar.path}"/>
|
||||
<property name="truezip.path" value="${maven.dependency.de.schlichtherle.truezip.jar.path}"/>
|
||||
<property name="rhino.path" value="${maven.dependency.rhino.js.jar.path}"/>
|
||||
<property name="snakeyaml.path" value="${maven.dependency.org.yaml.snakeyaml.jar.path}"/>
|
||||
<property name="we.version" value="${project.version}"/>
|
||||
<ant antfile="src/forge/ant/build.xml"/>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
<!-- Attach javadocs and source .jars -->
|
||||
<profile>
|
||||
<id>attach-docs</id>
|
||||
|
||||
Reference in New Issue
Block a user