[ 
https://jira.codehaus.org/browse/MDEP-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herve Boutemy updated MDEP-156:
-------------------------------

    Description: 
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:
{code:xml}<dependency>
       <groupId>org.dspace.xmlui.excalibur</groupId>
       <artifactId>excalibur-pool-api</artifactId>
       <version>2.1</version>
 </dependency>{code}

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.



  was:
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.



    
> dependency:analyze mistakenly reports an implemented interface as an unused, 
> declared dependency
> ------------------------------------------------------------------------------------------------
>
>                 Key: MDEP-156
>                 URL: https://jira.codehaus.org/browse/MDEP-156
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: analyze
>    Affects Versions: 2.0
>            Reporter: Elliot Metsger
>
> 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:
> {code:xml}<dependency>
>        <groupId>org.dspace.xmlui.excalibur</groupId>
>        <artifactId>excalibur-pool-api</artifactId>
>        <version>2.1</version>
>  </dependency>{code}
> 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, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to