[
http://jira.codehaus.org/browse/MRPM-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Okken closed MRPM-93.
---------------------------
Resolution: Not A Bug
That is almost certainly an issue with the maven-clean-plugin, not this plugin.
I have seen similar issues in the past caused by MCLEAN-28. I got around this
by specifying the 2.3 version of the maven-clean-plugin.
> 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