Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 397 for Profile (0.08 seconds)

  1. api/maven-api-settings/src/main/mdo/settings.mdo

                if (getProfiles() != null) {
                    for (Profile profile : getProfiles()) {
                        profileMap.put(profile.getId(), profile);
                    }
                }
            }
            return profileMap;
        }
    
        public void setModelEncoding(String modelEncoding) {
            update(getDelegate().with().modelEncoding(modelEncoding).build());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 33.8K bytes
    - Click Count (0)
  2. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  3. tests/associations_test.go

    	member := Member{Refer: 1, Name: "foreign_key_constraints", Profile: Profile{Name: "my_profile"}}
    
    	DB.Create(&member)
    
    	var profile Profile
    	if err := DB.First(&profile, "id = ?", member.Profile.ID).Error; err != nil {
    		t.Fatalf("failed to find profile, got error: %v", err)
    	} else if profile.MemberID != member.ID {
    		t.Fatalf("member id is not equal: expects: %v, got: %v", member.ID, profile.MemberID)
    	}
    
    	member.Profile = Profile{}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

            boolean activatedPomProfileNotByDefault = false;
    
            for (Profile profile : profiles) {
                if (!deactivatedIds.contains(profile.getId())) {
                    if (activatedIds.contains(profile.getId()) || isActive(profile, context, problems)) {
                        activeProfiles.add(profile);
    
                        if (Profile.SOURCE_POM.equals(profile.getSource())) {
                            activatedPomProfileNotByDefault = true;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

        }
    
        /**
         * Mark a profile as required and activated.
         * @param id The identifier of the profile.
         */
        public void activateRequiredProfile(String id) {
            this.activations.put(id, ActivationSettings.activated());
        }
    
        /**
         * Mark a profile as optional and activated.
         * @param id The identifier of the profile.
         */
        public void activateOptionalProfile(String id) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/ProfileActivator.java

     * under the License.
     */
    package org.apache.maven.model.profile.activation;
    
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.building.ModelProblemCollector;
    import org.apache.maven.model.profile.ProfileActivationContext;
    
    /**
     * Determines whether a profile should be activated.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

        private Logger logger;
    
        @Override
        protected boolean canDetectActivation(Profile profile) {
            return profile.getActivation() != null && profile.getActivation().getFile() != null;
        }
    
        @Override
        public boolean isActive(Profile profile) {
            Activation activation = profile.getActivation();
    
            ActivationFile actFile = activation.getFile();
    
            if (actFile != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java

        /**
         * Convert a model profile to a settings profile.
         */
        @Nonnull
        org.apache.maven.api.settings.Profile convert(@Nonnull org.apache.maven.api.model.Profile profile);
    
        /**
         * Convert a settings profile to a model profile.
         */
        @Nonnull
        org.apache.maven.api.model.Profile convert(@Nonnull org.apache.maven.api.settings.Profile profile);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

                throw errors.get(0);
            }
    
            return profiles;
        }
    
        /* (non-Javadoc)
         * @see org.apache.maven.profiles.ProfileManager#addProfiles(java.util.List)
         */
        @Override
        public void addProfiles(List<Profile> profiles) {
            for (Profile profile1 : profiles) {
                addProfile(profile1);
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.9K bytes
    - Click Count (0)
Back to Top