You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Josef Cacek (JIRA)" <ji...@apache.org> on 2019/07/19 08:47:00 UTC
[jira] [Commented] (MCLEAN-88) Deletes content of soft links on
windows
[ https://issues.apache.org/jira/browse/MCLEAN-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16888699#comment-16888699 ]
Josef Cacek commented on MCLEAN-88:
-----------------------------------
The issue was already fixed within the maven-clean-plugin version 2.6.1 ([https://github.com/apache/maven-clean-plugin/commit/134826d28645f0368789f551ceb9febf33c80d38#diff-998b0006022271852f33748908a36728]).
The problem which remains is the default maven-clean-plugin version used in Maven. It is currently the old 2.5 version.
So to use the fixed version within your project you have to specify the plugin version explicitly:
{code:java}
<build>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
</build>
{code}
> Deletes content of soft links on windows
> ----------------------------------------
>
> Key: MCLEAN-88
> URL: https://issues.apache.org/jira/browse/MCLEAN-88
> Project: Maven Clean Plugin
> Issue Type: Bug
> Affects Versions: 3.1.0
> Environment: Windows 10 (1810)
> Reporter: Ron Birk
> Priority: Major
> Labels: up-for-grabs
>
> I have a soft link in a directory. Maven clean plugin not only deletes the link (which is fine), it also deletes all the files inside the soft link, which is a major problem.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)