hi
   just use <excludes>
                      <exclude> </eclude>
               </exclude>

tag in resource to exclude any resource

Regards
Neeraj


On 10/6/06, Ian Brandt <[EMAIL PROTECTED]> wrote:


Hi,

<
http://maven.apache.org/guides/getting-started/index.html#How%20do%20add%20resources%20to%20my%20JAR?
>
nicely explains how to include resources in a Jar.  Is there a way
exclude them?

I have a couple .properties files that I'd like to have available in
my distribution assembly outside of the Jar, so they can be modified
by the end user without repacking.  I do still want them copied and
filtered into my target/classes directory, so they'll be available on
the classpath during debugging, which appears to rule out
<resource><excludes>.  (I'm open to alternative strategies.)  Instead
of being packed in the Jar I'd like to copy them to the ./lib dir of
my distribution assembly.

Thanks,

Ian

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


Reply via email to