You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by cz...@apache.org on 2009/05/18 14:08:49 UTC

svn commit: r775913 - /portals/pluto/trunk/pluto-portal/pom.xml

Author: cziegeler
Date: Mon May 18 12:08:49 2009
New Revision: 775913

URL: http://svn.apache.org/viewvc?rev=775913&view=rev
Log:
Move legal files into meta-inf to avoid overwriting the ianal plugin config.

Modified:
    portals/pluto/trunk/pluto-portal/pom.xml

Modified: portals/pluto/trunk/pluto-portal/pom.xml
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-portal/pom.xml?rev=775913&r1=775912&r2=775913&view=diff
==============================================================================
--- portals/pluto/trunk/pluto-portal/pom.xml (original)
+++ portals/pluto/trunk/pluto-portal/pom.xml Mon May 18 12:08:49 2009
@@ -140,18 +140,18 @@
                     </webResources>
                 </configuration>
             </plugin>
+            <!-- workaround for war processing of m-r-r-plugin causing the generated NOTICE and LICENSE file to be put under WEB-INF/classes/META-INF -->
             <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>ianal-maven-plugin</artifactId>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-remote-resources-plugin</artifactId>
                 <executions>
                     <execution>
                         <goals>
-                            <goal>verify-legal-files</goal>
+                            <goal>process</goal>
                         </goals>
                         <configuration>
-                            <searchPaths>
-                                <searchPath>WEB-INF/classes/META-INF</searchPath>
-                            </searchPaths>
+                            <outputDirectory>${project.build.directory}/${build.finalName}</outputDirectory>
+                            <attached>false</attached>
                         </configuration>
                     </execution>
                 </executions>