Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for ActivationFile (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. 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);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. 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 {
    
        @Inject
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. 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>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 22 11:03:29 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  5. 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);
                    }
                    // Exists
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 43.1K bytes
    - Click Count (0)
  6. 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>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 33.8K bytes
    - Click Count (0)
Back to Top