From cc9b57bd474b2a0bcc0084a9b28680eb7f439615 Mon Sep 17 00:00:00 2001 From: mirabilos Date: Fri, 8 Jan 2021 20:18:28 +0100 Subject: [PATCH] try see https://github.com/codehaus-plexus/plexus-io/issues/37 --- pom.xml | 9 +++++---- .../plexus/components/io/resources/ResourceFactory.java | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 5168ed74..2fb6c9fa 100644 --- a/pom.xml +++ b/pom.xml @@ -7,16 +7,17 @@ 5.1 + org.evolvis.tartools.forked plexus-io 3.2.0 Plexus IO Components - scm:git:git@github.com:codehaus-plexus/plexus-io.git - scm:git:git@github.com:codehaus-plexus/plexus-io.git - http://github.com/codehaus-plexus/plexus-io - plexus-io-3.2.0 + scm:git:git@github.com:tarent/plexus-io.git + scm:git:git@github.com:tarent/plexus-io.git + http://github.com/tarent/plexus-io + plexus-io-3.2.0-follow-symlinks jira diff --git a/src/main/java/org/codehaus/plexus/components/io/resources/ResourceFactory.java b/src/main/java/org/codehaus/plexus/components/io/resources/ResourceFactory.java index a482a32a..65cc5372 100644 --- a/src/main/java/org/codehaus/plexus/components/io/resources/ResourceFactory.java +++ b/src/main/java/org/codehaus/plexus/components/io/resources/ResourceFactory.java @@ -52,7 +52,8 @@ public static PlexusIoResource createResource( File f, String name, final Conten PlexusIoResourceAttributes attributes ) throws IOException { - boolean symbolicLink = attributes.isSymbolicLink(); + boolean symbolicLink = false;//attributes.isSymbolicLink(); + System.err.println("moo"); return symbolicLink ? new PlexusIoSymlinkResource( f, name, attributes ) : new PlexusIoFileResource(f, name, attributes, contentSupplier, inputStreamTransformer); }