Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for interpolate (0.17 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelInterpolator.java

    public interface ModelInterpolator {
    
        /**
         * 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}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

                        fileString = interpolator.interpolate(fileString, "").replace("\\", "/");
                        File file = new File(fileString);
                        return !file.exists();
                    }
                } catch (InterpolationException e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to interpolate missing file location for profile activator: " + fileString, e);
                    } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ProfileActivationFilePathInterpolator.java

                }
            });
    
            interpolator.addValueSource(new MapBasedValueSource(context.getProjectProperties()));
            interpolator.addValueSource(new MapBasedValueSource(context.getUserProperties()));
            interpolator.addValueSource(new MapBasedValueSource(context.getSystemProperties()));
    
            String absolutePath = interpolator.interpolate(path, "");
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/project/interpolation/ModelInterpolator.java

        /**
         * @deprecated Use {@link ModelInterpolator#interpolate(Model, File, ProjectBuilderConfiguration, boolean)} instead.
         */
        @Deprecated
        Model interpolate(Model project, Map<String, ?> context) throws ModelInterpolationException;
    
        /**
         * @deprecated Use {@link ModelInterpolator#interpolate(Model, File, ProjectBuilderConfiguration, boolean)} instead.
         */
        @Deprecated
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsBuilder.java

            }
    
            toolchains = interpolate(toolchains, request, problems);
    
            return toolchains;
        }
    
        private PersistedToolchains interpolate(
                PersistedToolchains toolchains, ToolchainsBuilderRequest request, List<BuilderProblem> problems) {
    
            RegexBasedInterpolator interpolator = new RegexBasedInterpolator();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/FileProfileActivator.java

            }
    
            try {
                path = profileActivationFilePathInterpolator.interpolate(path, context);
            } catch (InterpolationException e) {
                problems.add(
                        BuilderProblem.Severity.ERROR,
                        ModelProblem.Version.BASE,
                        "Failed to interpolate file location " + path + " for profile " + profile.getId() + ": "
                                + e.getMessage(),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

        interface Transformer {
            /**
             * Interpolate the value read from the xml document
             *
             * @param source    The source value
             * @param fieldName A description of the field being interpolated. The implementation may use this to
             *                  log stuff.
             * @return the interpolated value
             */
            String transform(String source, String fieldName);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  8. 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.
     *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            if (path == null || path.isEmpty()) {
                // TODO This replacing shouldn't be necessary as user.home should be in the
                // context of the container and thus the value would be interpolated by Plexus
                String basedir = System.getProperty(basedirSysProp);
                if (basedir == null) {
                    basedir = System.getProperty("user.dir");
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  10. maven-core/src/site/apt/configuration-management.apt

     have properties file (something I would like to avoid) say they don't
     contribute in any meaningful way to information in the POM. For example a
     properties file could be used the specify $ so it can be interpolated in
     <developerConnection/> but you couldn't use a properties file to specify the
     version of your project say. Anyway, food for thought to begin with.
    
     - elements that are critical for pom dissemination
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top