Uploaded image for project: 'Maven Project Info Reports Plugin'
  1. Maven Project Info Reports Plugin
  2. MPIR-313

License name is mandatory but it is not validated

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

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7
    • 2.8
    • None

    Description

      In an internal project we had a license defined in the pom.xml but without url and name.

      This causes an exception which does not say anything about the fact that these required elements are missing. See attached file with the complete exception.

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project jee-util: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.3:site failed: Anchor name cannot be null! -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project jee-util: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.3:site failed: Anchor name cannot be null!
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
      

      Attachments

        1. fix_MPIR-313.patch
          0.9 kB
          Constantino Cronemberger
        2. pom.xml
          1 kB
          Constantino Cronemberger
        3. exception.txt
          4 kB
          Constantino Cronemberger

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            michael-o Michael Osipov
            ccronemberger Constantino Cronemberger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment