Gal Ben Ami created SUREFIRE-1005:
-------------------------------------

             Summary: Tests are ignored when using dependenciesToScan on linux 
only
                 Key: SUREFIRE-1005
                 URL: https://jira.codehaus.org/browse/SUREFIRE-1005
             Project: Maven Surefire
          Issue Type: Bug
          Components: Junit 4.x support
    Affects Versions: 2.15
         Environment: Linux CentOS 6.3 
            Reporter: Gal Ben Ami


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>

}}}



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to