summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorChris Ward <chris@chrisgward.com>2013-10-19 20:31:09 +1100
committerKHobbits <rob@khobbits.co.uk>2013-10-19 12:19:40 +0100
commitc55c0d6bdd902f0248f716e3b0281a02263fb58d (patch)
treea93cbe2212d9f2890c9daaeb18bb369143c833b8 /pom.xml
parent5eabb8ac26a90e0dd0970e6538302f4d675c713b (diff)
downloadEssentials-c55c0d6bdd902f0248f716e3b0281a02263fb58d.tar
Essentials-c55c0d6bdd902f0248f716e3b0281a02263fb58d.tar.gz
Essentials-c55c0d6bdd902f0248f716e3b0281a02263fb58d.tar.lz
Essentials-c55c0d6bdd902f0248f716e3b0281a02263fb58d.tar.xz
Essentials-c55c0d6bdd902f0248f716e3b0281a02263fb58d.zip
Call Ant from Maven (for GM)
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml36
1 files changed, 32 insertions, 4 deletions
diff --git a/pom.xml b/pom.xml
index 75657da2e..7d305c98b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -96,6 +96,34 @@
</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>
<version>2.8</version>
<configuration>
@@ -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>