You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliot Metsger (JIRA)" <ji...@codehaus.org> on 2008/03/26 23:39:58 UTC
[jira] Commented: (MDEP-156) dependency:analyze mistakenly reports
an implemented interface as an unused, declared dependency
[ http://jira.codehaus.org/browse/MDEP-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=128807#action_128807 ]
Elliot Metsger commented on MDEP-156:
-------------------------------------
Let me dig into this a little more and I'll report back. The pom in question has a lot of stuff in it, and in my local working copy it is modified - different from - the link given in the description. So I'll dig more and if i need to i'll attach it.
> dependency:analyze mistakenly reports an implemented interface as an unused, declared dependency
> ------------------------------------------------------------------------------------------------
>
> Key: MDEP-156
> URL: http://jira.codehaus.org/browse/MDEP-156
> Project: Maven 2.x Dependency Plugin
> Issue Type: Bug
> Components: analyze
> Affects Versions: 2.0
> Reporter: Elliot Metsger
> Assignee: Brian Fox
>
> When executing dependency:analyze on my project, analyze mistakenly identifies a compile time dependency as unused.
> When I remove the dependency from the POM, the compile fails. When I add it back in the compile succeeds.
> The POM in question is located at:
> http://dspace.svn.sourceforge.net/svnroot/dspace/branches/dspace-1_5_x/dspace-xmlui/dspace-xmlui-wing/pom.xml
> The artifact that is mistakenly identified as "declared but unused" is:
> <dependency>
> <groupId>org.dspace.xmlui.excalibur</groupId>
> <artifactId>excalibur-pool-api</artifactId>
> <version>2.1</version>
> </dependency>
> The compile fails like so:
> /Users/esm/idea/workspace/dspace-1.5.x/dspace-xmlui/dspace-xmlui-wing/src/main/java/org/dspace/app/xmlui/wing/AbstractWingTransformer.java:[68,16] cannot access org.apache.avalon.excalibur.pool.Recyclable
> file org/apache/avalon/excalibur/pool/Recyclable.class not found
> public abstract class AbstractWingTransformer extends AbstractTransformer
> org.apache.avalon.excalibur.pool.Recyclable is an interface implemented by org.dspace.app.xmlui.wing.BitstreamReader and org.dspace.app.xmlui.cocoon.DSpaceFeedGenerator.
--
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