mirror of https://github.com/apache/maven.git
MNG-2729 use the basedir specified in the execution request, don't use the system property
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491514 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8f4a420c8d
commit
cb381ffd76
|
@ -764,13 +764,10 @@ public class DefaultMaven
|
|||
{
|
||||
List files = Collections.EMPTY_LIST;
|
||||
|
||||
File userDir = new File( System.getProperty( "user.dir" ) );
|
||||
File userDir = new File( request.getBaseDirectory() );
|
||||
|
||||
if ( request.useReactor() )
|
||||
{
|
||||
// TODO: should we now include the pom.xml in the current directory?
|
||||
// String includes = System.getProperty( "maven.reactor.includes", "**/" + POMv4 );
|
||||
// String excludes = System.getProperty( "maven.reactor.excludes", POMv4 );
|
||||
|
||||
String includes = System.getProperty( "maven.reactor.includes", "**/" + POMv4 + ",**/" + RELEASE_POMv4 );
|
||||
String excludes = System.getProperty( "maven.reactor.excludes", POMv4 + "," + RELEASE_POMv4 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue