Thanks for response, but this is not working!! Do I need to do some
special configuration for this to work?

Regards,
Seema Neb

-----Original Message-----
From: Allan Ramirez [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 02, 2006 4:40 PM
To: Maven Users List
Subject: Re: Preventing some files in resource directory to get packaged
in the jar

Hi,

You can use <excludes>  from <resources>

<project>    
  ...
  <build> 
    <resources>
      <resource>
        <excludes>
          <exclude>file-to-exclude</exclude>
        </excludes>
      </resource>
    </resources>
  ...
  </build>
</project>

-allan

Seema Neb wrote:

>Hi,
>
> 
>
>I have some configuration files in my resources directory, which I
don't
>want to package in the jar. And I don't want to put these files in any
>other directory. I am using Maven 2.0.2. Does anyone have an idea how
to
>do this? 
>
> 
>
>Thanks in advance.
>
>Seema
>
>
>  
>


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

Reply via email to