Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4491

Maven3 reports warnings about POM problems in very spurious way

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.0-alpha-5
    • Fix Version/s: None
    • Component/s: Errors
    • Labels:
      None

      Description

      In relation to issue MNG-4490, Maven3 reported the following on CLI:

      [WARNING] Invalid artifact metadata for org.sonatype.nexus:nexus-proxy:jar:1.4.1-SNAPSHOT, transitive dependencies (if any) will not be available, enable debug logging for more details
      

      This is due to the issue above (the branch i worked on completely revamped the dependencies in aggregator poms, hence the module pom became "invalid", since it contained dependencies that would be "filled in" from dependency management section, but they were not, hence by Maven3 they were considered "invalid").

      What I was thinking, that maybe we should distinguish between "corrupt" POMs in way like:

      • syntactical broken, which is like unparseable POM (usually corrupted during transport or proxy issues)
      • semantically broken – this is what Maven3 tried to tell me – a POM that was not "correct" in validation sense (in this case, depepndency had no "version" declared)

        Attachments

          Activity

            People

            • Assignee:
              bentmann Benjamin Bentmann
              Reporter:
              cstamas Tamás Cservenák

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment