Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 24 of 24 for setAttribute (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

                if (paramConfig != null) {
                    parameter.setExpression(paramConfig.getValue(null));
                    parameter.setDefaultValue(paramConfig.getAttribute("default-value"));
                }
    
                parameters.add(parameter);
            }
    
            mojo.setParameters(parameters);
    
            // TODO this should not need to be handed off...
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  2. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        @Nonnull
        default Map<String, String> getAttributes() {
            return attributes();
        }
    
        @Deprecated(since = "4.0.0", forRemoval = true)
        @Nullable
        default String getAttribute(@Nonnull String name) {
            return attribute(name);
        }
    
        @Deprecated(since = "4.0.0", forRemoval = true)
        @Nonnull
        default List<XmlNode> getChildren() {
            return children();
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 15:20:44 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

                    session, session.getCurrentProject(), execution, new HashSet<>());
            assertNotNull(execution.getConfiguration());
            assertEquals("1.0", execution.getConfiguration().getChild("version").getAttribute("default-value"));
        }
    
        @Test
        void testExecutionListeners() throws Exception {
            final File pom = getProject("project-basic");
            final MavenSession session = createMavenSession(pom);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    try {
                        value = expressionEvaluator.evaluate(expression);
    
                        if (value == null) {
                            value = config.getAttribute("default-value", null);
                        }
                    } catch (ExpressionEvaluationException e) {
                        String msg = "Error evaluating the expression '" + expression + "' for configuration value '"
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 46.4K bytes
    - Click Count (0)
Back to Top