You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2015/04/20 23:34:32 UTC

svn commit: r1674991 - in /lucene/dev/branches/branch_5x: ./ dev-tools/ dev-tools/maven/lucene/test-framework/pom.xml.template

Author: uschindler
Date: Mon Apr 20 21:34:32 2015
New Revision: 1674991

URL: http://svn.apache.org/r1674991
Log:
Merged revision(s) 1674990 from lucene/dev/trunk:
LUCENE-6439: enable support fors test-framework-tests on Maven build

Modified:
    lucene/dev/branches/branch_5x/   (props changed)
    lucene/dev/branches/branch_5x/dev-tools/   (props changed)
    lucene/dev/branches/branch_5x/dev-tools/maven/lucene/test-framework/pom.xml.template

Modified: lucene/dev/branches/branch_5x/dev-tools/maven/lucene/test-framework/pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/dev-tools/maven/lucene/test-framework/pom.xml.template?rev=1674991&r1=1674990&r2=1674991&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/dev-tools/maven/lucene/test-framework/pom.xml.template (original)
+++ lucene/dev/branches/branch_5x/dev-tools/maven/lucene/test-framework/pom.xml.template Mon Apr 20 21:34:32 2015
@@ -60,15 +60,17 @@
         </excludes>
       </resource>
     </resources>
+    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
+    <testResources>
+      <testResource>
+        <directory>${project.build.testSourceDirectory}</directory>
+        <excludes>
+          <exclude>**/*.java</exclude>
+        </excludes>
+      </testResource>
+    </testResources>
     <plugins>
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-      <plugin>
         <groupId>de.thetaphi</groupId>
         <artifactId>forbiddenapis</artifactId>
         <executions>
@@ -79,7 +81,8 @@
           <execution>
             <id>lucene-shared-test-check-forbidden-apis</id>
             <goals>
-              <goal>check</goal> <!-- NOT testCheck -->
+              <goal>check</goal>
+              <goal>testCheck</goal>
             </goals>
           </execution>
           <execution>