- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for ActivationFile (0.04 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java
/** * Tests {@code ActivationFile}. * */ class ActivationFileTest { @Test void testHashCodeNullSafe() { new ActivationFile().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new ActivationFile().equals(null)); new ActivationFile().equals(new ActivationFile()); } @Test void testEqualsIdentity() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 1.6K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java
ActivationFile activationFile = ActivationFile.newBuilder().exists(filePath).build(); return newProfile(activationFile); } private Profile newMissingProfile(String filePath) { ActivationFile activationFile = ActivationFile.newBuilder().missing(filePath).build(); return newProfile(activationFile); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 6.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ProfileActivationFilePathInterpolator.java
import org.codehaus.plexus.interpolation.MapBasedValueSource; import org.codehaus.plexus.interpolation.RegexBasedInterpolator; /** * Finds an absolute path for {@link ActivationFile#getExists()} or {@link ActivationFile#getMissing()} * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Named @Singleton @Deprecated public class ProfileActivationFilePathInterpolator { @InjectRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 3.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java
import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.io.File; import org.apache.maven.model.Activation; import org.apache.maven.model.ActivationFile; import org.apache.maven.model.Profile; import org.apache.maven.model.building.ModelProblem.Severity; import org.apache.maven.model.building.ModelProblem.Version; import org.apache.maven.model.building.ModelProblemCollector;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 4.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
os.setVersion(profileOs.getVersion()); activation.setOs(os); } org.apache.maven.profiles.ActivationFile profileFile = profileActivation.getFile(); if (profileFile != null) { ActivationFile file = new ActivationFile(); file.setExists(profileFile.getExists()); file.setMissing(profileFile.getMissing());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java
} } private void visit(ActivationFile activationFile) { if (activationFile != null) { String org, val; // Missing org = activationFile.getMissing(); val = interpolate(org); if (org != val) { activationFile.setMissing(val); } // ExistsRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 43.1K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java
assertEquals("org.codehaus.plexus", pluginGroups.get(2)); } @Test void testRoundTripProfiles() { Random entropy = new Random(); ActivationFile af = ActivationFile.newBuilder() .exists("exists" + Long.toHexString(entropy.nextLong())) .missing("missing" + Long.toHexString(entropy.nextLong())) .build();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 6.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java
* under the License. */ package org.apache.maven.profiles.activation; import java.io.File; import java.io.IOException; import org.apache.maven.model.Activation; import org.apache.maven.model.ActivationFile; import org.apache.maven.model.Profile; import org.codehaus.plexus.interpolation.EnvarBasedValueSource; import org.codehaus.plexus.interpolation.InterpolationException;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.6K bytes - Viewed (0) -
compat/maven-compat/src/main/mdo/profiles.mdo
<description><![CDATA[ Specifies that this profile will be activated based on existence of a file. ]]></description> <association> <type>ActivationFile</type> </association> </field> </fields> </class> <!-- TODO: reproduced from maven-model/maven.mdo, instead should inherit code and link to external docs --> <class>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 22 11:03:29 UTC 2025 - 13.8K bytes - Viewed (0) -
api/maven-api-settings/src/main/mdo/settings.mdo
<version>1.0.0+</version> <description> Specifies that this profile will be activated based on existence of a file. </description> <association> <type>ActivationFile</type> </association> </field> <field> <name>packaging</name> <version>1.2.0+</version> <type>String</type> <description>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 33.8K bytes - Viewed (0)