- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 78 for Activation (0.18 seconds)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java
@Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { Activation activation = profile.getActivation(); if (activation == null) { return false; } ActivationFile file = activation.getFile(); if (file == null) { return false; } String path; boolean missing;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java
.setLocation(profile.getLocation("")) .setException(e)); return false; } } return isActive; } private boolean isActiveByDefault(Profile profile) { Activation activation = profile.getActivation();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java
final ActivationSettings settings = ActivationSettings.of(active, optional); this.activations.add(new ProjectActivationSettings(selector, settings)); } private Stream<ProjectActivationSettings> getProjects(final Predicate<ActivationSettings> predicate) { return this.activations.stream().filter(activation -> predicate.test(activation.activationSettings)); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 7.2K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/factory/simple.xml
</build> <profiles> <profile> <id>default</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> </profile> <profile> <id>file</id> <activation> <file> <exists>simple.xml</exists> </file>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/ProfileActivator.java
/** * Determines whether specified activation method is present in configuration or not. It should help to have AND * between activation conditions * Need for solving https://issues.apache.org/jira/browse/MNG-4565 * @param profile The profile whose activation status should be determined, must not be {@code null}. * @param context The environmental context used to determine the activation status of the profile, must not beCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java
@Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { Activation activation = profile.getActivation(); if (activation == null) { return false; } ActivationProperty property = activation.getProperty(); if (property == null) { return false; } String name = property.getName();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
profile.setSource("profiles.xml"); org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation(); if (profileActivation != null) { Activation activation = new Activation(); activation.setActiveByDefault(profileActivation.isActiveByDefault()); activation.setJdk(profileActivation.getJdk());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/factory/complex.xml
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.5K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
result.getWarnings().get(0)); assertEquals( "'profiles.profile[missing-project-version].activation.file.missing' " + "Failed to interpolate profile activation property ${project.version}/test.txt: " + "${project.version} expressions are not supported during profile activation.", result.getWarnings().get(1));
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 33.9K bytes - Click Count (0) -
apache-maven/src/assembly/maven/conf/settings.xml
| | This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo. <profile> <id>jdk-1.4</id> <activation> <jdk>1.4</jdk> </activation> <repositories> <repository> <id>jdk14</id> <name>Repository for JDK 1.4 builds</name>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 22 07:44:50 GMT 2025 - 11.1K bytes - Click Count (0)