Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 280 for profile (0.04 seconds)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            }
        }
    
        private List<Profile> getProfiles(Model model) {
            ArrayList<Profile> profiles = new ArrayList<>();
            for (Profile profile : model.getProfiles()) {
                profile = profile.clone();
                profiles.add(profile);
            }
            return profiles;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

                    // Profile dependencies
                    root.child(PROFILES).stream()
                            .flatMap(profiles -> profiles.children(PROFILE))
                            .flatMap(profile -> Stream.of(
                                            new DependencyContainer(
                                                    profile.child(DEPENDENCIES).orElse(null), "profile dependencies"),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

        }
    
        @Override
        protected boolean canDetectActivation(Profile profile) {
            return profile.getActivation() != null && profile.getActivation().getProperty() != null;
        }
    
        @Override
        public boolean isActive(Profile profile) throws ProfileActivationException {
            Activation activation = profile.getActivation();
    
            ActivationProperty property = activation.getProperty();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

        @Override
        public boolean canDetermineActivation(Profile profile) {
            Activation activation = profile.getActivation();
            return activation != null && activation.getOs() != null;
        }
    
        @Override
        public boolean isActive(Profile profile) {
            Activation activation = profile.getActivation();
            ActivationOS os = activation.getOs();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

        void testPrefixNegated() throws Exception {
            Profile profile = newProfile("!1.4");
    
            assertActivation(false, profile, newContext(null, newProperties("1.4")));
            assertActivation(false, profile, newContext(null, newProperties("1.4.2")));
            assertActivation(false, profile, newContext(null, newProperties("1.4.2_09")));
            assertActivation(false, profile, newContext(null, newProperties("1.4.2_09-b03")));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java

        /**
         * Determines the profiles which are active in the specified activation context. Active profiles will eventually be
         * injected into the model.
         *
         * @param profiles The profiles whose activation status should be determined, must not be {@code null}.
         * @param context The environmental context used to determine the activation status of a profile, must not be
         *            {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

        }
    
        @Override
        public List<Profile> getProfiles() {
            if (profiles == null) {
                profiles = new ArrayList<>();
            }
            return profiles;
        }
    
        @Override
        public MavenExecutionRequest setProfiles(List<Profile> profiles) {
            if (profiles != null) {
                this.profiles = new ArrayList<>(profiles);
            } else {
                this.profiles = null;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 32.1K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfileManager.java

     * under the License.
     */
    package org.apache.maven.profiles;
    
    import java.util.List;
    import java.util.Map;
    import java.util.Properties;
    
    import org.apache.maven.model.Profile;
    import org.apache.maven.profiles.activation.ProfileActivationException;
    
    /**
     * ProfileManager
     */
    @Deprecated
    public interface ProfileManager {
    
        void addProfile(Profile profile);
    
        void explicitlyActivate(String profileId);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/DetectedProfileActivator.java

     * under the License.
     */
    package org.apache.maven.profiles.activation;
    
    import org.apache.maven.model.Profile;
    
    /**
     * DetectedProfileActivator
     */
    @Deprecated
    public abstract class DetectedProfileActivator implements ProfileActivator {
        @Override
        public boolean canDetermineActivation(Profile profile) {
            return canDetectActivation(profile);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/ProfileActivator.java

     * under the License.
     */
    package org.apache.maven.profiles.activation;
    
    import org.apache.maven.model.Profile;
    
    /**
     * ProfileActivator
     */
    @Deprecated
    public interface ProfileActivator {
    
        String ROLE = ProfileActivator.class.getName();
    
        boolean canDetermineActivation(Profile profile);
    
        boolean isActive(Profile profile) throws ProfileActivationException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
Back to Top