mirror of https://github.com/apache/maven.git
MNG-5767 enforce use of maven.multiModuleProjectDirectory
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
This commit is contained in:
parent
78c916b70e
commit
ba27d4ea52
|
@ -62,6 +62,10 @@ public class MavenITmng0294MergeGlobalAndUserSettingsTest
|
|||
{
|
||||
verifier.setSystemProperty( "org.apache.maven.global-settings", "global-settings.xml" );
|
||||
}
|
||||
if ( matchesVersionRange( "(3.2.5,)" ) )
|
||||
{
|
||||
verifier.getSystemProperties().put( "maven.multiModuleProjectDirectory", testDir.getAbsolutePath() );
|
||||
}
|
||||
verifier.executeGoal( "org.apache.maven.its.plugins:maven-it-plugin-touch:touch" );
|
||||
verifier.verifyErrorFreeLog();
|
||||
verifier.resetStreams();
|
||||
|
|
|
@ -469,6 +469,11 @@ public abstract class AbstractMavenIntegrationTestCase
|
|||
{
|
||||
verifier.getSystemProperties().put( "org.apache.maven.global-settings", path );
|
||||
}
|
||||
|
||||
if ( matchesVersionRange( "(3.2.5,)" ) )
|
||||
{
|
||||
verifier.getSystemProperties().put( "maven.multiModuleProjectDirectory", basedir );
|
||||
}
|
||||
}
|
||||
|
||||
return verifier;
|
||||
|
|
Loading…
Reference in New Issue