Java 类org.apache.maven.model.profile.activation.FileProfileActivator 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:MavenSettings.java   
private DefaultProfileSelector createProfileSelector() {
    DefaultProfileSelector selector = new DefaultProfileSelector();

    selector.addProfileActivator(new FileProfileActivator()
            .setPathTranslator(new DefaultPathTranslator()));
    selector.addProfileActivator(new JdkVersionProfileActivator());
    selector.addProfileActivator(new PropertyProfileActivator());
    selector.addProfileActivator(new OperatingSystemProfileActivator());
    return selector;
}
项目:spring-boot-concourse    文件:MavenSettings.java   
private DefaultProfileSelector createProfileSelector() {
    DefaultProfileSelector selector = new DefaultProfileSelector();

    selector.addProfileActivator(new FileProfileActivator()
            .setPathTranslator(new DefaultPathTranslator()));
    selector.addProfileActivator(new JdkVersionProfileActivator());
    selector.addProfileActivator(new PropertyProfileActivator());
    selector.addProfileActivator(new OperatingSystemProfileActivator());
    return selector;
}
项目:spring-cloud-function    文件:MavenSettings.java   
private DefaultProfileSelector createProfileSelector() {
    DefaultProfileSelector selector = new DefaultProfileSelector();

    selector.addProfileActivator(new FileProfileActivator()
            .setPathTranslator(new DefaultPathTranslator()));
    selector.addProfileActivator(new JdkVersionProfileActivator());
    selector.addProfileActivator(new PropertyProfileActivator());
    selector.addProfileActivator(new OperatingSystemProfileActivator());
    return selector;
}
项目:contestparser    文件:MavenSettings.java   
private DefaultProfileSelector createProfileSelector() {
    DefaultProfileSelector selector = new DefaultProfileSelector();
    selector.addProfileActivator(new FileProfileActivator());
    selector.addProfileActivator(new JdkVersionProfileActivator());
    selector.addProfileActivator(new PropertyProfileActivator());
    selector.addProfileActivator(new OperatingSystemProfileActivator());
    return selector;
}
项目:oceano    文件:DefaultModelBuilderFactory.java   
protected ProfileActivator[] newProfileActivators()
{
    return new ProfileActivator[] { new JdkVersionProfileActivator(), new OperatingSystemProfileActivator(),
        new PropertyProfileActivator(), new FileProfileActivator().setPathTranslator( newPathTranslator() ) };
}