You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stuart McCulloch (JIRA)" <ji...@apache.org> on 2013/06/07 19:34:23 UTC
[jira] [Resolved] (FELIX-3619) "IOException: Failed to delete
repository.xml while trying to rename" in maven-bundle-plugin
[ https://issues.apache.org/jira/browse/FELIX-3619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart McCulloch resolved FELIX-3619.
-------------------------------------
Resolution: Fixed
Fixed in r1490744
> "IOException: Failed to delete repository.xml while trying to rename" in maven-bundle-plugin
> --------------------------------------------------------------------------------------------
>
> Key: FELIX-3619
> URL: https://issues.apache.org/jira/browse/FELIX-3619
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-2.3.6
> Reporter: Victor Burdejny
> Priority: Minor
> Fix For: maven-bundle-plugin-2.4.0
>
> Attachments: maven-repository-xml-issue.txt
>
>
> The following problem has been found in console when parallel build was used (-T command line parameter):
> [INFO] — maven-bundle-plugin:2.3.6:install (default-install) @ my-bundle —
> [WARNING] Exception while updating local OBR: IOException
> org.apache.maven.plugin.MojoExecutionException: IOException
> at org.apache.felix.obrplugin.ObrUpdate.writeRepositoryXml(ObrUpdate.java:293)
> at org.apache.felix.obrplugin.ObrInstall.execute(ObrInstall.java:149)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> ...
> 'stderr' contains the following stacktrace:
> java.io.IOException: Failed to delete c:\.m2\repository.xml while trying to rename C:\Users\User\AppData\Local\Temp\repository8243840781003249024.xml
> at org.codehaus.plexus.util.FileUtils.rename(FileUtils.java:2128)
> at org.apache.felix.obrplugin.ObrUpdate.writeRepositoryXml(ObrUpdate.java:288)
> ...
> Full stacktraces are provided in the attachment.
> I did not find any problems that it causes for the build, but I suspect that such problems might exist. The problem itself is (I suspect) a trivial race condition.
> Cloned from http://jira.codehaus.org/browse/MNG-5321
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira