You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2018/08/27 12:11:06 UTC

[maven-scm-publish-plugin] branch asfMavenTlpPlgnBuild updated: Use ant-1.10.2 for creation of symLinks via java.nio.file.Files api, though still IT doesn't succeed on Windows

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

rfscholte pushed a commit to branch asfMavenTlpPlgnBuild
in repository https://gitbox.apache.org/repos/asf/maven-scm-publish-plugin.git


The following commit(s) were added to refs/heads/asfMavenTlpPlgnBuild by this push:
     new dad0ecd  Use ant-1.10.2 for creation of symLinks via java.nio.file.Files api, though still IT doesn't succeed on Windows
dad0ecd is described below

commit dad0ecdda37a944b2cf67469a25121bd2ba6a361
Author: rfscholte <rf...@apache.org>
AuthorDate: Mon Aug 27 14:10:59 2018 +0200

    Use ant-1.10.2 for creation of symLinks via java.nio.file.Files api, though still IT doesn't succeed on Windows
---
 src/it/publish-scm/invoker.properties | 1 +
 src/it/publish-scm/pom.xml            | 9 +++++++++
 2 files changed, 10 insertions(+)

diff --git a/src/it/publish-scm/invoker.properties b/src/it/publish-scm/invoker.properties
index bf59692..38871a0 100644
--- a/src/it/publish-scm/invoker.properties
+++ b/src/it/publish-scm/invoker.properties
@@ -16,3 +16,4 @@
 # under the License.
 
 invoker.goals = site scm-publish:publish-scm
+invoker.os.family = !windows
diff --git a/src/it/publish-scm/pom.xml b/src/it/publish-scm/pom.xml
index 34a90f0..ebd2885 100644
--- a/src/it/publish-scm/pom.xml
+++ b/src/it/publish-scm/pom.xml
@@ -73,6 +73,15 @@
             </configuration>
           </execution>
         </executions>
+        <dependencies>
+          <!-- Should support SymLink on Windows because of usage java.nio.file.Files api, but doesn't...? -->
+          <!-- for now disable for Windows via invoker.properties -->
+          <dependency>
+            <groupId>org.apache.ant</groupId>
+            <artifactId>ant</artifactId>
+            <version>1.10.2</version>
+          </dependency>
+        </dependencies>
       </plugin>
     </plugins>
   </build>