Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.0
-
None
-
None
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:
<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.