Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for createInterpolator (0.24 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            Scm scm = Scm.newBuilder().connection("${test}/somepath").build();
            Model model = Model.newBuilder().scm(scm).build();
    
            ModelInterpolator interpolator = createInterpolator();
    
            final SimpleProblemCollector collector = new SimpleProblemCollector();
            Model out = interpolator.interpolateModel(model, new File("."), createModelBuildingRequest(context), collector);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

            InnerInterpolator innerInterpolator = createInterpolator(valueSources, postProcessors, problems, config);
    
            return new MavenTransformer(innerInterpolator::interpolate).visit(model);
        }
    
        private InnerInterpolator createInterpolator(
                List<? extends ValueSource> valueSources,
                List<? extends InterpolationPostProcessor> postProcessors,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java

    import org.codehaus.plexus.interpolation.BasicInterpolator;
    import org.codehaus.plexus.interpolation.InterpolationException;
    
    import static org.apache.maven.cling.invoker.Utils.createInterpolator;
    
    public class CommonsCliEncryptOptions extends CommonsCliOptions implements EncryptOptions {
        public static CommonsCliEncryptOptions parse(String[] args) throws ParseException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java

        public RegexBasedModelInterpolator(PathTranslator pathTranslator) {
            super(pathTranslator);
        }
    
        public RegexBasedModelInterpolator(Properties envars) {}
    
        protected Interpolator createInterpolator() {
            return new RegexBasedInterpolator(true);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolatorTest.java

     * under the License.
     */
    package org.apache.maven.model.interpolation;
    
    public class StringVisitorModelInterpolatorTest extends AbstractModelInterpolatorTest {
        protected ModelInterpolator createInterpolator() {
            return new StringVisitorModelInterpolator(null, null, bd -> true);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                if (error != null) {
                    throw error;
                }
            } finally {
                getInterpolator().clearAnswers();
            }
        }
    
        protected Interpolator createInterpolator() {
            StringSearchInterpolator interpolator = new StringSearchInterpolator();
            interpolator.setCacheAnswers(true);
    
            return interpolator;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                List<RemoteRepository> repositories = RepositoryUtils.toRepos(request.getPluginArtifactRepositories());
                Function<String, String> interpolator = createInterpolator(request);
    
                return resolveCoreExtensions(repoSession, repositories, providedArtifacts, extensions, interpolator);
            }
        }
    
        private List<CoreExtensionEntry> resolveCoreExtensions(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

            this.recursionInterceptor = recursionInterceptor;
        }
    
        protected abstract Interpolator createInterpolator();
    
        public void initialize() throws InitializationException {
            interpolator = createInterpolator();
            recursionInterceptor = new PrefixAwareRecursionInterceptor(PROJECT_PREFIXES);
        }
    
        protected final Interpolator getInterpolator() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

    import org.codehaus.plexus.interpolation.BasicInterpolator;
    import org.codehaus.plexus.interpolation.InterpolationException;
    
    import static org.apache.maven.cling.invoker.Utils.createInterpolator;
    
    public class CommonsCliMavenOptions extends CommonsCliOptions implements MavenOptions {
        public static CommonsCliMavenOptions parse(String source, String[] args) throws ParseException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

            for (String key : properties.keySet()) {
                map.put(key, properties.get(key));
            }
            return map;
        }
    
        @Nonnull
        public static BasicInterpolator createInterpolator(Collection<Map<String, String>> properties) {
            StringSearchInterpolator interpolator = new StringSearchInterpolator();
            interpolator.addValueSource(new AbstractValueSource(false) {
                @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top