mirror of https://github.com/apache/maven.git
[MNG-4860] Allow management of project building request kept inside MavenProject instances
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1021500 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1036f38593
commit
947973e857
|
@ -2146,4 +2146,26 @@ public class MavenProject
|
||||||
lifecyclePhases.add( lifecyclePhase );
|
lifecyclePhases.add( lifecyclePhase );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the project building request from which this project instance was created. <strong>Warning:</strong> This is
|
||||||
|
* an utility method that is meant to assist integrators of Maven, it must not be used by Maven plugins.
|
||||||
|
*
|
||||||
|
* @return The project building request or {@code null}.
|
||||||
|
*/
|
||||||
|
public ProjectBuildingRequest getProjectBuildingRequest()
|
||||||
|
{
|
||||||
|
return projectBuilderConfiguration;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the project building request from which this project instance was created. <strong>Warning:</strong> This is
|
||||||
|
* an utility method that is meant to assist integrators of Maven, it must not be used by Maven plugins.
|
||||||
|
*
|
||||||
|
* @param projectBuildingRequest The project building request, may be {@code null}.
|
||||||
|
*/
|
||||||
|
public void setProjectBuildingRequest( ProjectBuildingRequest projectBuildingRequest )
|
||||||
|
{
|
||||||
|
projectBuilderConfiguration = projectBuildingRequest;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue