mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-14 05:01:28 +00:00
Call Ant from Maven (for GM)
This commit is contained in:
parent
48261daf89
commit
3e9a2377a8
1 changed files with 32 additions and 4 deletions
36
pom.xml
36
pom.xml
|
@ -94,6 +94,34 @@
|
|||
<target>1.6</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>1.7</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.sun</groupId>
|
||||
<artifactId>tools</artifactId>
|
||||
<version>1.5.0</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${java.home}/../lib/tools.jar</systemPath>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<configuration>
|
||||
<target name="buildgm">
|
||||
<ant dir="EssentialsGroupManager" antfile="build.xml"/>
|
||||
</target>
|
||||
</configuration>
|
||||
<inherited>false</inherited>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
|
@ -139,15 +167,14 @@
|
|||
</artifactItem>
|
||||
</artifactItems>
|
||||
</configuration>
|
||||
<inherited>false</inherited>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-resources</id>
|
||||
<!-- here the phase you need -->
|
||||
<phase>validate</phase>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>copy-resources</goal>
|
||||
</goals>
|
||||
|
@ -176,6 +203,7 @@
|
|||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
<inherited>false</inherited>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
||||
|
@ -190,7 +218,7 @@
|
|||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<filesToInclude>**/src/*</filesToInclude>
|
||||
<filesToInclude>src/*</filesToInclude>
|
||||
<replacements>
|
||||
<replacement>
|
||||
<token>TeamCity</token>
|
||||
|
|
Loading…
Reference in a new issue