|[tycho-user] Install plugin could not write metadata error.|
My tycho build has been working flawlessly for over a year. Yesterday I reorganized several projects and am now getting the following intermittent error on several modules in a multi-module build with both 0.15.0 and 0.16.0 and Maven 3.0.4.
Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install) on project com.Ta.DataViewer.doc: Failed to install metadata com.Ta.DataViewer:com.Ta.DataViewer.doc/maven-metadata.xml: Could not write metadata C:\Users\admin\.m2\repository\com\Ta\DataViewer\com.Ta.DataViewer.doc\maven-metadata-local.xml: C:\Users\admin\.m2\repository\com\Ta\DataViewer\com.Ta.DataViewer.doc\maven-metadata-local.xml (The requested operation
cannot be performed on a file with a user-mapped section open)
A project will sometimes build if I delete the corresponding node in the local repository, but it may fail again on rebuild. I have tried setting threads to one, but it didn’t help.
Any insight into the source of the problem, and suggestions on how to resolve it would be greatly appreciated.
Back to the top