Search in sources :

Example 1 with MavenActivationOS

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

the class MavenModelUtil method convertToMavenActivationOs.

private static ActivationOS convertToMavenActivationOs(MavenActivationOS os) {
    if (os != null) {
        ActivationOS result = new ActivationOS();
        result.setArch(os.getArch());
        result.setFamily(os.getFamily());
        result.setName(os.getName());
        result.setVersion(os.getVersion());
        return result;
    }
    return null;
}
Also used : MavenActivationOS(org.eclipse.che.maven.data.MavenActivationOS) ActivationOS(org.apache.maven.model.ActivationOS)

Aggregations

ActivationOS (org.apache.maven.model.ActivationOS)1 MavenActivationOS (org.eclipse.che.maven.data.MavenActivationOS)1