geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r512680 - /geronimo/server/trunk/applications/geronimo-dojo/pom.xml
Date Wed, 28 Feb 2007 09:49:57 GMT
Author: jdillon
Date: Wed Feb 28 01:49:56 2007
New Revision: 512680

URL: http://svn.apache.org/viewvc?view=rev&rev=512680
Log:
Add legal files

Modified:
    geronimo/server/trunk/applications/geronimo-dojo/pom.xml

Modified: geronimo/server/trunk/applications/geronimo-dojo/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/geronimo-dojo/pom.xml?view=diff&rev=512680&r1=512679&r2=512680
==============================================================================
--- geronimo/server/trunk/applications/geronimo-dojo/pom.xml (original)
+++ geronimo/server/trunk/applications/geronimo-dojo/pom.xml Wed Feb 28 01:49:56 2007
@@ -88,7 +88,22 @@
                                 <include>*.html</include>
                                 <include>*.swf</include>
                                 <include>LICENSE</include>
-                            </includes>   
+                            </includes>
+                        </resource>
+                        
+                        <!--
+                        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)
+                        -->
+                        <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>
                     <webXml>${pom.basedir}/src/main/webapp/WEB-INF/web.xml</webXml>



Mime
View raw message