Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setActivation (0.16 sec)

  1. maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            nonActivation.setJdk("19.2");
    
            notActivated.setActivation(nonActivation);
    
            Profile defaultActivated = new Profile();
            defaultActivated.setId("defaultActivated");
    
            Activation defaultActivation = new Activation();
    
            defaultActivation.setActiveByDefault(true);
    
            defaultActivated.setActivation(defaultActivation);
    
            Properties props = System.getProperties();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

        }
    
        private Map<String, Activation> getProfileActivations(Model model) {
            return model.getProfiles().stream()
                    .filter(p -> p.getActivation() != null)
                    .collect(Collectors.toMap(Profile::getId, Profile::getActivation));
        }
    
        private Model injectProfileActivations(Model model, Map<String, Activation> activations) {
            List<Profile> profiles = new ArrayList<>();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                                "must be unique but found duplicate profile with id " + profile.getId(),
                                profile);
                    }
    
                    validate30RawProfileActivation(problems, profile.getActivation(), prefix);
    
                    validate20RawDependencies(
                            problems, profile.getDependencies(), prefix, "dependencies.dependency.", request);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top