geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r512666 - /geronimo/server/trunk/pom.xml
Date Wed, 28 Feb 2007 08:53:09 GMT
Author: jdillon
Date: Wed Feb 28 00:53:08 2007
New Revision: 512666

URL: http://svn.apache.org/viewvc?view=rev&rev=512666
Log:
Include legal muck in wars

Modified:
    geronimo/server/trunk/pom.xml

Modified: geronimo/server/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/pom.xml?view=diff&rev=512666&r1=512665&r2=512666
==============================================================================
--- geronimo/server/trunk/pom.xml (original)
+++ geronimo/server/trunk/pom.xml Wed Feb 28 00:53:08 2007
@@ -1453,6 +1453,23 @@
                             <!-- Do not include META-INF/maven to avoid long file problems
on windows -->
                             <addMavenDescriptor>false</addMavenDescriptor>
                         </archive>
+                        
+                        <!--
+                        HACK: Include legal files explicity, otherwise they will end up in
the wrong path
+                              or in another jar file in the war.
+                        
+                        NOTE: targetPath is broken for webResources (as documented)
+                        -->
+                        <webResources>
+                            <resource>
+                                <directory>${pom.basedir}/target/classes</directory>
+                                <includes>
+                                    <include>META-INF/LICENSE*</include>
+                                    <include>META-INF/NOTICE*</include>
+                                    <include>META-INF/DISCLAIMER*</include>
+                                </includes>
+                            </resource>
+                        </webResources>
                     </configuration>
                 </plugin>
                 



Mime
View raw message