You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anders Hammar (JIRA)" <ji...@codehaus.org> on 2014/10/02 07:58:10 UTC

[jira] (MDEP-466) analyze fails on multimodule project (regression)

    [ https://jira.codehaus.org/browse/MDEP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=353569#comment-353569 ] 

Anders Hammar commented on MDEP-466:
------------------------------------

The issue can be reproduced on Mac OS (10.9.5) as well (Maven 3.0.5 and Oracle JDK 1.7.0_51). But the error message is slightly different:
{quote}
Caused by: java.io.FileNotFoundException: /Users/anders/dev/workspace-java-kepler/maven-dependency-plugin/target/it/analyze-multimodule-project/module1/target/classes (Is a directory)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:215)
	at java.util.zip.ZipFile.<init>(ZipFile.java:145)
	at java.util.jar.JarFile.<init>(JarFile.java:153)
	at java.util.jar.JarFile.<init>(JarFile.java:117)
	at org.apache.maven.shared.dependency.analyzer.DefaultProjectDependencyAnalyzer.buildArtifactClassMap(DefaultProjectDependencyAnalyzer.java:150)
	at org.apache.maven.shared.dependency.analyzer.DefaultProjectDependencyAnalyzer.analyze(DefaultProjectDependencyAnalyzer.java:72)
	... 23 more
{quote}

> analyze fails on multimodule project (regression)
> -------------------------------------------------
>
>                 Key: MDEP-466
>                 URL: https://jira.codehaus.org/browse/MDEP-466
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: analyze
>    Affects Versions: 2.9
>         Environment: Windows 7, Maven 3.0.4, IBM JDK 1.6 & Oracle JDK 1.6.0u39
>            Reporter: Anders Hammar
>         Attachments: analyze-multimodule-project.zip
>
>
> The analyze goal fails on multimodule project with access denied when analyzing dependency on sibling module. This worked in v2.8 but fails in v2.9.
> I've attached a test project (created as an IT).



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)