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

java.lang.ArrayIndexOutOfBoundsException: 1 - Empty POM Project

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Not A Bug
    • Affects Version/s: 2.3.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      MacBook Pro MacOSX
      Maven 2.2.1
      Java 1.6.0_22
    • Testcase included:
      yes
    • Number of attachments :
      3

      Description

      Creating a website using an empty project results in a ArrayIndexOutOfBoundsException.

      Using the attached pom and command line below, triggers the error.

      $ mvn -N clean site

      1. error.log
        5 kB
        John Patrick
      2. pom.xml
        0.8 kB
        John Patrick
      3. pom.xml
        0.8 kB
        John Patrick

        Issue Links

          Activity

          Hide
          Dennis Lundberg added a comment -

          Your attached POM doesn't contain a <version> element for the MPIR Plugin. Are you sure that you are using version 2.3.1?

          Show
          Dennis Lundberg added a comment - Your attached POM doesn't contain a <version> element for the MPIR Plugin. Are you sure that you are using version 2.3.1?
          Hide
          John Patrick added a comment -

          Yes I'm sure, I deleted "~/.m2/repository/org/apache/maven/plugins/maven-project-info-reports-plugin/" and retried and only 2.3.1 existed.

          I've just retested with a pom that defined version 2.3.1 and I get the same issue.

          Show
          John Patrick added a comment - Yes I'm sure, I deleted "~/.m2/repository/org/apache/maven/plugins/maven-project-info-reports-plugin/" and retried and only 2.3.1 existed. I've just retested with a pom that defined version 2.3.1 and I get the same issue.
          Hide
          Lukas Theussl added a comment -

          Use site plugin >= 2.1

          Show
          Lukas Theussl added a comment - Use site plugin >= 2.1

            People

            • Assignee:
              Lukas Theussl
              Reporter:
              John Patrick
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: