You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Matt Coarr <mc...@mitre.org> on 2003/10/01 23:25:28 UTC

ant mappers in maven plugins; where to put regexp library?

Hi,

I'm using ant fileset mappers inside of a maven plugin.  This requires 
that a regular expression library be available.  (either jakarta regexp 
or jakarta ORO)

When I was doing this in ant, this could just be placed in the ant lib 
directory.

What is the best means of getting maven to pick up this libary?  I tried 
adding this to the the dependency list for the plugin, but that didn't help.

My target envioronment is j2sdk 1.3.  FWIW, this works in j2sdk 1.4 
since the regular expression package is bundled.  So I could always add 
this to maven's classpath or to the lib/ext for the jre environment.  
But I'd prefer to do this in a more configurable fashion.

Thanks for the help,
Matt



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


Re: ant mappers in maven plugins; where to put regexp library?

Posted by matt <jo...@whitesmiths.com.au>.
When you added it to the dependency list, did you try including:

<dependency>
...
  <properties>
    <classloader>root</classloader>
  </properties>
...
</dependency>


Matt

Matt Coarr wrote:

> Hi,
>
> I'm using ant fileset mappers inside of a maven plugin.  This requires 
> that a regular expression library be available.  (either jakarta 
> regexp or jakarta ORO)
>
> When I was doing this in ant, this could just be placed in the ant lib 
> directory.
>
> What is the best means of getting maven to pick up this libary?  I 
> tried adding this to the the dependency list for the plugin, but that 
> didn't help.
>
> My target envioronment is j2sdk 1.3.  FWIW, this works in j2sdk 1.4 
> since the regular expression package is bundled.  So I could always 
> add this to maven's classpath or to the lib/ext for the jre 
> environment.  But I'd prefer to do this in a more configurable fashion.
>
> Thanks for the help,
> Matt
>
>
>
> ---------------------------------------------------------------------
> 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


Re: ant mappers in maven plugins; where to put regexp library?

Posted by di...@multitask.com.au.
Either put it in MAVEN_HOME/lib or add it as a dependency with a 

<properties><classloader>root</classloader></properties>


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


Matt Coarr <mc...@mitre.org> wrote on 02/10/2003 07:25:28 AM:

> Hi,
> 
> I'm using ant fileset mappers inside of a maven plugin.  This requires 
> that a regular expression library be available.  (either jakarta regexp 
> or jakarta ORO)
> 
> When I was doing this in ant, this could just be placed in the ant lib 
> directory.
> 
> What is the best means of getting maven to pick up this libary?  I tried 

> adding this to the the dependency list for the plugin, but that didn't 
help.
> 
> My target envioronment is j2sdk 1.3.  FWIW, this works in j2sdk 1.4 
> since the regular expression package is bundled.  So I could always add 
> this to maven's classpath or to the lib/ext for the jre environment. 
> But I'd prefer to do this in a more configurable fashion.
> 
> Thanks for the help,
> Matt
> 
> 
> 
> ---------------------------------------------------------------------
> 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