Search in sources :

Example 1 with MavenActivationProperty

use of org.eclipse.che.maven.data.MavenActivationProperty in project che by eclipse.

the class MavenModelUtil method convertToMavenActivationProperty.

private static ActivationProperty convertToMavenActivationProperty(MavenActivationProperty property) {
    if (property != null) {
        ActivationProperty result = new ActivationProperty();
        result.setName(property.getName());
        result.setValue(property.getValue());
        return result;
    }
    return null;
}
Also used : ActivationProperty(org.apache.maven.model.ActivationProperty) MavenActivationProperty(org.eclipse.che.maven.data.MavenActivationProperty)

Aggregations

ActivationProperty (org.apache.maven.model.ActivationProperty)1 MavenActivationProperty (org.eclipse.che.maven.data.MavenActivationProperty)1