Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Expression (0.23 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-api-impl/src/main/java/org/apache/maven/internal/impl/model/ProfileActivationFilePathInterpolator.java

            if (basedir != null) {
                interpolator.addValueSource(new AbstractValueSource(false) {
                    @Override
                    public Object getValue(String expression) {
                        if ("basedir".equals(expression) || "project.basedir".equals(expression)) {
                            return basedir.toAbsolutePath().toString();
                        }
                        return null;
                    }
                });
    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)
  3. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

    import org.codehaus.plexus.component.configurator.ConfigurationListener;
    import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException;
    import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator;
    import org.codehaus.plexus.component.repository.ComponentDescriptor;
    import org.codehaus.plexus.component.repository.exception.ComponentLifecycleException;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/test/remote-repo/org/apache/maven/its/plugins/maven-it-plugin/0.1/maven-it-plugin-0.1.jar

    permissions and limitations * under the License. */ import org.apache.maven.plugin.AbstractMojo; /** * Does nothing. * * @goal java * @phase generate-sources * * @author Benjamin Bentmann */ public class AMojo extends AbstractMojo { /** @parameter expression="${version}" default-value="1.0" */ private String version; /** @parameter */ private String[] models; public void execute() { } } src/main/java/org/apache/maven/plugins/coreit/BMojo.java src/main/java/org/apache/maven/plugins/coreit/BMojo.java...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

    import org.apache.maven.project.MavenProject;
    import org.codehaus.plexus.MutablePlexusContainer;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator;
    import org.codehaus.plexus.configuration.DefaultPlexusConfiguration;
    import org.codehaus.plexus.util.Os;
    import org.eclipse.aether.DefaultRepositorySystemSession;
    import org.eclipse.aether.RepositorySystem;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                        filters.add(new HighestVersionFilter(num));
                    } else if ("l".equals(expression)) {
                        filters.add(new LowestVersionFilter());
                    } else if (expression.startsWith("l(") && expression.endsWith(")")) {
                        int num = Integer.parseInt(expression.substring(2, expression.length() - 1));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  7. api/maven-api-plugin/src/main/mdo/plugin.mdo

              </description>
            </field>
            <field>
              <name>expression</name>
              <version>2.0.0+</version>
              <type>String</type>
              <description>Parameter expression, to let user override default value with a user property, system property or project property.</description>
            </field>
            <field>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Apr 14 17:14:22 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("maven-it-plugin-expression", pom.getValue("build/plugins[2]/artifactId"));
            assertEquals("maven-it-plugin-configuration", pom.getValue("build/plugins[3]/artifactId"));
    
            assertEquals("maven-it-plugin-log-file", pom.getValue("reporting/plugins[1]/artifactId"));
            assertEquals("maven-it-plugin-expression", pom.getValue("reporting/plugins[2]/artifactId"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

        public static final List<String> VALID_MODEL_VERSIONS =
                Collections.unmodifiableList(Arrays.asList("4.0.0", "4.1.0"));
    
        private static final Pattern EXPRESSION_NAME_PATTERN = Pattern.compile("\\$\\{(.+?)}");
        private static final Pattern EXPRESSION_PROJECT_NAME_PATTERN = Pattern.compile("\\$\\{(project.+?)}");
    
        private static final String ILLEGAL_FS_CHARS = "\\/:\"<>|?*";
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  10. 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)
Back to top