[jboss-svn-commits] JBL Code SVN: r10844 - labs/jbossrules/trunk/drools-eclipse.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Apr 9 22:52:51 EDT 2007
Author: mark.proctor at jboss.com
Date: 2007-04-09 22:52:51 -0400 (Mon, 09 Apr 2007)
New Revision: 10844
Modified:
labs/jbossrules/trunk/drools-eclipse/pom.xml
Log:
JBRULES-761 Automate the Eclipse build
-make sure the lib dir has all the jars deleted before the dependency copy
Modified: labs/jbossrules/trunk/drools-eclipse/pom.xml
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/pom.xml 2007-04-10 02:47:37 UTC (rev 10843)
+++ labs/jbossrules/trunk/drools-eclipse/pom.xml 2007-04-10 02:52:51 UTC (rev 10844)
@@ -13,45 +13,27 @@
<name>Drools :: Eclipse-Plugin</name>
<build>
- <plugins>
+ <plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-dependencies</id>
- <phase>process-resources</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <outputDirectory>drools-eclipse-plugin/lib</outputDirectory>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>false</overWriteSnapshots>
- <overWriteIfNewer>true</overWriteIfNewer>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>./drools-eclipse-plugin/lib</directory>
- <includes>
- <include>*.jar</include>
- </includes>
- <followSymlinks>false</followSymlinks>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
<artifactId>maven-antrun-plugin</artifactId>
<inherited>false</inherited>
<executions>
<execution>
+ <id>clean lib</id>
+ <phase>process-resources</phase>
+ <configuration>
+ <tasks>
+ <delete>
+ <fileset dir="drools-eclipse-plugin/lib" includes="**/*.jar" />
+ </delete>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+
+ <execution>
<id>compile-plugin</id>
<phase>compile</phase>
<configuration>
@@ -173,6 +155,26 @@
</execution>
</executions>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-dependencies</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>drools-eclipse-plugin/lib</outputDirectory>
+ <overWriteReleases>true</overWriteReleases>
+ <overWriteSnapshots>true</overWriteSnapshots>
+ <overWriteIfNewer>true</overWriteIfNewer>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
More information about the jboss-svn-commits
mailing list