Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getChildCount (0.05 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                    } else {
                        result = evaluator.evaluate(value);
                    }
                }
                if (null == result && configuration.getChildCount() == 0) {
                    value = configuration.getAttribute("default-value");
                    if (null != value && !value.isEmpty()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 07:40:49 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertEquals(1, md.getRequirements().size());
            assertEquals(1, md.getParameters().size());
    
            assertNotNull(md.getMojoConfiguration());
            assertEquals(1, md.getMojoConfiguration().getChildCount());
    
            PlexusConfiguration pc = md.getMojoConfiguration().getChild(0);
    
            assertEquals("${jar.finalName}", pc.getValue());
            assertEquals("${project.build.finalName}", pc.getAttribute("default-value"));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

            }
    
            Object value = defaultValue;
            TypeLiteral<?> paramType = TypeLiteral.get(setterInfo.parameterType);
    
            if (!paramType.getRawType().isInstance(value)) {
                if (configuration.getChildCount() > 0) {
                    throw new ComponentConfigurationException(
                            "Basic element '" + configuration.getName() + "' must not contain child elements");
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 12 14:59:46 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                        throw new ComponentConfigurationException(configuration, msg, e);
                    }
                }
    
                if (value == null && (config == null || config.getChildCount() <= 0)) {
                    invalidParameters.add(parameter);
                }
            }
    
            if (!invalidParameters.isEmpty()) {
                throw new PluginParameterException(mojoDescriptor, invalidParameters);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
Back to top