{
return lifecycleMap;
}
lifecycleMap = new LinkedHashMap<String, Lifecycle>();
Lifecycle lifecycle = new Lifecycle();
lifecycle.setId( "default" );
Map<String, String> phases = new LinkedHashMap<String, String>();
phases.put( "process-resources", "org.apache.maven.plugins:maven-resources-plugin:resources" );
phases.put( "compile", getCompiler() );
phases.put( "process-test-resources", "org.apache.maven.plugins:maven-resources-plugin:testResources" );
phases.put( "test-compile", "net.flexmojos.oss:flexmojos-maven-plugin:test-compile" );
phases.put( "test", "net.flexmojos.oss:flexmojos-maven-plugin:test-run" );
if ( getPackage() != null )
{
phases.put( "package", getPackage() );
}
phases.put( "install", "org.apache.maven.plugins:maven-install-plugin:install" );
phases.put( "deploy", "org.apache.maven.plugins:maven-deploy-plugin:deploy" );
lifecycle.setPhases( phases );
lifecycleMap.put( "default", lifecycle );
return lifecycleMap;
}