Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for addProfiles (0.05 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

                projectBuildingRequest.setBuildStartInstant(getStartInstant());
            }
    
            return projectBuildingRequest;
        }
    
        @Override
        public MavenExecutionRequest addProfile(Profile profile) {
            Objects.requireNonNull(profile, "profile cannot be null");
    
            for (Profile p : getProfiles()) {
                if (p.getId() != null && p.getId().equals(profile.getId())) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

         * @since 4.0.0
         */
        MavenExecutionRequest setIgnoreTransitiveRepositories(boolean ignoreTransitiveRepositories);
    
        // Profiles
        List<Profile> getProfiles();
    
        MavenExecutionRequest addProfile(Profile profile);
    
        MavenExecutionRequest setProfiles(List<Profile> profiles);
    
        /**
         * @deprecated Since Maven 4: use {@link #getProfileActivation()}.
         */
        @Deprecated
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. 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)
  4. 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