[ 
http://jira.codehaus.org/browse/MRPM-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253681#action_253681
 ] 

Marcel Dullaart commented on MRPM-93:
-------------------------------------

Thanks, Brett, moving the clean plugin to version 2.4.1 did the trick.

> maven clean fails with symbolic links
> -------------------------------------
>
>                 Key: MRPM-93
>                 URL: http://jira.codehaus.org/browse/MRPM-93
>             Project: Mojo RPM Plugin
>          Issue Type: Bug
>          Components: rpm
>    Affects Versions: 2.0.1
>         Environment: SUSE Linux Enterprise Server 11 (x86_64)
> Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_20
>            Reporter: Marcel Dullaart
>            Assignee: Brett Okken
>
> After a successful build of the rpm, there's a symbolic link created in 
> target/rpm/ads/buildroot/usr/local/myapp to 
> target/rpm/ads/buildroot/usr/local/myapp-1.2.3-SNAPSHOT.
> Then running mvn clean fails because it was not able to delete the symbolic 
> link.
> Examing the contents of target/rpm/ads/buildroot/usr/local shows the 
> following list:
> drwxr-xr-x 2 username usergroup 1024 Jan 19 10:05 ./
> drwxr-xr-x 3 username usergroup 1024 Jan 19 09:54 ../
> lrwxrwxrwx 1 username usergroup   18 Jan 19 09:54 myapp -> 
> myapp-2.5.0-SNAPSHOT
> Its seems to me that the target is removed before the link, which results in 
> maven not being able to remove the link.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to