Author: reto
Date: Sat Jan  7 11:17:31 2012
New Revision: 1228594

URL: http://svn.apache.org/viewvc?rev=1228594&view=rev
Log:
CLEREZZA-624: making sure the local NOTICE file is used when available

Modified:
    incubator/clerezza/trunk/parent/pom.xml

Modified: incubator/clerezza/trunk/parent/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/clerezza/trunk/parent/pom.xml?rev=1228594&r1=1228593&r2=1228594&view=diff
==============================================================================
--- incubator/clerezza/trunk/parent/pom.xml (original)
+++ incubator/clerezza/trunk/parent/pom.xml Sat Jan  7 11:17:31 2012
@@ -477,6 +477,21 @@
                                <groupId>org.codehaus.xsite</groupId>
                                <artifactId>xsite-maven-plugin</artifactId>
                        </plugin>
+                       <!-- having this here has the effect that the resources 
copied by the resources plugin (below) have
+                       priority over the remote resources -->
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               
<artifactId>maven-remote-resources-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <goals>
+                                                       <goal>process</goal>
+                                               </goals>
+                                               <configuration>         
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
                </plugins>
                <resources>
                        <resource>
@@ -484,7 +499,7 @@
                                <filtering>false</filtering>
                                <directory>${basedir}</directory>
                                <includes>
-                                       <include>NOTICE.txt</include>
+                                       <include>NOTICE</include>
                                        <include>LICENSE.*</include>
                                </includes>
                        </resource>


Reply via email to