Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 161 for profiles (0.04 seconds)

  1. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

        void testValidateUniqueProfileId() throws Exception {
            Settings settings = new Settings();
            Profile profile1 = new Profile();
            profile1.setId("test");
            settings.addProfile(profile1);
            Profile profile2 = new Profile();
            profile2.setId("test");
            settings.addProfile(profile2);
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

            public ModelBuilderRequestBuilder source(ModelSource source) {
                this.source = source;
                return this;
            }
    
            public ModelBuilderRequestBuilder profiles(List<Profile> profiles) {
                this.profiles = profiles;
                return this;
            }
    
            public ModelBuilderRequestBuilder activeProfileIds(List<String> activeProfileIds) {
                this.activeProfileIds = activeProfileIds;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

                assertTrue(
                        location.getSource().getLocation().contains("pom-with-profiles/pom.xml"),
                        "Profile location should contain 'pom-with-profiles/pom.xml', but was: "
                                + location.getSource().getLocation() + " for profile: " + profile.getId());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

        @Override
        public Map<String, Profile> getProfilesById() {
            return profilesById;
        }
    
        /* (non-Javadoc)
         * @see org.apache.maven.profiles.ProfileManager#addProfile(org.apache.maven.model.Profile)
         */
        @Override
        public void addProfile(Profile profile) {
            String profileId = profile.getId();
    
            Profile existing = profilesById.get(profileId);
            if (existing != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

        /**
         * Gets the external profiles that should be considered for model building.
         *
         * @return The external profiles that should be considered for model building, never {@code null}.
         */
        List<Profile> getProfiles();
    
        /**
         * Sets the external profiles that should be considered for model building.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  6. schema/relationship_test.go

    	type Profile struct {
    		gorm.Model
    		Refer string
    		Name  string
    	}
    
    	type User struct {
    		gorm.Model
    		Profile   Profile `gorm:"ForeignKey:ProfileID;References:Refer"`
    		ProfileID int
    	}
    
    	checkStructRelation(t, &User{}, Relation{
    		Name: "Profile", Type: schema.BelongsTo, Schema: "User", FieldSchema: "Profile",
    		References: []Reference{{"Refer", "Profile", "ProfileID", "User", "", false}},
    	})
    }
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Aug 18 11:44:52 GMT 2025
    - 26.5K 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            }
    
            // Process profile dependencies
            boolean profileDependencyChanges = root.child(PROFILES).stream()
                    .flatMap(profiles -> profiles.children(PROFILE))
                    .map(profile -> profile.child(DEPENDENCIES)
                            .map(deps ->
                                    removeDependencyInferenceFromSection(context, deps, pomMap, "profile dependencies"))
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                } else {
                    List<File> pomFiles = collisions.get(projectId);
    
                    if (pomFiles == null) {
                        pomFiles = new ArrayList<>(Arrays.asList(collision.getFile(), project.getFile()));
                        collisions.put(projectId, pomFiles);
                    } else {
                        pomFiles.add(project.getFile());
                    }
                }
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon May 05 16:58:52 GMT 2025
    - 28.7K bytes
    - Click Count (1)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

        @Nonnull
        List<Profile> getActivePomProfiles(String modelId);
    
        /**
         * Gets a map of all active POM profiles organized by model ID.
         * The map keys are model IDs (groupId:artifactId:version) and values are lists of active profiles for each model.
         *
         * @return A map of model IDs to their active profiles, never {@code null}.
         * @since 4.0.0
         */
        @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top