Author: veithen
Date: Sat Sep 23 10:12:19 2017
New Revision: 1809385
URL: http://svn.apache.org/viewvc?rev=1809385&view=rev
Log:
AXIS2-5890: Always clean the directory where we unpack the distribution for
testing. Files left over from a previous run interfere with the tests.
Modified:
axis/axis2/java/core/trunk/modules/distribution/pom.xml
Modified: axis/axis2/java/core/trunk/modules/distribution/pom.xml
URL:
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/distribution/pom.xml?rev=1809385&r1=1809384&r2=1809385&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/distribution/pom.xml (original)
+++ axis/axis2/java/core/trunk/modules/distribution/pom.xml Sat Sep 23 10:12:19
2017
@@ -441,6 +441,27 @@
</executions>
</plugin>
+ <!-- Always remove files from a previous run of the integration
tests. -->
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>clean-test-files</id>
+ <phase>integration-test</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${project.build.directory}/axis2-${project.version}</directory>
+ </fileset>
+ </filesets>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<!-- Prepare some additional dependencies required by specific
samples. We could
also do this by invoking the relevant download.jars targets
in the provided
ant scripts, but this may cause issues with HTTP proxies and
has the disadvantage