**/*${pom.currentVersion}.jar

should work, though this is the most bizarre use case I've seen :)

- Brett


On Mon, 18 Oct 2004 14:43:30 +0200, Jeffrey Mutonho <[EMAIL PROTECTED]> wrote:
> Hi
> 
> I wish to copy some non-versioned jars (excluding the versioned ones)
> to a some location and this is what I'm trying and it's not working.
> 
> <copy  todir="${maven.application.lib}">
>         <fileset dir="${maven.repo.local}/${pom.name}/jars" include="*.jar"
> exclude="*${pom.currentVersion}.jar"/>
> </copy>
> 
> Eg if I have Support.jar and Support-1.1.jar  , then Support-1.1.jar
> must be excluded(i.e not copied) .Right now Support.jar and
> Support-1.1.jar are both copied to the destination directory.
> 
> jeff Mutonho
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to