- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for activeProfiles (0.07 seconds)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java
*/ public List<Profile> getActiveProfiles() { return activeProfiles; } /** * Sets the active profiles from the model. * * @param activeProfiles The active profiles, may be {@code null}. */ public void setActiveProfiles(List<Profile> activeProfiles) { this.activeProfiles = activeProfiles; } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 5.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java
public DefaultModelBuildingResult setActivePomProfiles(String modelId, List<Profile> activeProfiles) { // Intentionally notNull because Super POM may not contain a modelId Objects.requireNonNull(modelId, "modelId cannot null"); if (activeProfiles != null) { this.activePomProfiles.put(modelId, new ArrayList<>(activeProfiles)); } else { this.activePomProfiles.remove(modelId); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.6K bytes - Click Count (0) -
impl/maven-core/src/test/projects/plugin-manager/project-with-plugin-classpath-ordering/sub/settings-template.xml
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Jul 21 17:09:50 GMT 2025 - 1.7K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
List<org.apache.maven.api.model.Profile> activeProfiles = new DefaultProject(session, project).getDeclaredActiveProfiles(); assertEquals(1, activeProfiles.size()); org.apache.maven.api.model.Profile profile = activeProfiles.get(0); assertEquals("active-by-default", profile.getId());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 33.7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java
<enabled>false</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles> <activeProfiles> <activeProfile>oss-development</activeProfile> </activeProfiles> </settings>"""; Path dotMvn = cwd.resolve(".mvn"); Files.createDirectories(dotMvn); Path projectExtensions = dotMvn.resolve("settings.xml");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 21 12:17:55 GMT 2025 - 9.3K bytes - Click Count (0) -
impl/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) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Aug 29 12:47:20 GMT 2025 - 67K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* <ul> * <li>Command line activation using the -P flag</li> * <li>Maven settings activation in settings.xml via <activeProfiles></li> * <li>Automatic activation via <activation> conditions</li> * <li>The default active profile (marked with <activeByDefault>true</activeByDefault>)</li> * </ul> * <p>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 15.3K bytes - Click Count (0) -
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>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun May 18 09:15:56 GMT 2025 - 33.8K bytes - Click Count (0) -
impl/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),
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 94.8K bytes - Click Count (0)