mirror of https://github.com/apache/maven.git
forgot why they were wrapped in an array list...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233443 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cc276e2e2a
commit
4e79a1aa80
|
@ -180,13 +180,14 @@ public class SurefirePlugin
|
|||
else
|
||||
{
|
||||
// defaults here, qdox doesn't like the end javadoc value
|
||||
// Have to wrap in an ArrayList as surefire expects an ArrayList instead of a List for some reason
|
||||
if ( includes == null || includes.size() == 0 )
|
||||
{
|
||||
includes = Arrays.asList( new String[] { "**/*Test.java", "**/*TestCase.java" } );
|
||||
includes = new ArrayList( Arrays.asList( new String[] { "**/*Test.java", "**/*TestCase.java" } ) );
|
||||
}
|
||||
if ( excludes == null || excludes.size() == 0 )
|
||||
{
|
||||
excludes = Arrays.asList( new String[] { "**/Abstract*Test.java", "**/Abstract*TestCase.java" } );
|
||||
excludes = new ArrayList( Arrays.asList( new String[] { "**/Abstract*Test.java", "**/Abstract*TestCase.java" } ) );
|
||||
}
|
||||
|
||||
surefireBooter.addBattery( "org.codehaus.surefire.battery.DirectoryBattery",
|
||||
|
|
Loading…
Reference in New Issue