You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2005/09/27 05:03:11 UTC
[jira] Updated: (MNG-784) Bad pom in dependent file produces useless error messages at info level
[ http://jira.codehaus.org/browse/MNG-784?page=all ]
John Casey updated MNG-784:
---------------------------
Remaining Estimate: 2 hours
Original Estimate: 7200
> Bad pom in dependent file produces useless error messages at info level
> -----------------------------------------------------------------------
>
> Key: MNG-784
> URL: http://jira.codehaus.org/browse/MNG-784
> Project: Maven 2
> Type: Bug
> Components: maven-artifact-ant
> Versions: 2.0-alpha-3
> Reporter: Steve Loughran
> Assignee: John Casey
> Fix For: 2.0-beta-3
>
> Original Estimate: 2 hours
> Remaining: 2 hours
>
> If a dependent artifact has a bad pom, this is not displayed at info level, instead all you get is something like
> muse-libraries:
> [m2-libraries] Resolving dependencies...
> BUILD FAILED - at 25/08/05 14:22
> /home/slo/Projects/SmartFrog/Forge/core/components/deployapi/build.xml:102: Unable to resolve artifact
> you need to run at -v level to extract some meaning
> Caused by: org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: Unable to read the metadata file
> at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:88)
> at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:151)
> ... 20 more
> Caused by: org.apache.maven.project.ProjectBuildingException: Failed to validate POM for 'Artifact [directory-naming:naming-java:pom:0.8]'.
> Reason(s):
> [0] 'modelVersion' is missing.
> [1] 'groupId' is missing.
> [2] 'version' is missing.
> at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:439)
> at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:317)
> at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:220)
> at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:81)
> ... 21 more
> Recommend the underlying cause is retained and displayed
--
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org