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:
Jason van Zyl 2007-09-02 16:37:49 +00:00
parent acd024eeca
commit f6eb49fd0c
2 changed files with 17 additions and 0 deletions

View File

@ -58,6 +58,8 @@ public class DefaultMavenExecutionRequest
private boolean usePluginUpdateOverride; private boolean usePluginUpdateOverride;
private boolean isProjectPresent;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Request // Request
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@ -517,4 +519,16 @@ public class DefaultMavenExecutionRequest
return this; return this;
} }
public boolean isProjectPresent()
{
return isProjectPresent;
}
public MavenExecutionRequest setProjectPresent( boolean projectPresent )
{
isProjectPresent = projectPresent;
return this;
}
} }

View File

@ -186,4 +186,7 @@ public interface MavenExecutionRequest
ProfileManager getProfileManager(); ProfileManager getProfileManager();
MavenExecutionRequest setProfileManager( ProfileManager profileManager ); MavenExecutionRequest setProfileManager( ProfileManager profileManager );
boolean isProjectPresent();
MavenExecutionRequest setProjectPresent( boolean isProjectPresent );
} }