mirror of https://github.com/apache/maven.git
Fix includes unit tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162889 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b0c0d6c5fc
commit
b584f103e1
|
@ -611,7 +611,16 @@ public class MBoot
|
|||
|
||||
if ( reader.getUnitTests() != null )
|
||||
{
|
||||
includes = reader.getUnitTests().getIncludes();
|
||||
if ( reader.getUnitTests().getIncludes().size() != 0 )
|
||||
{
|
||||
includes = reader.getUnitTests().getIncludes();
|
||||
}
|
||||
else
|
||||
{
|
||||
includes = new ArrayList();
|
||||
|
||||
includes.add( "**/*Test.java" );
|
||||
}
|
||||
|
||||
excludes = reader.getUnitTests().getExcludes();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue