If I may ask, why do you want to exclude things in the images
subdirectory? If they aren't part of your real build, then they probably
shouldn't be there in the first place. My point being that there may be
another way to solve your problem.
youhaodeyi wrote:
Hi,
This doesn't work either.
But this works:
<exclude>**/images/**</exclude>
I don't want to use this because it will exclude my source code which have
the package including images.
Nick Stolwijk-4 wrote:
Try:
<exclude>src/main/resources/images/*</exclude>
<exclude>src/main/resources/images/**/*</exclude>
Hth,
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
On Wed, Oct 22, 2008 at 5:02 PM, youhaodeyi <[EMAIL PROTECTED]> wrote:
I added the extra level of wildcard, but it the files under images
directory
are copied into the jar file too. It seems that this doesn't work.
dchicks wrote:
I think you want an extra level of wildcard on the end of that.
<exclude>src/main/resources/images/**/*</exclude>
youhaodeyi wrote:
I use want to exclude all the directories and files under images
directory:
<exclude>src/main/resources/images/**</exclude>
But it doesn't work. How can I use wildcard in this case?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/How-to-use-wildcard-to-match-all-the-sub-directories-and-files--tp20112204p20112718.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]