You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nathan Coast <na...@codeczar.com> on 2003/09/15 06:08:24 UTC

plugin dependencies

Hi

I have a plugin that uses 3rd party classes.  How do I make these 
classes available to the plugin?  I'm getting a NoClassDefFoundError 
when calling targets within the plugin.

I'm calling the 3rd party classes like this:
<ant:java classname="weblogic.Deployer" fork="true">
   <arg>blah blah........

I have this element in the plugin's project.xml

     <dependency>
       <id>weblogic</id>
       <version>8.1</version>
         <properties>
             <classloader>root</classloader>
         </properties>
     </dependency>

cheers
Nathan




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


Re: plugin dependencies

Posted by di...@multitask.com.au.
Use the ant:java nested classpath.

That makes things easier.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


Nathan Coast <na...@codeczar.com> wrote on 15/09/2003 02:08:24 PM:

> Hi
> 
> I have a plugin that uses 3rd party classes.  How do I make these 
> classes available to the plugin?  I'm getting a NoClassDefFoundError 
> when calling targets within the plugin.
> 
> I'm calling the 3rd party classes like this:
> <ant:java classname="weblogic.Deployer" fork="true">
>    <arg>blah blah........
> 
> I have this element in the plugin's project.xml
> 
>      <dependency>
>        <id>weblogic</id>
>        <version>8.1</version>
>          <properties>
>              <classloader>root</classloader>
>          </properties>
>      </dependency>
> 
> cheers
> Nathan
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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