Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-3625

improve/fix support excluding Tests via Maven -D property

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.1
    • 0.90.2
    • build
    • all

    • Reviewed

    Description

      Currently the surefire plugin configuration defines the following exclusion:

      .
            <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>
      

      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.

      Attachments

        1. hbase-3625.txt
          1 kB
          Todd Lipcon

        Activity

          People

            tucu00 Alejandro Abdelnur
            tucu00 Alejandro Abdelnur
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: