Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for expressions (0.17 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

            public Object getValue(String expression) {
                Object value = valueSource.getValue(expression);
    
                if (value != null && expression.startsWith(bannedPrefix)) {
                    String msg = "The expression ${" + expression + "} is deprecated.";
                    if (newPrefix != null && !newPrefix.isEmpty()) {
                        msg += " Please use ${" + newPrefix + expression.substring(bannedPrefix.length()) + "} instead.";
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

            List<Expression> expressions = documentation.getExpressions();
    
            Map<String, Expression> bySyntax = new HashMap<>();
    
            if (expressions != null && !expressions.isEmpty()) {
                for (Expression expression : expressions) {
                    bySyntax.put(expression.getSyntax(), expression);
                }
            }
    
            return bySyntax;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

        /**
         * Interpolates all expressions in the src parameter.
         * <p>
         * The algorithm used for each expression is:
         * <ul>
         *   <li>If it starts with either "pom." or "project.", the expression is evaluated against the model.</li>
         *   <li>If the value is null, get the value from the context.</li>
         *   <li>If the value is null, but the context contains the expression, don't replace the expression string
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 13.5K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                for (String expression : BASEDIR_EXPRESSIONS) {
                    if (s.startsWith(expression)) {
                        basedirExpr = expression;
                        break;
                    }
                }
    
                if (basedirExpr != null) {
                    if (s.length() > basedirExpr.length()) {
                        // Take out basedir expression and the leading slash
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

    import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException;
    import org.codehaus.plexus.component.configurator.expression.TypeAwareExpressionEvaluator;
    
    /**
     * Evaluator for plugin parameters expressions. Content surrounded by <code>${</code> and <code>}</code> is evaluated.
     * Recognized values are:
     * <table border="1">
     * <caption>Expression matrix</caption>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/MojoExecution.java

     * An instance of this object is bound to the {@link org.apache.maven.api.di.MojoExecutionScoped}
     * and available as {@code mojoExecution} within {@link org.apache.maven.api.plugin.annotations.Parameter}
     * expressions.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface MojoExecution {
    
        @Nonnull
        Plugin getPlugin();
    
        @Nonnull
        PluginExecution getModel();
    
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java

         * properties.
         * @return property name
         */
        @Nonnull
        String property() default "";
    
        /**
         * parameter default value, may contain <code>${...}</code> expressions which will be interpreted at
         * inject time: see
         * <a href="/ref/current/maven-core/apidocs/org/apache/maven/plugin/PluginParameterExpressionEvaluator.html">
         * PluginParameterExpressionEvaluator</a>.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelInterpolator.java

    import org.apache.maven.api.services.ModelProblemCollector;
    
    /**
     * Replaces expressions of the form <code>${token}</code> with their effective values. Effective values are basically
     * calculated from the elements of the model itself and the execution properties from the building request.
     *
     */
    public interface ModelInterpolator {
    
        /**
         * Interpolates expressions in the specified model. Note that implementations are free to either interpolate the
    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)
  9. maven-compat/src/main/java/org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java

    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.
     *
     * TODO Consolidate this logic with the PluginParameterExpressionEvaluator, minus deprecations/bans.
     */
    @Deprecated
    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)
  10. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

    import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException;
    import org.codehaus.plexus.component.configurator.expression.TypeAwareExpressionEvaluator;
    
    /**
     * Evaluator for plugin parameters expressions. Content surrounded by <code>${</code> and <code>}</code> is evaluated.
     * Recognized values are:
     * <table border="1">
     * <caption>Expression matrix</caption>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 30 23:39:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
Back to top