Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for addProfile (1.46 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

            for (org.apache.maven.settings.Profile rawProfile : settings.getProfiles()) {
                Profile profile = SettingsUtils.convertFromSettingsProfile(rawProfile);
                config.addProfile(profile);
            }
    
            String localRepoPath = System.getProperty(
                    "maven.repo.local",
                    System.getProperty("user.home") + File.separator + ".m2" + File.separator + "repository");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java

            if (profiles != null) {
                this.profiles = new ArrayList<>(profiles);
            } else {
                this.profiles.clear();
            }
        }
    
        @Override
        public void addProfile(Profile profile) {
            profiles.add(profile);
        }
    
        @Override
        public List<Profile> getProfiles() {
            return profiles;
        }
    
        @Deprecated
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

         * configuration like the MavenCLI settings.xml file, or from a custom dialog in an IDE integration like M2Eclipse.
         *
         * @param profile
         */
        void addProfile(Profile profile);
    
        void setProfiles(List<Profile> profiles);
    
        List<Profile> getProfiles();
    
        /**
         * Gets the start time of the build.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

                                1, 1, new org.apache.maven.model.InputSource(InputSource.of(null, "settings.xml", null))));
                externalProfile.setId("external-profile");
                request.addProfile(externalProfile);
                request.setActiveProfileIds(List.of(externalProfile.getId()));
    
                MavenProject project = projectBuilder.build(source, request).getProject();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                remotePluginRepositories.put(pluginRepository.getId(), pluginRepository);
            }
    
            // profiles (if active)
            for (Profile rawProfile : settings.getProfiles()) {
                request.addProfile(
                        new org.apache.maven.model.Profile(SettingsUtilsV4.convertFromSettingsProfile(rawProfile)));
    
                if (settings.getActiveProfiles().contains(rawProfile.getId())) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
Back to top