You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2021/04/22 23:18:13 UTC

[commons-ognl] branch master updated: Fix up old antrun syntax

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

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-ognl.git


The following commit(s) were added to refs/heads/master by this push:
     new 6874ddc  Fix up old antrun syntax
6874ddc is described below

commit 6874ddc87cd936b0d7afcae64cb4003b3f52517a
Author: Sebb <se...@apache.org>
AuthorDate: Fri Apr 23 00:18:04 2021 +0100

    Fix up old antrun syntax
---
 pom.xml | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/pom.xml b/pom.xml
index 16d0163..c43cee1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -555,7 +555,6 @@ limitations under the License.
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-antrun-plugin</artifactId>
-            <version>3.0.0</version>
             <executions>
               <execution>
                 <id>prepare-checkout</id>
@@ -566,23 +565,18 @@ limitations under the License.
                 <configuration>
                   <tasks>
                     <exec executable="svn">
-                      <arg line="checkout ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" />
+                      <arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" />
                     </exec>
-                    <!-- in case of paths to ignore (added manually) -->
-                    <!--
+
                     <exec executable="svn">
-                      <arg line="update - -set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs" />
+                      <arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs" />
                     </exec>
 
                     <pathconvert pathsep=" " property="dirs">
                       <dirset dir="${commons.scmPubCheckoutDirectory}" includes="*" />
                     </pathconvert>
                     <exec executable="svn">
-                      <arg line="update - -set-depth infinity ${dirs}" />
-                    </exec>
-                    -->
-                    <exec executable="svn">
-                      <arg line="update" />
+                      <arg line="update --set-depth infinity ${dirs}" />
                     </exec>
                   </tasks>
                 </configuration>