You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/04/19 09:17:59 UTC
camel git commit: Use maven-antrun-plugin to remove data dir instead
of maven-clean-plugin so that mvn clean would remove target dir
Repository: camel
Updated Branches:
refs/heads/master e09180940 -> 424273fa9
Use maven-antrun-plugin to remove data dir instead of maven-clean-plugin so that mvn clean would remove target dir
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/424273fa
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/424273fa
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/424273fa
Branch: refs/heads/master
Commit: 424273fa986790fece72d8f0b9f58f526ce3b192
Parents: e091809
Author: Tomohisa Igarashi <tm...@gmail.com>
Authored: Wed Apr 19 18:05:57 2017 +0900
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Apr 19 11:16:58 2017 +0200
----------------------------------------------------------------------
components/camel-solr/pom.xml | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/424273fa/components/camel-solr/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-solr/pom.xml b/components/camel-solr/pom.xml
index 4541270..448e2f6c 100644
--- a/components/camel-solr/pom.xml
+++ b/components/camel-solr/pom.xml
@@ -153,24 +153,21 @@
<!-- clean the data directory before installing -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
+ <artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>auto-clean</id>
<phase>install</phase>
<goals>
- <goal>clean</goal>
+ <goal>run</goal>
</goals>
+ <configuration>
+ <target>
+ <delete dir="${basedir}/data" quiet="true"/>
+ </target>
+ </configuration>
</execution>
</executions>
- <configuration>
- <excludeDefaultDirectories>true</excludeDefaultDirectories>
- <filesets>
- <fileset>
- <directory>${basedir}/data</directory>
- </fileset>
- </filesets>
- </configuration>
</plugin>
</plugins>
</build>