[ 
https://issues.apache.org/jira/browse/MINSTALL-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16652371#comment-16652371
 ] 

Dan Armbrust commented on MINSTALL-54:
--------------------------------------

I have run across this, in researching this issue - will be testing it out 
myself:
[http://takari.io/book/30-team-maven.html#concurrent-safe-local-repository]

No idea why this code has to be outside of core maven:  
[https://github.com/takari/takari-local-repository]

rather than just being merged into maven, to fix the problem for everyone....

> [INFO] Error installing artifact's metadata
> -------------------------------------------
>
>                 Key: MINSTALL-54
>                 URL: https://issues.apache.org/jira/browse/MINSTALL-54
>             Project: Maven Install Plugin
>          Issue Type: Bug
>          Components: install:install
>    Affects Versions: 2.2
>         Environment: Windows XP
>            Reporter: Geoff Simpson
>            Priority: Major
>         Attachments: minstall-54-error-install-artifact.patch
>
>
> {noformat}
> [INFO] Error installing artifact's metadata: Error installing metadata: Error 
> updating group repository metadata
> end tag not allowed in epilog but got / (position: END_TAG seen ...\n
> {noformat}
> Looks like there might be an issue with updates to 
> {{maven-metadata-local.xml}} during the {{mvn install}} task. we have a build 
> server that is multi threaded. we often see this in the 
> {code:xml}
> </versioning>
> </metadata>
> </metadata>
> {code}
> {{maven-metadata-local.xml}}.
> maybe a solution is to add {{maven-metadata-local.xml.lock}} to ensure two 
> threads don't update the file at the same time



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to