[
https://jira.codehaus.org/browse/MINSTALL-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=351754#comment-351754
]
Karl-Heinz Marbaise commented on MINSTALL-54:
---------------------------------------------
Hm...I would say it's not wise to share a common local repository from two
Jenkins jobs which makes them in consequence no longer independent. Furthermore
as far as i know is Maven not designed to handle concurrent access to the same
local repository...May be i miss a thing here...
> [INFO] Error installing artifact's metadata
> -------------------------------------------
>
> Key: MINSTALL-54
> URL: https://jira.codehaus.org/browse/MINSTALL-54
> Project: Maven Install Plugin
> Issue Type: Bug
> Components: install:install
> Affects Versions: 2.2
> Environment: Windows XP
> Reporter: geoff simpson
> 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
(v6.1.6#6162)