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

Maven3 reports warnings about POM problems in very spurious way

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.0-alpha-5
    • None
    • Errors
    • 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

            bentmann Benjamin Bentmann
            cstamas Tamas Cservenak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: