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

Tests are ignored when using dependenciesToScan on linux only

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.15
    • 2.16
    • Junit 4.x support
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: