Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for getActivation (0.06 sec)

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

            return this;
        }
    
        @Override
        public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            ActivationFile file = activation.getFile();
    
            if (file == null) {
                return false;
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

                    return false;
                }
            }
            return isActive;
        }
    
        private boolean isActiveByDefault(Profile profile) {
            Activation activation = profile.getActivation();
            return activation != null && activation.isActiveByDefault();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java

            return Optional.ofNullable(profile)
                    .map(org.apache.maven.model.Profile::getDelegate)
                    .map(Profile::getActivation)
                    .map(Activation::getPackaging);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

            profile.setId(profileXmlProfile.getId());
    
            profile.setSource("profiles.xml");
    
            org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation();
    
            if (profileActivation != null) {
                Activation activation = new Activation();
    
                activation.setActiveByDefault(profileActivation.isActiveByDefault());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

                        + ") with new instance from source: " + profile.getSource());
            }
    
            profilesById.put(profile.getId(), profile);
    
            Activation activation = profile.getActivation();
    
            if (activation != null && activation.isActiveByDefault()) {
                activateAsDefault(profileId);
            }
        }
    
        /* (non-Javadoc)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                    })
                    .filter(p -> !isEmpty(p))
                    .collect(Collectors.toList());
        }
    
        private static boolean isEmpty(Profile profile) {
            return profile.getActivation() == null
                    && profile.getBuild() == null
                    && profile.getDependencies().isEmpty()
                    && (profile.getDependencyManagement() == null
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            List<Profile> interpolatedProfiles = model.getProfiles();
            IntStream.range(0, interpolatedProfiles.size()).forEach(i -> interpolatedProfiles
                    .get(i)
                    .setActivation(originalProfiles.get(i).getActivation()));
    
            return interpolatedModel;
        }
    
        private ModelData readParent(
                Model childModel,
                ModelSource childSource,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:08 UTC 2025
    - 55.3K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                    val = interpolate(org);
                    if (org != val) {
                        profile.setId(val);
                    }
                    // Activation
                    visit(profile.getActivation());
                    // Build
                    visit(profile.getBuild());
                }
            }
    
            private void visit(Activation activation) {
                if (activation != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 43.1K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/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);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 03 15:06:05 UTC 2025
    - 66.8K bytes
    - Viewed (0)
  10. compat/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();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top