Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1005

Tests are ignored when using dependenciesToScan on linux only

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.15
    • Fix Version/s: 2.16
    • Component/s: Junit 4.x support
    • Labels:
      None
    • Environment:
      Linux CentOS 6.3

      Description

      When building on Windows 7 64 bit I can't see any problem.
      When running on linux my tests aren't running, or at least don't get reported.
      I am using the same project on 2 machines.
      I am using the feature described in: SUREFIRE-569. http://jira.codehaus.org/browse/SUREFIRE-569

      {{{
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-surefire-plugin</artifactId>
      <version>2.15</version>
      <configuration>
      <dependenciesToScan>
      <dependency>my.group:myArtifact</dependency>
      </dependenciesToScan>
      <argLine>-DbaseClassesPath=${project.build.directory}${file.separator}classes</argLine>
      </configuration>
      </plugin>

      <dependency>
      <groupId>my.group</groupId>
      <artifactId>myArtifact</artifactId>
      <version>version</version>
      <type>test-jar</type>
      <scope>test</scope>
      </dependency>

      }}}

        Attachments

          Activity

            People

            • Assignee:
              agudian Andreas Gudian
              Reporter:
              galusben@gmail.com Gal Ben Ami
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: