Author: bdelacretaz
Date: Mon Apr 6 14:28:28 2009
New Revision: 762360
URL: http://svn.apache.org/viewvc?rev=762360&view=rev
Log:
SLING-845 - delete top-level sling folder using an ant task as the
maven-clean-plugin config can slow things down
Modified:
incubator/sling/trunk/launchpad/testing/pom.xml
incubator/sling/trunk/pom.xml
Modified: incubator/sling/trunk/launchpad/testing/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/sling/trunk/launchpad/testing/pom.xml?rev=762360&r1=762359&r2=762360&view=diff
==============================================================================
--- incubator/sling/trunk/launchpad/testing/pom.xml (original)
+++ incubator/sling/trunk/launchpad/testing/pom.xml Mon Apr 6 14:28:28 2009
@@ -104,6 +104,25 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>delete-sling-folder</id>
+ <phase>package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <echo>SLING-845 - delete parent sling folder
before integration tests</echo>
+ <delete dir="../../sling"/>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<configuration>
Modified: incubator/sling/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/sling/trunk/pom.xml?rev=762360&r1=762359&r2=762360&view=diff
==============================================================================
--- incubator/sling/trunk/pom.xml (original)
+++ incubator/sling/trunk/pom.xml Mon Apr 6 14:28:28 2009
@@ -55,28 +55,6 @@
<url>http://svn.apache.org/viewvc/incubator/sling/trunk</url>
</scm>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <version>2.2</version>
- <configuration>
- <filesets>
- <fileset>
- <!-- SLING-845 -->
- <directory>${basedir}</directory>
- <includes>
- <include>derby.log</include>
- <include>cachedir</include>
- <include>sling</include>
- </includes>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
<!-- List modules to be included in the build here ! -->
<modules>
<!-- The real Sling Parent Project -->