mirror of https://github.com/apache/maven.git
MNG-3177: capture the presence of a project in the execution request
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572020 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
acd024eeca
commit
f6eb49fd0c
|
@ -58,6 +58,8 @@ public class DefaultMavenExecutionRequest
|
|||
|
||||
private boolean usePluginUpdateOverride;
|
||||
|
||||
private boolean isProjectPresent;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Request
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -517,4 +519,16 @@ public class DefaultMavenExecutionRequest
|
|||
|
||||
return this;
|
||||
}
|
||||
|
||||
public boolean isProjectPresent()
|
||||
{
|
||||
return isProjectPresent;
|
||||
}
|
||||
|
||||
public MavenExecutionRequest setProjectPresent( boolean projectPresent )
|
||||
{
|
||||
isProjectPresent = projectPresent;
|
||||
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -186,4 +186,7 @@ public interface MavenExecutionRequest
|
|||
|
||||
ProfileManager getProfileManager();
|
||||
MavenExecutionRequest setProfileManager( ProfileManager profileManager );
|
||||
|
||||
boolean isProjectPresent();
|
||||
MavenExecutionRequest setProjectPresent( boolean isProjectPresent );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue