Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for profile (0.29 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    .collect(Collectors.toMap(Profile::getId, Profile::getActivation));
        }
    
        private Model injectProfileActivations(Model model, Map<String, Activation> activations) {
            List<Profile> profiles = new ArrayList<>();
            boolean modified = false;
            for (Profile profile : model.getProfiles()) {
                Activation activation = profile.getActivation();
                if (activation != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

                    "only-active-profile",
                    "Active only ||${project.basedir}||",
                    "<plugin-in-active-profile-only>Active only ||${project.basedir}||</plugin-in-active-profile-only>");
    
            // =============================================
    
            Profile inactiveProfile = originalModel.getProfiles().stream()
                    .filter(profile -> profile.getId().equals("inactiveProfile"))
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        /**
         * Gets the identifiers of all profiles that contributed to this project's effective model. This includes active
         * profiles from the project's POM and all its parent POMs as well as from external sources like the
         * {@code settings.xml}. The profile identifiers are grouped by the identifier of their source, e.g.
         * {@code <groupId>:<artifactId>:<version>} for a POM profile or {@code external} for profiles from the
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                        }
                    }
                }
                project.setResolvedArtifacts(artifacts);
                project.setArtifacts(artifacts);
    
                return resolutionResult;
            }
        }
    
        private List<String> getProfileIds(List<Profile> profiles) {
            return profiles.stream().map(Profile::getId).collect(Collectors.toList());
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                Set<String> profileIds = new HashSet<>();
    
                for (Profile profile : m.getProfiles()) {
                    String prefix = "profiles.profile[" + profile.getId() + "].";
    
                    validateProfileId(prefix, "id", problems, Severity.ERROR, Version.V40, profile.getId(), null, m);
    
                    if (!profileIds.add(profile.getId())) {
                        addViolation(
                                problems,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top