mirror of https://github.com/apache/maven.git
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769869 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f27610741f
commit
942b1a3dc6
|
@ -87,7 +87,7 @@ public class LifecycleExecutorTest
|
||||||
public void testLifecyclePluginsRetrievalForDefaultLifecycle()
|
public void testLifecyclePluginsRetrievalForDefaultLifecycle()
|
||||||
throws Exception
|
throws Exception
|
||||||
{
|
{
|
||||||
List<Plugin> plugins = new ArrayList<Plugin>( lifecycleExecutor.getPluginsBoundByDefaultToLifecycles( "jar" ) );
|
List<Plugin> plugins = new ArrayList<Plugin>( lifecycleExecutor.getPluginsBoundByDefaultToAllLifecycles( "jar" ) );
|
||||||
|
|
||||||
for( Plugin plugin : plugins )
|
for( Plugin plugin : plugins )
|
||||||
{
|
{
|
||||||
|
|
|
@ -585,7 +585,7 @@ public class MavenEmbedder
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
request.setPlugins(lifecycleExecutor.getPluginsBoundByDefaultToLifecycles("jar"));
|
request.setPlugins(lifecycleExecutor.getPluginsBoundByDefaultToAllLifecycles("jar"));
|
||||||
request = populator.populateDefaults( request, configuration );
|
request = populator.populateDefaults( request, configuration );
|
||||||
}
|
}
|
||||||
catch ( MavenEmbedderException e )
|
catch ( MavenEmbedderException e )
|
||||||
|
|
Loading…
Reference in New Issue