Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for DefaultProfileSelector (0.12 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultProfileSelector implements ProfileSelector {
    
        private final List<ProfileActivator> activators;
    
        public DefaultProfileSelector() {
            this.activators = new ArrayList<>();
        }
    
        @Inject
        public DefaultProfileSelector(List<ProfileActivator> activators) {
            this.activators = new ArrayList<>(activators);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

            profile.setActivation(activation);
            return profile;
        }
    
        @Test
        void testThrowingActivator() {
            DefaultProfileSelector selector = new DefaultProfileSelector();
            selector.addProfileActivator(new ProfileActivator() {
                @Override
                public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
                    throw new RuntimeException("BOOM");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

    import org.apache.maven.model.plugin.ReportConfigurationExpander;
    import org.apache.maven.model.plugin.ReportingConverter;
    import org.apache.maven.model.profile.DefaultProfileInjector;
    import org.apache.maven.model.profile.DefaultProfileSelector;
    import org.apache.maven.model.profile.ProfileInjector;
    import org.apache.maven.model.profile.ProfileSelector;
    import org.apache.maven.model.profile.activation.FileProfileActivator;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/RepositorySystemSupplier.java

    import org.apache.maven.internal.impl.model.DefaultPluginManagementInjector;
    import org.apache.maven.internal.impl.model.DefaultProfileInjector;
    import org.apache.maven.internal.impl.model.DefaultProfileSelector;
    import org.apache.maven.internal.impl.model.ProfileActivationFilePathInterpolator;
    import org.apache.maven.internal.impl.model.rootlocator.DefaultRootLocator;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java

    import org.apache.maven.internal.impl.model.DefaultPluginManagementInjector;
    import org.apache.maven.internal.impl.model.DefaultProfileInjector;
    import org.apache.maven.internal.impl.model.DefaultProfileSelector;
    import org.apache.maven.internal.impl.model.ProfileActivationFilePathInterpolator;
    import org.apache.maven.internal.impl.model.rootlocator.DefaultRootLocator;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                // SettingsDecrypter settingsDecrypter =
                // (SettingsDecrypter)Objects.requireNonNull(this.createSettingsDecrypter(preBoot));
                //        new DefaultProfileSelector(List.of(
                //                new JdkVersionProfileActivator(),
                //                new PropertyProfileActivator(),
                //                new OperatingSystemProfileActivator(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top