- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for ActivationOS (0.18 sec)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java
Profile profile = newProfile(ActivationOS.newBuilder().name("windows")); assertActivation(false, profile, newContext(null, newProperties("linux", "6.5.0-1014-aws", "amd64"))); assertActivation(true, profile, newContext(null, newProperties("windows", "6.5.0-1014-aws", "aarch64"))); } @Test void testNegatedName() { Profile profile = newProfile(ActivationOS.newBuilder().name("!windows"));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.2K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java
/** * Tests {@code ActivationOS}. * */ class ActivationOSTest { @Test void testHashCodeNullSafe() { new ActivationOS().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new ActivationOS().equals(null)); new ActivationOS().equals(new ActivationOS()); } @Test void testEqualsIdentity() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
import org.apache.maven.model.ActivationOS; import org.apache.maven.model.Profile; import org.apache.maven.model.building.ModelProblemCollector; import org.apache.maven.model.profile.ProfileActivationContext; import org.apache.maven.utils.Os; /** * Determines profile activation based on the operating system of the current runtime platform. * * @see ActivationOS
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
osActivated.setId( "os-profile" ); Activation osActivation = new Activation(); ActivationOS activationOS = new ActivationOS(); activationOS.setName( "!dddd" ); osActivation.setOs( activationOS ); osActivated.setActivation( osActivation ); Properties props = System.getProperties();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
} finally { stk.pop(); } } @Override protected ActivationOS.Builder transformActivationOS_Arch( Supplier<? extends ActivationOS.Builder> creator, ActivationOS.Builder builder, ActivationOS target) { stk.push(nextFrame("arch")); try { return super.transformActivationOS_Arch(creator, builder, target);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 77.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
prop.setValue(profileProp.getValue()); activation.setProperty(prop); } ActivationOS profileOs = profileActivation.getOs(); if (profileOs != null) { org.apache.maven.model.ActivationOS os = new org.apache.maven.model.ActivationOS(); os.setArch(profileOs.getArch()); os.setFamily(profileOs.getFamily());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.profiles.activation; import org.apache.maven.model.Activation; import org.apache.maven.model.ActivationOS; import org.apache.maven.model.Profile; import org.apache.maven.utils.Os; /** * OperatingSystemProfileActivator */ @Deprecated public class OperatingSystemProfileActivator implements ProfileActivator {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.7K bytes - Viewed (0) -
compat/maven-compat/src/main/mdo/profiles.mdo
<description><![CDATA[ Specifies that this profile will be activated when matching OS attributes are detected. ]]></description> <association> <type>ActivationOS</type> </association> </field> <field> <name>property</name> <version>1.0.0</version> <description><![CDATA[
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.8K bytes - Viewed (0) -
api/maven-api-settings/src/main/mdo/settings.mdo
<description> Specifies that this profile will be activated when matching OS attributes are detected. </description> <association> <type>ActivationOS</type> </association> </field> <field> <name>property</name> <version>1.0.0+</version> <description>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Oct 08 13:46:42 UTC 2024 - 33.5K bytes - Viewed (0) -
api/maven-api-model/src/main/mdo/maven.mdo
<description>Specifies that this profile will be activated when matching operating system attributes are detected.</description> <association> <type>ActivationOS</type> </association> </field> <field> <name>property</name> <version>4.0.0+</version>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 09 11:07:31 UTC 2024 - 115.1K bytes - Viewed (0)