Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for activeProfile (0.38 sec)

  1. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            Profile activeProfile = originalModel.getProfiles().stream()
                    .filter(profile -> profile.getId().equals("activeProfile"))
                    .findFirst()
                    .orElse(null);
            assertNotNull(activeProfile, "Unable to find the activeProfile");
    
            assertTrue(
                    isActiveProfile(pom.getMavenProject(), activeProfile),
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
  2. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            // profile injection
            for (Profile activeProfile : activePomProfiles) {
                profileInjector.injectProfile(inputModel, activeProfile, request, problems);
            }
    
            modelValidator.validateExternalProfiles(activeExternalProfiles, inputModel, request, problems);
            for (Profile activeProfile : activeExternalProfiles) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilderResult.java

        public DefaultModelBuilderResult setActivePomProfiles(String modelId, List<Profile> activeProfiles) {
            // Intentionally notNull because Super POM may not contain a modelId
            Objects.requireNonNull(modelId, "modelId cannot be null");
    
            if (activeProfiles != null) {
                this.activePomProfiles.put(modelId, new ArrayList<>(activeProfiles));
            } else {
                this.activePomProfiles.remove(modelId);
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileSelector.java

                        } else {
                            activeProfiles.add(profile);
                        }
                    }
                }
            }
    
            if (!activatedPomProfileNotByDefault) {
                activeProfiles.addAll(activePomProfilesByDefault);
            }
    
            return activeProfiles;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

                        } else {
                            activeProfiles.add(profile);
                        }
                    }
                }
            }
    
            if (!activatedPomProfileNotByDefault) {
                activeProfiles.addAll(activePomProfilesByDefault);
            }
    
            return activeProfiles;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            return interactiveMode;
        }
    
        @Override
        public MavenExecutionRequest setActiveProfiles(List<String> activeProfiles) {
            if (activeProfiles != null) {
                this.profileActivation.overwriteActiveProfiles(activeProfiles);
            }
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest setInactiveProfiles(List<String> inactiveProfiles) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 31K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            return remotePluginRepositories;
        }
    
        public void setActiveProfiles(List<Profile> activeProfiles) {
            this.activeProfiles = activeProfiles;
        }
    
        public List<Profile> getActiveProfiles() {
            return activeProfiles;
        }
    
        public void setInjectedProfileIds(String source, List<String> injectedProfileIds) {
            if (injectedProfileIds != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 17:18:13 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                            .map(Profile::getDelegate)
                            .map(SettingsUtilsV4::convertToSettingsProfile)
                            .collect(Collectors.toList()))
                    .activeProfiles(request.getActiveProfiles())
                    .pluginGroups(request.getPluginGroups())
                    .build());
        }
    
        @Deprecated
        public List<MavenProject> getSortedProjects() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. api/maven-api-settings/src/main/mdo/settings.mdo

              <association>
                <type>Profile</type>
                <multiplicity>*</multiplicity>
              </association>
            </field>
            <field xdoc.separator="blank">
              <name>activeProfiles</name>
              <version>1.0.0+</version>
              <description>
                List of manually-activated build profiles, specified in the order in which
                they should be applied.
              </description>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Feb 17 18:40:11 UTC 2024
    - 33.3K bytes
    - Viewed (0)
Back to top