Dan Diephouse <[EMAIL PROTECTED]> wrote on 15/11/2002 06:21:01 
AM:

> Hi, I'm trying to write some jelly code in my maven.xml file that uses 
> the Axis ant tasks.  Whenever I run it, it has classpath issues.  But, I 

> believe I correctly defined the xml jars in my project.xml files.  The 
> problem is this.  When I run the ant task from ant with the same 
> classpath, it works.  But, through maven with the same jars, it doesn't. 

>  I'm using Maven HEAD.
> 
> If anyone has any insights into what I'm missing here, I'd appreciate 
them.
> 
> Thanks,
> 
> Dan Diephouse
> 
> My xml dependencies:
> <!-- XML Jars -->
>     <dependency>
>       <id>xerces</id>
>       <version>2.0.2</version>
>     </dependency>
>     <dependency>
>       <id>xml-apis</id>
>       <version>1.0.b2</version>
>     </dependency>

Can you try doing it this way:
     <dependency>
       <id>xerces</id>
       <version>2.0.2</version>
      <properties>
        <classloader>root.maven</classloader>
      </properties>
     </dependency>

For both deps?
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers


--
To unsubscribe, e-mail:   <mailto:turbine-maven-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-maven-user-help@;jakarta.apache.org>

Reply via email to