- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 33 for Activation (0.24 sec)
-
maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java
.name("name" + Long.toHexString(entropy.nextLong())) .version("version" + Long.toHexString(entropy.nextLong())) .build(); Activation a = Activation.newBuilder() .activeByDefault(entropy.nextBoolean()) .jdk("jdk" + Long.toHexString(entropy.nextLong())) .file(af) .property(ap) .os(ao)
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 6.7K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
private static final String JDK_VERSION = System.getProperty("java.version"); public boolean isActive(Profile profile) throws ProfileActivationException { Activation activation = profile.getActivation(); String jdk = activation.getJdk(); // null case is covered by canDetermineActivation(), so we can do a straight startsWith() here. if (jdk.startsWith("[") || jdk.startsWith("(")) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Sep 14 11:48:15 GMT 2023 - 3K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
+ ") with new instance from source: " + profile.getSource()); } profilesById.put(profile.getId(), profile); Activation activation = profile.getActivation(); if (activation != null && activation.isActiveByDefault()) { activateAsDefault(profileId); } } /* (non-Javadoc)
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Jun 15 14:24:56 GMT 2023 - 6.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileActivationContext.java
import java.util.Map; import java.util.Properties; import java.util.stream.Collectors; import org.apache.maven.api.services.model.*; /** * Describes the environmental context used to determine the activation status of profiles. * */ public class DefaultProfileActivationContext implements ProfileActivationContext { private List<String> activeProfileIds = Collections.emptyList();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java
*/ public void activateOptionalProfile(String id) { this.activations.put(id, ActivationSettings.ACTIVATION_OPTIONAL); } /** * Mark a profile as required and deactivated. * @param id The identifier of the profile. */ public void deactivateRequiredProfile(String id) { this.activations.put(id, ActivationSettings.DEACTIVATION_REQUIRED); } /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 5.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileSelector.java
/** * Determines the profiles which are active in the specified activation context. Active profiles will eventually be * injected into the model. * * @param profiles The profiles whose activation status should be determined, must not be {@code null}. * @param context The environmental context used to determine the activation status of a profile, must not be * {@code null}.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.8K bytes - Viewed (0) -
maven-core/src/test/resources/projects/transform/before.pom
</build> <profiles> <profile> <id>default-active</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>
Plain Text - Registered: Sun Mar 31 03:35:09 GMT 2024 - Last Modified: Thu Sep 14 07:51:37 GMT 2023 - 3.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PackagingProfileActivator.java
import org.apache.maven.api.di.Singleton; import org.apache.maven.api.model.Activation; import org.apache.maven.api.model.Profile; import org.apache.maven.api.services.ModelProblemCollector; import org.apache.maven.api.services.model.ProfileActivationContext; import org.apache.maven.api.services.model.ProfileActivator; /** * Determines profile activation based on the project's packaging. */ @Named("packaging") @Singleton
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.3K bytes - Viewed (0) -
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)); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivationContext.java
* from the runtime environment like {@link System#getProperties()} and environment variables. * * @return The execution properties, never {@code null}. */ Map<String, String> getSystemProperties(); /** * Gets the user properties to use for interpolation and profile activation. The user properties have been
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.8K bytes - Viewed (0)