You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Walco van Loon <wa...@n--tree.net> on 2006/02/23 13:38:51 UTC
Exclude patterns for resources
Hi List,
Is it possible to specify exclude patterns for *any* resource in a
project? So, in meaning equivalent to this, but without having to
specify the <directory> element for each resource type present.
<resources>
<resource>
<directory>src/main/java</directory>
<excludes>
<exclude>**/.copyarea.db</exclude>
</excludes>
</resource>
</resources>
TIA,
Cheers,
Walco
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Exclude patterns for resources
Posted by Mang Jun Lau <Ma...@otpp.com>.
So you just want to exclude this particular .db file but within
various/all places in the project? If so then you can specify ${basedir}
between the <directory> tags.
_Mang Lau
"Walco van Loon" <wa...@n--tree.net>
02/23/2006 07:38 AM
Please respond to
"Maven Users List" <us...@maven.apache.org>
To
users@maven.apache.org
cc
Subject
Exclude patterns for resources
Hi List,
Is it possible to specify exclude patterns for *any* resource in a
project? So, in meaning equivalent to this, but without having to
specify the <directory> element for each resource type present.
<resources>
<resource>
<directory>src/main/java</directory>
<excludes>
<exclude>**/.copyarea.db</exclude>
</excludes>
</resource>
</resources>
TIA,
Cheers,
Walco
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org