Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 50 for interpolate (0.18 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

            }
        }
    
        public void substitute() {
            substitute(callback);
        }
    
        public void substitute(UnaryOperator<String> callback) {
            new DefaultInterpolator().interpolate(storage, callback);
        }
    
        /**
         * Writes the properties file to the given writer, preserving as much of its
         * structure as possible.
         *
         * @param out the writer
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

     *
     * @since TBD
     */
    @Singleton
    @Named
    class PomInlinerTransformer extends TransformerSupport {
        private final Interpolator interpolator;
    
        @Inject
        PomInlinerTransformer(Interpolator interpolator) {
            this.interpolator = requireNonNull(interpolator);
        }
    
        @Override
        public InstallRequest remapInstallArtifacts(RepositorySystemSession session, InstallRequest request) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/ExtensionConfigurationModule.java

                if (configuration == null) {
                    configuration = XmlNode.newInstance("configuration");
                }
                UnaryOperator<String> cb = Interpolator.memoize(callback);
                UnaryOperator<String> it = s -> interpolator.interpolate(s, cb);
                configuration = new ExtensionInterpolator(it).transform(configuration);
    
                binder.bind(XmlNode.class)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/ExtensionConfigurationModule.java

                if (configuration == null) {
                    configuration = XmlNode.newInstance("configuration");
                }
                UnaryOperator<String> cb = Interpolator.memoize(callback);
                UnaryOperator<String> it = s -> interpolator.interpolate(s, cb);
                configuration = new ExtensionInterpolator(it).transform(configuration);
    
                binder.bind(XmlNode.class)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                                Severity.WARNING,
                                Version.V30,
                                prefix + path,
                                null,
                                "Failed to interpolate profile activation property " + s + ": " + propertyName
                                        + " expressions are not supported during profile activation.",
                                locationSupplier.get());
                    }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                 */
                Plugin plugin = Plugin.newBuilder()
                        .groupId(interpolator.apply(extension.getGroupId()))
                        .artifactId(interpolator.apply(extension.getArtifactId()))
                        .version(interpolator.apply(extension.getVersion()))
                        .build();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java

                 */
                Plugin plugin = Plugin.newBuilder()
                        .groupId(interpolator.apply(extension.getGroupId()))
                        .artifactId(interpolator.apply(extension.getArtifactId()))
                        .version(interpolator.apply(extension.getVersion()))
                        .build();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            }
    
            populateProperties(cliRequest.commandLine, paths, cliRequest.systemProperties, cliRequest.userProperties);
    
            // now that we have properties, interpolate all arguments
            UnaryOperator<String> callback = v -> {
                String r = paths.getProperty(v);
                if (r == null) {
                    r = cliRequest.systemProperties.getProperty(v);
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

                            .connection("${test}/somepath")
                            .build())
                    .build());
    
            ModelInterpolator interpolator = createInterpolator();
    
            final SimpleProblemCollector collector = new SimpleProblemCollector();
            Model out = interpolator.interpolateModel(model, new File("."), createModelBuildingRequest(context), collector);
    
            assertProblemFree(collector);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java

     */
    package org.apache.maven.project.interpolation;
    
    import java.io.IOException;
    import java.util.Properties;
    
    import org.apache.maven.project.path.PathTranslator;
    import org.codehaus.plexus.interpolation.Interpolator;
    import org.codehaus.plexus.interpolation.RegexBasedInterpolator;
    
    /**
     * Use a regular expression search to find and resolve expressions within the POM.
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top