- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getProfiles (0.48 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java
/** * Defines external profiles that may be activated for the given model. * Those are external profiles usually defined in {@link org.apache.maven.api.settings.Settings#getProfiles()}. */ @Nonnull Collection<Profile> getProfiles(); /** * List of profile ids that have been explicitly activated by the user. */ @Nonnull List<String> getActiveProfileIds(); /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 10 07:30:49 UTC 2025 - 16.3K bytes - Viewed (0) -
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) -
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) -
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/DefaultProjectBuilder.java
modelBuildingRequest.requestType(ModelBuilderRequest.RequestType.BUILD_PROJECT); modelBuildingRequest.profiles( request.getProfiles() != null ? request.getProfiles().stream() .map(org.apache.maven.model.Profile::getDelegate) .toList() : null);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 51.8K bytes - Viewed (0) -
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)));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Oct 28 13:01:07 UTC 2025 - 43.2K bytes - Viewed (0)