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

IOException when generating dependency report in a multi-module build

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.4
    • Component/s: dependencies
    • Labels:
      None
    • Environment:
    • Number of attachments :
      1

      Description

      Running mvn clean site on my project produce the following error:

      [ERROR] IOException: D:\Projects\jwebunit\jwebunit-commons-tests\target\classes (Acces denied)
      java.io.FileNotFoundException: D:\Projects\jwebunit\jwebunit-commons-tests\target\classes (Acces denied)
              at java.util.zip.ZipFile.open(Native Method)
              at java.util.zip.ZipFile.<init>(ZipFile.java:114)
              at java.util.jar.JarFile.<init>(JarFile.java:135)
              at java.util.jar.JarFile.<init>(JarFile.java:99)
              at org.apache.maven.shared.jar.JarAnalyzer.<init>(JarAnalyzer.java:105)
              at org.apache.maven.report.projectinfo.dependencies.Dependencies.getJarDependencyDetails(Dependencies.java:273)
              at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.hasSealed(DependenciesRenderer.java:1374)
              at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionDependencyFileDetails(DependenciesRenderer.java:544)
              at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderBody(DependenciesRenderer.java:271)
      

      It doesn't prevent the build to complete.

      You can reproduce on the project:
      https://jwebunit.svn.sourceforge.net/svnroot/jwebunit/trunk

      Build instructions (need toolchains):
      http://jwebunit.sourceforge.net/building-maven.html#Installing_Maven

      Running mvn clean project-info-reports:dependencies works fine so I guess there is a bad interaction with another report.

        Issue Links

          Activity

          Hide
          Lukas Theussl added a comment -

          What exactly is the bug? Is there something missing in the report? This is just an exception that is caught and logged in error mode but I see no bug here.

          Show
          Lukas Theussl added a comment - What exactly is the bug? Is there something missing in the report? This is just an exception that is caught and logged in error mode but I see no bug here.
          Hide
          Julien HENRY added a comment -

          Look at the attached screenshot. This is an extract of the "Dependency File Details" section.

          Show
          Julien HENRY added a comment - Look at the attached screenshot. This is an extract of the "Dependency File Details" section.
          Hide
          Herve Boutemy added a comment -

          fixed in r1103555

          Show
          Herve Boutemy added a comment - fixed in r1103555

            People

            • Assignee:
              Herve Boutemy
              Reporter:
              Julien HENRY
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: