Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ActivationFile (0.09 sec)

  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() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (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);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (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 {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Named
    @Singleton
    @Deprecated
    public class ProfileActivationFilePathInterpolator {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                            .build();
                }
    
                @Override
                protected ActivationFile.Builder transformActivationFile_Missing(
                        Supplier<? extends ActivationFile.Builder> creator,
                        ActivationFile.Builder builder,
                        ActivationFile target) {
                    final String path = target.getMissing();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                } finally {
                    stk.pop();
                }
            }
    
            @Override
            protected ActivationFile.Builder transformActivationFile_Exists(
                    Supplier<? extends ActivationFile.Builder> creator,
                    ActivationFile.Builder builder,
                    ActivationFile target) {
                stk.push(nextFrame("exists"));
                try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  9. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 08 13:46:42 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top