Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Motivation (0.26 sec)

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

        @Override
        public boolean presentInConfig(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            ActivationProperty property = activation.getProperty();
    
            return property != null;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

        @Override
        public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            String jdk = activation.getJdk();
    
            if (jdk == null) {
                return false;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java

        @Override
        public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            ActivationOS os = activation.getOs();
    
            if (os == null) {
                return false;
            }
    
            boolean active = ensureAtLeastOneNonNull(os);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivationContext.java

         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
         * @return The execution properties, never {@code null}.
         */
        Map<String, String> getSystemProperties();
    
        /**
         * Gets the user properties to use for interpolation and profile activation. The user properties have been
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
         * @return The system properties, never {@code null}.
         */
        Properties getSystemProperties();
    
        /**
         * Sets the user properties to use for interpolation and profile activation. The user properties have been
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            notActivated.setId("notActivated");
    
            Activation nonActivation = new Activation();
    
            nonActivation.setJdk("19.2");
    
            notActivated.setActivation(nonActivation);
    
            Profile defaultActivated = new Profile();
            defaultActivated.setId("defaultActivated");
    
            Activation defaultActivation = new Activation();
    
            defaultActivation.setActiveByDefault(true);
    
    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)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

            profile.id(modelProfile.getId());
    
            org.apache.maven.api.model.Activation modelActivation = modelProfile.getActivation();
    
            if (modelActivation != null) {
                Activation.Builder activation = Activation.newBuilder();
    
                activation.activeByDefault(modelActivation.isActiveByDefault());
    
                activation.jdk(modelActivation.getJdk());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

            profile.setSource("profiles.xml");
    
            org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation();
    
            if (profileActivation != null) {
                Activation activation = new Activation();
    
                activation.setActiveByDefault(profileActivation.isActiveByDefault());
    
                activation.setJdk(profileActivation.getJdk());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.8K bytes
    - Viewed (0)
Back to top