You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2014/10/22 21:51:09 UTC

svn commit: r1633698 - in /maven/plugins/trunk/maven-eclipse-plugin: README-testing.txt pom.xml

Author: khmarbaise
Date: Wed Oct 22 19:51:09 2014
New Revision: 1633698

URL: http://svn.apache.org/r1633698
Log:
[MECLIPSE-756]
 - Excludes the src/test/resources area cause 
   adding a license header will fail many test cases.
 - Added information about M2_HOME to run integration tests

Modified:
    maven/plugins/trunk/maven-eclipse-plugin/README-testing.txt
    maven/plugins/trunk/maven-eclipse-plugin/pom.xml

Modified: maven/plugins/trunk/maven-eclipse-plugin/README-testing.txt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/README-testing.txt?rev=1633698&r1=1633697&r2=1633698&view=diff
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/README-testing.txt (original)
+++ maven/plugins/trunk/maven-eclipse-plugin/README-testing.txt Wed Oct 22 19:51:09 2014
@@ -4,6 +4,11 @@ Testing maven-eclipse-plugin
   that have hard coded paths and other junk in them.
   
   Most of the work is done in the integration tests.
+
+  You have to set M2_HOME to the appropriate maven version
+  you want to test with like this:
+ 
+  export M2_HOME=/usr/share/java/apache-maven-3.1.1
   
   Use 
     mvn -Prun-its verify
@@ -116,4 +121,4 @@ Creating expected files
   
   When you go to check in changes these files should show up as requiring adding to version control.
   Please make sure you ensure that these files have been customized with variables so they work in anyones environment.
-  
\ No newline at end of file
+  

Modified: maven/plugins/trunk/maven-eclipse-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/pom.xml?rev=1633698&r1=1633697&r2=1633698&view=diff
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-eclipse-plugin/pom.xml Wed Oct 22 19:51:09 2014
@@ -250,6 +250,21 @@ under the License.
             </reportsDirectories>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <configuration>
+            <excludes>
+              <exclude>README-testing.txt</exclude>
+              <!--
+                These files contain several files for eclipse
+                which will let fail the tests if a license header
+                is being added.
+              -->
+              <exclude>src/test/resources/**</exclude>
+            </excludes>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>