10x, but as I mentioned earlier, I already added it to pom.xml but it didn't work.
My pom.xml looks something like
<build>
   <plugins>
           <plugin>
               <artifactId>maven-war-plugin</artifactId>
               <version>2.0-alpha-3</version>
               <configuration>
<excludes>**/CVS,CVS/**,**/CVS/**,**/.cvsignore</excludes>
               </configuration>
           </plugin>
            ....


Emmanuel Venisse wrote:

configure war plugin with :

<configuration>
  <excludes>**/CVS,CVS/**,**/CVS/**,**/.cvsignore</excludes>
</configuration>

Emmanuel

Zachi Hazan wrote:

Hi,
I just downloaded alpha 3 and its profiles are great, Well Done !!

How can I exclude files from the war?

I have tried to configure war plugging using <configuration><excludes>... but it didn't work.

I also tried to configure resources also, but still not luck ;(
<build>
   <resources>
     <resource>
       <directory>src/main/resources</directory>
       <excludes>
           <exclude>**/CVS</exclude>
           <exclude>CVS/**</exclude>
           <exclude>**/CVS/**</exclude>
           <exclude>**/.cvsignore</exclude>
       </excludes>
     </resource>
       </resources>
   ....

---------------------------------------------------------------------
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]

Reply via email to