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:32:12 UTC
svn commit: r1674990 -
/lucene/dev/trunk/dev-tools/maven/lucene/test-framework/pom.xml.template
Author: uschindler
Date: Mon Apr 20 21:32:12 2015
New Revision: 1674990
URL: http://svn.apache.org/r1674990
Log:
LUCENE-6439: enable support fors test-framework-tests on Maven build
Modified:
lucene/dev/trunk/dev-tools/maven/lucene/test-framework/pom.xml.template
Modified: lucene/dev/trunk/dev-tools/maven/lucene/test-framework/pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/test-framework/pom.xml.template?rev=1674990&r1=1674989&r2=1674990&view=diff
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/test-framework/pom.xml.template (original)
+++ lucene/dev/trunk/dev-tools/maven/lucene/test-framework/pom.xml.template Mon Apr 20 21:32:12 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>