improve/fix support excluding Tests via Maven -D property
---------------------------------------------------------

                 Key: HBASE-3625
                 URL: https://issues.apache.org/jira/browse/HBASE-3625
             Project: HBase
          Issue Type: Improvement
          Components: build
    Affects Versions: 0.90.1
         Environment: all
            Reporter: Alejandro Abdelnur


Currently the surefire plugin configuration defines the following exclusion:

{code}
.
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <forkMode>always</forkMode>
          <includes>
            <include>**/Test*.java</include>
          </includes>
          <excludes>
            <exclude>**/*$*</exclude>
          </excludes>
        </configuration>
      </plugin>
{code}

AFAICT the '{{***/***$**}}' does not resolve to anything meaningful.

Adding support to exclude one or more tests via Maven property, i.e. 
'{{-Dtest.exclude=<TESTCLASS>}}' would be useful.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to