You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Julien HENRY (JIRA)" <ji...@codehaus.org> on 2010/12/22 10:37:58 UTC
[jira] Created: (MPIR-214) IOException when generating dependency
report in a multi-module build
IOException when generating dependency report in a multi-module build
---------------------------------------------------------------------
Key: MPIR-214
URL: http://jira.codehaus.org/browse/MPIR-214
Project: Maven 2.x Project Info Reports Plugin
Issue Type: Bug
Components: dependencies
Affects Versions: 2.3.1
Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100)
Java version: 1.6.0_20
Java home: D:\Julien\jdk1.6.0_20\jre
Default locale: fr_FR, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
Reporter: Julien HENRY
Running mvn clean site on my project produce the following error:
{code}
[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)
{code}
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MPIR-214) IOException when generating dependency
report in a multi-module build
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPIR-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249516#action_249516 ]
Lukas Theussl commented on MPIR-214:
------------------------------------
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.
> IOException when generating dependency report in a multi-module build
> ---------------------------------------------------------------------
>
> Key: MPIR-214
> URL: http://jira.codehaus.org/browse/MPIR-214
> Project: Maven 2.x Project Info Reports Plugin
> Issue Type: Bug
> Components: dependencies
> Affects Versions: 2.3.1
> Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100)
> Java version: 1.6.0_20
> Java home: D:\Julien\jdk1.6.0_20\jre
> Default locale: fr_FR, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> Reporter: Julien HENRY
>
> Running mvn clean site on my project produce the following error:
> {code}
> [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)
> {code}
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MPIR-214) IOException when generating dependency
report in a multi-module build
Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPIR-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy updated MPIR-214:
-------------------------------
Fix Version/s: 2.4
> IOException when generating dependency report in a multi-module build
> ---------------------------------------------------------------------
>
> Key: MPIR-214
> URL: http://jira.codehaus.org/browse/MPIR-214
> Project: Maven 2.x Project Info Reports Plugin
> Issue Type: Bug
> Components: dependencies
> Affects Versions: 2.3.1
> Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100)
> Java version: 1.6.0_20
> Java home: D:\Julien\jdk1.6.0_20\jre
> Default locale: fr_FR, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> Reporter: Julien HENRY
> Fix For: 2.4
>
> Attachments: bug dependency.PNG
>
>
> Running mvn clean site on my project produce the following error:
> {code}
> [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)
> {code}
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MPIR-214) IOException when generating dependency
report in a multi-module build
Posted by "Julien HENRY (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPIR-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julien HENRY updated MPIR-214:
------------------------------
Attachment: bug dependency.PNG
Look at the attached screenshot. This is an extract of the "Dependency File Details" section.
> IOException when generating dependency report in a multi-module build
> ---------------------------------------------------------------------
>
> Key: MPIR-214
> URL: http://jira.codehaus.org/browse/MPIR-214
> Project: Maven 2.x Project Info Reports Plugin
> Issue Type: Bug
> Components: dependencies
> Affects Versions: 2.3.1
> Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100)
> Java version: 1.6.0_20
> Java home: D:\Julien\jdk1.6.0_20\jre
> Default locale: fr_FR, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> Reporter: Julien HENRY
> Attachments: bug dependency.PNG
>
>
> Running mvn clean site on my project produce the following error:
> {code}
> [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)
> {code}
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MPIR-214) IOException when generating dependency
report in a multi-module build
Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPIR-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy closed MPIR-214.
------------------------------
Resolution: Fixed
Assignee: Herve Boutemy
fixed in [r1103555|http://svn.apache.org/viewvc?rev=1103555&view=rev]
> IOException when generating dependency report in a multi-module build
> ---------------------------------------------------------------------
>
> Key: MPIR-214
> URL: http://jira.codehaus.org/browse/MPIR-214
> Project: Maven 2.x Project Info Reports Plugin
> Issue Type: Bug
> Components: dependencies
> Affects Versions: 2.3.1
> Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100)
> Java version: 1.6.0_20
> Java home: D:\Julien\jdk1.6.0_20\jre
> Default locale: fr_FR, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> Reporter: Julien HENRY
> Assignee: Herve Boutemy
> Fix For: 2.4
>
> Attachments: bug dependency.PNG
>
>
> Running mvn clean site on my project produce the following error:
> {code}
> [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)
> {code}
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira