Dependencies without POMs cause intermittent failures
-----------------------------------------------------
Key: MNG-2049
URL: http://jira.codehaus.org/browse/MNG-2049
Project: Maven 2
Type: Bug
Components: Artifacts and Repositories
Versions: 2.0.2
Reporter: Matthew Beermann
We have a number of jars in our repository that don't have POMs, e.g.
third-party libraries, etc. Maven happily downloads the jar anyway, and issues
a warning that there's no POM - except, sometimes, it just fails instead. See
the build log below. If I were to rerun Maven again, it might fail on a
different jar, or it might succeed. I can't seem to find any rhyme or reason to
it...
I agree that a missing POM merits a warning, but if the jar is there, it
shouldn't be failing the build!
Downloading: http://prdwebdev11/repository/j2ee/j2ee/1.3.1/j2ee-1.3.1.pom
[WARNING] Unable to get resource from repository prdwebdev11
(http://prdwebdev11/repository)
Downloading: http://repo1.maven.org/maven2/j2ee/j2ee/1.3.1/j2ee-1.3.1.pom
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: j2ee:j2ee
Reason: Error getting POM for 'j2ee:j2ee' from the repository: Error
transferring file
j2ee:j2ee:pom:1.3.1
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
prdwebdev11 (http://prdwebdev11/repository)
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]