On Tue, Nov 17, 2009 at 6:19 AM, Gavin King <gavin.king@gmail.com> wrote:
We also have one in the wicket war.

The standard behavior for Maven is to add its own properties file into the artifact containing buildtime information.

Max will be happy when I say that there is a stackoverflow.com answer to this question:

http://stackoverflow.com/questions/1477587/how-to-exclude-pom-xml-from-maven-generated-war

One suggestion is this config, but in a quick test it didn't work for me.
<project>
  ...
 
<build>
   
<plugins>
     
<plugin>
       
<groupId>org.apache.maven.plugins</groupId>
       
<artifactId>maven-war-plugin</artifactId>
       
<version>2.0</version>
       
<configuration>
         
<archive>
           
<addMavenDescriptor>false</addMavenDescriptor>
         
</archive>
       
</configuration>
     
</plugin>
      ...
   
</plugins>
 
</build>
  ...
</project>
-Dan

--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597

http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://www.google.com/profiles/dan.j.allen