You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sri Sankaran <Sr...@sas.com> on 2004/01/30 16:14:24 UTC

plugin:install fails

Using: Maven 1.0 rc2
Problem: plugin:install fails with a 

  taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found

error even though the plugin doesn't (directly) use this class.

Scenario:
I have written a plugin (let's call it plugin-A) that runs the Xdoclet's EJBDoclet task.  

Plugin-A:
  <goal name="pluginA:doEJB">
    <taskdef ...>
    ...
  </goal>

This plug-in installs & works flawlessly.

Now, I have a second plug-in (plugin-B) which has a goal that invokes pluginA:doEJB.  

Plugin-B:
  <goal name="plugin-B:someGoal">
    ...
    <attainGoal name="plugin-A:doEJB"/>
    ..
  </goal>

When I try to install this plugin-B I get following error

BUILD FAILED
File...... file:/C:/Documents and Settings/srsank/.maven/plugins/plugin-A-1.0/
Element... taskdef
Line...... 20
Column.... 77
taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
Total time: 10 seconds
Finished at: Fri Jan 30 10:12:28 EST 2004

Completely duplicating all of plugin-A's dependencies in plugin-B's POM didn't cure it.

Any thoughts?  

Sri


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org