maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor Burdejny (JIRA)" <>
Subject [jira] (MNG-5321) "IOException: Failed to delete repository.xml while trying to rename" during parallel build
Date Thu, 02 Aug 2012 09:50:21 GMT
Victor Burdejny created MNG-5321:

             Summary: "IOException: Failed to delete repository.xml while trying to rename"
during parallel build
                 Key: MNG-5321
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: General
    Affects Versions: 3.0.3
            Reporter: Victor Burdejny
            Priority: Minor
         Attachments: maven-repository-xml-issue.txt

The following problem has been found in console when parallel build was used (-T command line

[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(
        at org.apache.felix.obrplugin.ObrInstall.execute(
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(

'stderr' contains the following stacktrace: 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(
        at org.apache.felix.obrplugin.ObrUpdate.writeRepositoryXml(

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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message