Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Motivation (3.51 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                return builder;
            }
    
            @Override
            protected Activation.Builder transformActivation_File(
                    Supplier<? extends Activation.Builder> creator, Activation.Builder builder, Activation target) {
                stk.push(nextFrame("file", Activation::getFile));
                Optional.ofNullable(target.getFile());
    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)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            boolean modified = false;
            for (Profile profile : model.getProfiles()) {
                Activation activation = profile.getActivation();
                if (activation != null) {
                    // restore activation
                    profile = profile.withActivation(activations.get(profile.getId()));
                    modified = true;
                }
                profiles.add(profile);
            }
    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-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        @Test
        void testJdkActivation() throws Exception {
            Properties props = new Properties();
            props.put("java.version", "1.5.0_15");
    
            PomTestWrapper pom = buildPom("jdk-activation", props, null);
            assertEquals(3, pom.getMavenProject().getActiveProfiles().size());
            assertEquals("PASSED", pom.getValue("properties/jdkProperty3"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
Back to top