Maven Project Info Reports Plugin
  1. Maven Project Info Reports Plugin
  2. MPIR-99

Strange warnings when generating Plugin Management report

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: plugin-management
    • Labels:
      None
    • Number of attachments :
      1

      Description

      When running 'mvn site' on MPIR itself I get the following warnings during the build:

      [INFO] Generating "Plugin Management" report.
      [WARNING] Attempting to build MavenProject instance for Artifact (org.apache.maven.plugins:maven-clean-plugin:2.2) of type: maven-plugin; constructing POM artifact instead.
      [WARNING] Attempting to build MavenProject instance for Artifact (org.apache.maven.plugins:maven-deploy-plugin:2.3) of type: maven-plugin; constructing POM artifact instead.
      [WARNING] Attempting to build MavenProject instance for Artifact (org.apache.maven.plugins:maven-gpg-plugin:1.0-alpha-4) of type: maven-plugin; constructing POM artifact instead.
      [WARNING] Attempting to build MavenProject instance for Artifact (org.apache.maven.plugins:maven-install-plugin:2.2) of type: maven-plugin; constructing POM artifact instead.
      [WARNING] Attempting to build MavenProject instance for Artifact (org.apache.maven.plugins:maven-jar-plugin:2.2) of type: maven-plugin; constructing POM artifact instead.
      [WARNING] Attempting to build MavenProject instance for Artifact (org.apache.maven.plugins:maven-javadoc-plugin:2.4) of type: maven-plugin; constructing POM artifact instead.
      [WARNING] Attempting to build MavenProject instance for Artifact (org.apache.maven.plugins:maven-release-plugin:2.0-beta-7) of type: maven-plugin; constructing POM artifact instead.
      [WARNING] Attempting to build MavenProject instance for Artifact (org.apache.maven.plugins:maven-source-plugin:2.0.4) of type: maven-plugin; constructing POM artifact instead.
      [WARNING] Attempting to build MavenProject instance for Artifact (org.apache.maven.plugins:maven-surefire-plugin:2.4.2) of type: maven-plugin; constructing POM artifact instead.
      

      If there is nothing wrong with the POM or its plugins, there should not be any warnings issued. On the other hand, if there is something wrong, then a hint to how the problem can be solved should be included in the warning.

      1. MPIR-99.patch
        0.9 kB
        Vincent Siveton

        Issue Links

          Activity

          Hide
          Vincent Siveton added a comment -

          Using createParentArtifact instead of createPluginArtifact

          Show
          Vincent Siveton added a comment - Using createParentArtifact instead of createPluginArtifact
          Hide
          Dennis Lundberg added a comment -

          The patch solved this issue.

          Patch applied in r658461. Thanks!

          Show
          Dennis Lundberg added a comment - The patch solved this issue. Patch applied in r658461. Thanks!

            People

            • Assignee:
              Dennis Lundberg
              Reporter:
              Dennis Lundberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: