Example usage for org.apache.maven.lifecycle.mapping Lifecycle getPhases

List of usage examples for org.apache.maven.lifecycle.mapping Lifecycle getPhases

Introduction

In this page you can find the example usage for org.apache.maven.lifecycle.mapping Lifecycle getPhases.

Prototype

@Deprecated
    public Map<String, String> getPhases() 

Source Link

Usage

From source file:com.tenderowls.opensource.haxemojos.components.lifecycle.AbstractHaxeLifecycleMapping.java

License:Apache License

@Deprecated
public Map<String, String> getPhases(String lifecycle) {
    Lifecycle lifecycleMapping = getLifecycles().get(lifecycle);

    if (lifecycleMapping != null) {
        return lifecycleMapping.getPhases();
    }//from w w w .ja  va2 s .  com

    return null;
}

From source file:org.pureart.flexworks.plugin.lifecyclemapping.AbstractActionScriptLifecycleMapping.java

License:Open Source License

public Map<String, String> getPhases(String lifecycle) {
    Lifecycle lifecycleMapping = getLifecycles().get(lifecycle);

    if (lifecycleMapping != null)
        return lifecycleMapping.getPhases();

    return null;/*from   w w w.ja v a 2  s  . c o  m*/
}