Search in sources :

Example 1 with MavenActivationFile

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

the class MavenModelUtil method convertToMavenActivationFile.

private static ActivationFile convertToMavenActivationFile(MavenActivationFile file) {
    if (file != null) {
        ActivationFile result = new ActivationFile();
        result.setExists(file.getExist());
        result.setMissing(file.getMissing());
        return result;
    }
    return null;
}
Also used : ActivationFile(org.apache.maven.model.ActivationFile) MavenActivationFile(org.eclipse.che.maven.data.MavenActivationFile)

Aggregations

ActivationFile (org.apache.maven.model.ActivationFile)1 MavenActivationFile (org.eclipse.che.maven.data.MavenActivationFile)1