Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for interrogate (0.84 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ModelInterpolator.java

         * Interpolates expressions in the specified model. Note that implementations are free to either interpolate the
         * provided model directly or to create a clone of the model and interpolate the clone. Callers should always use
         * the returned model and must not rely on the input model being updated.
         *
         * @param model The model to interpolate, must not be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

            return new InnerInterpolator() {
                @Override
                public String interpolate(String value) {
                    if (value != null && value.contains("${")) {
                        String c = cache.get(value);
                        if (c == null) {
                            try {
                                c = interpolator.interpolate(value, recursionInterceptor);
                            } catch (InterpolationException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         * @param callback The function to resolve variable values not found in the map.
         */
        default void interpolate(@Nonnull Map<String, String> properties, @Nullable UnaryOperator<String> callback) {
            interpolate(properties, callback, null, true);
        }
    
        /**
         * Interpolates the values in the given map using the provided callback function.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Jan 13 16:14:35 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

            problems.setSource("");
    
            userToolchains = interpolate(userToolchains, problems);
    
            if (hasErrors(problems.getProblems())) {
                throw new ToolchainsBuildingException(problems.getProblems());
            }
    
            return new DefaultToolchainsBuildingResult(userToolchains, problems.getProblems());
        }
    
        private PersistedToolchains interpolate(PersistedToolchains toolchains, ProblemCollector problems) {
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 05 09:37:42 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java

                return false;
            }
    
            try {
                path = profileActivationFilePathInterpolator.interpolate(path, context);
            } catch (InterpolationException e) {
                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .setMessage("Failed to interpolate file location " + path + " for profile " + profile.getId() + ": "
                                + e.getMessage())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                }
                printWriter.accept(sb.toString());
            }
        }
    
        @Override
        public final Options interpolate(UnaryOperator<String> callback) {
            try {
                // now that we have properties, interpolate all arguments
                Interpolator interpolator = createInterpolator();
                CommandLine.Builder commandLineBuilder = CommandLine.builder();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Oct 08 07:36:42 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

        public StringSearchModelInterpolator() {}
    
        public StringSearchModelInterpolator(PathTranslator pathTranslator) {
            super(pathTranslator);
        }
    
        @Override
        public Model interpolate(Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled)
                throws ModelInterpolationException {
            interpolateObject(model, model, projectDir, config, debugEnabled);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

        }
    
        @Override
        public MavenOptions interpolate(UnaryOperator<String> callback) {
            ArrayList<MavenOptions> interpolatedOptions = new ArrayList<>(options.size());
            for (MavenOptions o : options) {
                interpolatedOptions.add((MavenOptions) o.interpolate(callback));
            }
            return layerMavenOptions(interpolatedOptions);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/interpolation/StringSearchModelInterpolatorTest.java

    import org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException;
    import org.junit.jupiter.api.Test;
    
    class StringSearchModelInterpolatorTest {
    
        @Test
        void interpolate() throws ModelInterpolationException, InitializationException {
            Model model = Model.newBuilder()
                    .groupId("group")
                    .location("groupId", InputLocation.of(InputSource.of("model", null)))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertViolations(result, 0, 0, 2);
    
            assertEquals(
                    "'profiles.profile[exists-project-version].activation.file.exists' "
                            + "Failed to interpolate profile activation property ${project.version}/test.txt: "
                            + "${project.version} expressions are not supported during profile activation.",
                    result.getWarnings().get(0));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 33.9K bytes
    - Viewed (0)
Back to top