You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2012/08/08 21:51:41 UTC

svn commit: r1370921 - /commons/proper/functor/trunk/pom.xml

Author: mbenson
Date: Wed Aug  8 19:51:41 2012
New Revision: 1370921

URL: http://svn.apache.org/viewvc?rev=1370921&view=rev
Log:
add profile to run examples and samples that do not match default surefire includes

Modified:
    commons/proper/functor/trunk/pom.xml

Modified: commons/proper/functor/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/pom.xml?rev=1370921&r1=1370920&r2=1370921&view=diff
==============================================================================
--- commons/proper/functor/trunk/pom.xml (original)
+++ commons/proper/functor/trunk/pom.xml Wed Aug  8 19:51:41 2012
@@ -348,5 +348,25 @@
         </site>
       </distributionManagement>
     </profile>
+    <profile>
+      <id>with-examples</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <includes>
+                <include>**/Test*.java</include>
+                <include>**/*Test.java</include>
+                <include>**/*TestCase.java</include>
+                <include>**/*Example.java</include>
+                <include>**/*Sample.java</include>
+              </includes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 </project>