Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for setProfiles (0.17 sec)

  1. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                    .flatMap(p -> p.getModel().getDelegate().getProfiles().stream())
                    .map(Profile::getId);
            final Stream<String> settingsProfiles =
                    session.getSettings().getProfiles().stream().map(org.apache.maven.settings.Profile::getId);
            final Stream<String> superPomProfiles = superPomModels.values().stream()
                    .flatMap(p -> p.getProfiles().stream())
                    .map(Profile::getId);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

            Settings settings = readSettingsFile(settingsFile);
    
            ProjectBuildingRequest config = new DefaultProjectBuildingRequest();
    
            for (org.apache.maven.settings.Profile rawProfile : settings.getProfiles()) {
                Profile profile = SettingsUtils.convertFromSettingsProfile(rawProfile);
                config.addProfile(profile);
            }
    
            String localRepoUrl =
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

        /**
         * Gets the external profiles that were active during model building. External profiles are those that were
         * contributed by {@link ModelBuilderRequest#getProfiles()}.
         *
         * @return The active external profiles or an empty list if none, never {@code null}.
         */
        @Nonnull
        List<Profile> getActiveExternalProfiles();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

                request.addMirror(mirror);
            }
    
            request.setActiveProfiles(settings.getActiveProfiles());
    
            for (org.apache.maven.settings.Profile rawProfile : settings.getProfiles()) {
                request.addProfile(SettingsUtils.convertFromSettingsProfile(rawProfile));
    
                if (settings.getActiveProfiles().contains(rawProfile.getId())) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jun 19 15:04:04 GMT 2023
    - 8.1K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

                    validateStringNotEmpty(problems, "mirrors.mirror.mirrorOf", mirror.getMirrorOf(), mirror.getId());
                }
            }
    
            List<Profile> profiles = settings.getProfiles();
    
            if (profiles != null) {
                Set<String> profileIds = new HashSet<>();
    
                for (Profile profile : profiles) {
                    if (!profileIds.add(profile.getId())) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

                    "<plugin-all-profiles-out>Outside ||${project.basedir}||</plugin-all-profiles-out>");
    
            // =============================================
            Profile activeProfile = originalModel.getProfiles().stream()
                    .filter(profile -> profile.getId().equals("activeProfile"))
                    .findFirst()
                    .orElse(null);
            assertNotNull(activeProfile, "Unable to find the activeProfile");
    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)
  7. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

                            mavenSystemHome != null ? mavenSystemHome.resolve("settings.xml") : null,
                            mavenUserHome.resolve("settings.xml"))
                    .getEffectiveSettings();
    
            settings.getProfiles();
    
            // local repository
            String localRepository = settings.getLocalRepository() != null
                    ? settings.getLocalRepository()
                    : mavenUserHome.resolve("repository").toString();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                    .mirrors(request.getMirrors().stream().map(Mirror::getDelegate).collect(Collectors.toList()))
                    .profiles(request.getProfiles().stream()
                            .map(Profile::getDelegate)
                            .map(SettingsUtilsV4::convertToSettingsProfile)
                            .collect(Collectors.toList()))
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                modelBuildingRequest.processPlugins(request.isProcessPlugins());
                modelBuildingRequest.profiles(
                        request.getProfiles() != null
                                ? request.getProfiles().stream()
                                        .map(org.apache.maven.model.Profile::getDelegate)
                                        .toList()
                                : null);
    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)
  10. api/maven-api-settings/src/main/mdo/settings.mdo

        public java.util.Map<String, Profile> getProfilesAsMap() {
            if (profileMap == null) {
                profileMap = new java.util.LinkedHashMap<String, Profile>();
                if (getProfiles() != null) {
                    for (Profile profile : getProfiles()) {
                        profileMap.put(profile.getId(), profile);
                    }
                }
            }
            return profileMap;
        }
                ]]>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 33.3K bytes
    - Viewed (0)
Back to top