This commit is contained in:
Jason van Zyl 2009-04-29 18:40:45 +00:00
parent f27610741f
commit 942b1a3dc6
2 changed files with 2 additions and 2 deletions

View File

@ -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 )
{ {

View File

@ -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 )