- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for getProfiles (0.05 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
.childScmDeveloperConnectionInheritAppendPath(null) .build() : null); builder.profiles(prune(model.getProfiles())); model = builder.build(); String modelVersion = new MavenModelVersion().getModelVersion(model); if (!ModelBuilder.MODEL_VERSION_4_0_0.equals(modelVersion) && !preserveModelVersion) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 27 07:40:26 UTC 2025 - 21.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java
List<Profile> getActivePomProfiles(String modelId); /** * Gets the external profiles that were active during model building. External profiles are those that were * contributed by {@link ModelBuildingRequest#getProfiles()}. * * @return The active external profiles or an empty list if none, never {@code null}. */ List<Profile> getActiveExternalProfiles(); /**
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 4.2K bytes - Viewed (0) -
impl/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 localRepoPath = System.getProperty(
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 5.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
// do nothing for now } } request.setActiveProfiles(settings.getActiveProfiles()); for (Profile rawProfile : settings.getProfiles()) { request.addProfile(SettingsUtils.convertFromSettingsProfile(rawProfile)); if (settings.getActiveProfiles().contains(rawProfile.getId())) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 19 18:49:57 UTC 2025 - 12K bytes - Viewed (0) -
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(); /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 4.2K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java
request.setRootDirectory(Paths.get("src/test/resources/consumer/simple")); Model model = builder.build(session, project, Sources.buildSource(file)); assertNotNull(model); assertTrue(model.getProfiles().isEmpty()); } @Test void testScmInheritance() throws Exception { Model model = Model.newBuilder() .scm(Scm.newBuilder()
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 7.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java
* * @param profile */ void addProfile(Profile profile); void setProfiles(List<Profile> profiles); List<Profile> getProfiles(); /** * Gets the start time of the build. * * @return The start time of the build or {@code null} if unknown. */ @DeprecatedRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 10:13:56 UTC 2025 - 7.5K bytes - Viewed (0) -
impl/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);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon May 05 16:58:52 UTC 2025 - 28.7K bytes - Viewed (1) -
impl/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())) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 10.6K bytes - Viewed (0)