Unable to determine the release version on parallel execution
-------------------------------------------------------------
Key: MARTIFACT-36
URL: http://jira.codehaus.org/browse/MARTIFACT-36
Project: Maven Artifact
Issue Type: Bug
Environment: CentOS, Maven 2.1.0
Reporter: Patrik Kleindl
We are building maven projects from Hudson with several workers.
When two projects with the same parent (with version set to RELEASE) are built
at the exact same time then both fail with:
[INFO] Failed to resolve artifact.
GroupId: com.***
ArtifactId: ***
Version: RELEASE
Reason: Unable to determine the release version
***:pom:RELEASE
-----------------------------
Known workarounds:
- Start some seconds apart
- Using explicit version instead of RELEASE
It's not 100% reproducible but happens often enough to be annoying. When we had
a larger number of projects using RELEASE this happened quite often.
I will try to catch it in DEBUG mode, although this seems to affected the
timing of the access.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira