Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for setActivation (0.21 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 Apr 21 03:35:09 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                    file.setExists(profileFile.getExists());
                    file.setMissing(profileFile.getMissing());
    
                    activation.setFile(file);
                }
    
                profile.setActivation(activation);
            }
    
            profile.setProperties(profileXmlProfile.getProperties());
    
            List repos = profileXmlProfile.getRepositories();
            if (repos != null) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

                    clone.getActivation().getProperty().getName());
            assertEquals(
                    p.getActivation().getProperty().getValue(),
                    clone.getActivation().getProperty().getValue());
            assertEquals(
                    p.getActivation().getOs().getArch(),
                    clone.getActivation().getOs().getArch());
            assertEquals(
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

        protected String getJdkVersion() {
            return JDK_VERSION;
        }
    
        protected boolean canDetectActivation(Profile profile) {
            return profile.getActivation() != null
                    && profile.getActivation().getJdk() != null
                    && !profile.getActivation().getJdk().isEmpty();
        }
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 3K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

        }
    
        protected boolean canDetectActivation(Profile profile) {
            return profile.getActivation() != null && profile.getActivation().getProperty() != null;
        }
    
        public boolean isActive(Profile profile) throws ProfileActivationException {
            Activation activation = profile.getActivation();
    
            ActivationProperty property = activation.getProperty();
    
            if (property != null) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue May 09 23:46:02 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

        private Logger logger;
    
        protected boolean canDetectActivation(Profile profile) {
            return profile.getActivation() != null && profile.getActivation().getFile() != null;
        }
    
        public boolean isActive(Profile profile) {
            Activation activation = profile.getActivation();
    
            ActivationFile actFile = activation.getFile();
    
            if (actFile != null) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java

        @Override
        public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            ActivationProperty property = activation.getProperty();
    
            if (property == null) {
                return false;
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

        public boolean canDetermineActivation(Profile profile) {
            Activation activation = profile.getActivation();
            return activation != null && activation.getOs() != null;
        }
    
        public boolean isActive(Profile profile) {
            Activation activation = profile.getActivation();
            ActivationOS os = activation.getOs();
    
            boolean result = ensureAtLeastOneNonNull(os);
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Sep 22 06:01:36 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java

        private static final String REGEX_PREFIX = "regex:";
    
        @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;
            }
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PackagingProfileActivator.java

            return Objects.equals(p, packaging);
        }
    
        private static Optional<String> getActivationPackaging(Profile profile) {
            return Optional.ofNullable(profile).map(Profile::getActivation).map(Activation::getPackaging);
        }
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
Back to top