Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getMissing (0.08 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java

            boolean missing;
    
            if (StringUtils.isNotEmpty(file.getExists())) {
                path = file.getExists();
                missing = false;
            } else if (StringUtils.isNotEmpty(file.getMissing())) {
                path = file.getMissing();
                missing = true;
            } else {
                return false;
            }
    
            try {
                path = profileActivationFilePathInterpolator.interpolate(path, context);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

                        return file.exists();
                    }
    
                    // check if the file is missing, if it is then the profile will be active
                    fileString = actFile.getMissing();
    
                    if (fileString != null && !fileString.isEmpty()) {
                        fileString = interpolator.interpolate(fileString, "").replace("\\", "/");
                        File file = new File(fileString);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                if (activationFile != null) {
                    String org, val;
                    // Missing
                    org = activationFile.getMissing();
                    val = interpolate(org);
                    if (org != val) {
                        activationFile.setMissing(val);
                    }
                    // Exists
                    org = activationFile.getExists();
                    val = interpolate(org);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 43.1K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                            new Interpolation(fa, s -> profileActivationFilePathInterpolator.interpolate(s, context));
                    nt.performFor(fa.getExists(), "exists", fa::setExists);
                    nt.performFor(fa.getMissing(), "missing", fa::setMissing);
                });
                a.map(Activation::getOs).ifPresent(oa -> {
                    Interpolation nt = new Interpolation(oa, interpolator::interpolate);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:08 UTC 2025
    - 55.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                stk.push(new ActivationFrame("exists", Optional.empty()));
                validator.accept(fa.getExists());
                stk.peek().location = "missing";
                validator.accept(fa.getMissing());
                stk.pop();
                stk.pop();
            });
            root.map(Activation::getOs).ifPresent(oa -> {
                stk.push(new ActivationFrame("os", Optional.of(oa)));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 03 15:06:05 UTC 2025
    - 66.8K bytes
    - Viewed (0)
Back to top