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/02/01 17:26:54 UTC

RE: plugin:install fails

Just checked MAVEN_HOME/lib; it has ant-1.5.3.1.jar.

Sri

-----Original Message-----
From: Brett Porter [mailto:bporter@f2network.com.au] 
Sent: Friday, January 30, 2004 4:49 PM
To: 'Maven Users List'
Subject: RE: plugin:install fails

How recent is your CVS checkout of RC2? You'll need a clean bootstrap, as I
have rolled back from ant-1.6 in MAVEN_HOME/lib to ant-1.5.3-1, as 1.6 was
causing problems like this.

- Brett

> -----Original Message-----
> From: Sri Sankaran [mailto:Sri.Sankaran@sas.com] 
> Sent: Saturday, 31 January 2004 2:14 AM
> To: Maven Users @ Apache
> Subject: 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
> 

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