Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for addProfileActivator (0.07 seconds)

  1. 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");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top