This is an automated email from the ASF dual-hosted git repository.

spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/master by this push:
     new bb67885  Use clean plugin to kill .NET directories generated during 
builds
     new 4af04a3  Merge branch 'tp33'
bb67885 is described below

commit bb678853886a82e3c0575f2b51dd418e35191eb6
Author: Stephen Mallette <sp...@genoprime.com>
AuthorDate: Wed Feb 13 11:19:26 2019 -0500

    Use clean plugin to kill .NET directories generated during builds
    
    The specific directory being removed typically causes problems for docker 
builds CTR
---
 gremlin-dotnet/pom.xml | 20 ++++++++++++++++++++
 gremlin-python/pom.xml |  1 -
 pom.xml                |  5 +++++
 3 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/gremlin-dotnet/pom.xml b/gremlin-dotnet/pom.xml
index 176e957..bb2d932 100644
--- a/gremlin-dotnet/pom.xml
+++ b/gremlin-dotnet/pom.xml
@@ -35,6 +35,26 @@ limitations under the License.
     <build>
         <plugins>
             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-clean-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>clean</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <filesets>
+                        <!-- kill .cache directory as it seems to cause 
hassles in docker builds sometimes-->
+                        <fileset>
+                            <directory>src/obj</directory>
+                            <followSymlinks>false</followSymlinks>
+                        </fileset>
+                    </filesets>
+                </configuration>
+            </plugin>
+            <plugin>
                 <groupId>org.eobjects.build</groupId>
                 <artifactId>dotnet-maven-plugin</artifactId>
                 <extensions>true</extensions>
diff --git a/gremlin-python/pom.xml b/gremlin-python/pom.xml
index 786c54d..18275d0 100644
--- a/gremlin-python/pom.xml
+++ b/gremlin-python/pom.xml
@@ -86,7 +86,6 @@ limitations under the License.
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-clean-plugin</artifactId>
-                <version>3.0.0</version>
                 <executions>
                     <execution>
                         <goals>
diff --git a/pom.xml b/pom.xml
index e8daf98..cd31588 100644
--- a/pom.xml
+++ b/pom.xml
@@ -601,6 +601,11 @@ limitations under the License.
                     <artifactId>maven-antrun-plugin</artifactId>
                     <version>1.8</version>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-clean-plugin</artifactId>
+                    <version>3.1.0</version>
+                </plugin>
             </plugins>
         </pluginManagement>
     </build>

Reply via email to