jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Mojo C Builds
  • CBUILDS-25

mvn clean - will not delete target directory with symbolic links

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0-alpha-4, 1.0-alpha-5
  • Fix Version/s: 1.0-alpha-5
  • Component/s: Cleanup Items
  • Labels:
    None

Description

mvn clean will not delete the target directory if the directory has symbolic links in it

Issue Links

depends upon

Bug - A problem which impairs or prevents the functions of the product. MCLEAN-28 maven-clean-plugin doesn't delete directories with symlinks in them

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Lee Thompson added a comment - 13/Sep/08 8:27 PM

Fixed with maven-clean-plugin 2.3 which isn't released yet

Show
Lee Thompson added a comment - 13/Sep/08 8:27 PM Fixed with maven-clean-plugin 2.3 which isn't released yet
Hide
Permalink
Lee Thompson added a comment - 03/Oct/08 12:04 AM - edited

Closing this issue since the plugins themselves are all pure java with no symbolic links. With that, "mvn clean" works when developing the plugins.

When using the plugins is when you run into trouble. The solution is in your project's pom include this line

<plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-clean-plugin</artifactId>
          <version>2.3-SNAPSHOT</version>
        </plugin>

and all will be good.

Show
Lee Thompson added a comment - 03/Oct/08 12:04 AM - edited Closing this issue since the plugins themselves are all pure java with no symbolic links. With that, "mvn clean" works when developing the plugins. When using the plugins is when you run into trouble. The solution is in your project's pom include this line
<plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-clean-plugin</artifactId>
          <version>2.3-SNAPSHOT</version>
        </plugin>
and all will be good.

People

  • Assignee:
    Lee Thompson
    Reporter:
    Lee Thompson
Vote (0)
Watch (0)

Dates

  • Created:
    13/Sep/08 8:26 PM
    Updated:
    06/Oct/08 8:18 PM
    Resolved:
    03/Oct/08 12:04 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.