Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for v_size (0.28 sec)

  1. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("maven-it-plugin-b", pom.getValue("build/plugins[2]/artifactId"));
            assertEquals(1, ((List<?>) pom.getValue("build/plugins[1]/executions")).size());
            assertEquals("maven-it-plugin-a", pom.getValue("reporting/plugins[1]/artifactId"));
            assertEquals(1, ((List<?>) pom.getValue("reporting/plugins[1]/reportSets")).size());
    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)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

            Map<String, Dependency> normalized = new LinkedHashMap<>(dependencies.size() * 2);
    
            for (Dependency dependency : dependencies) {
                normalized.put(dependency.getManagementKey(), dependency);
            }
    
            if (dependencies.size() != normalized.size()) {
                builder.dependencies(normalized.values());
            }
    
            return builder.build();
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            List<Path> unresolved = dispatched.get(PathType.UNRESOLVED);
            assertEquals(3, dispatched.size());
            assertEquals(1, unresolved.size());
            assertEquals(8, classes.size()); // "plexus.pom" and "junit.jar" are excluded.
            assertEquals(1, modules.size());
            assertEquals("plexus-1.0.11.pom", unresolved.get(0).getFileName().toString());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  4. maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

            Map map = project1.getArtifactMap();
            assertNotNull(map, "No artifacts");
            assertTrue(map.size() > 0, "No Artifacts");
            assertTrue(map.size() == 3, "Set size should be 3, is " + map.size());
    
            Artifact a = (Artifact) map.get("maven-test:t10-a");
            Artifact b = (Artifact) map.get("maven-test:t10-b");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

            assertNotNull(res, "null classpath container after compile transform");
            assertNotNull(res.getClasspath(), "null classpath after compile transform");
            assertEquals(3, res.getClasspath().size(), "compile classpath should have 3 entries");
        }
    
        // ------------------------------------------------------------------------------------------
        @Test
        void testRuntimeClasspathTransform() throws Exception {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/ArtifactDescriptorReaderDelegate.java

                properties.put("prerequisites.maven", prerequisites.getMaven());
            }
    
            List<License> licenses = model.getLicenses();
            properties.put("license.count", licenses.size());
            for (int i = 0; i < licenses.size(); i++) {
                License license = licenses.get(i);
                properties.put("license." + i + ".name", license.getName());
                properties.put("license." + i + ".url", license.getUrl());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        private List<String> getClasspathElements(final Predicate<String> scopeFilter, final boolean includeTestDir)
                throws DependencyResolutionRequiredException {
            final List<String> list = new ArrayList<>(getArtifacts().size() + 2);
            if (includeTestDir) {
                String d = getBuild().getTestOutputDirectory();
                if (d != null) {
                    list.add(d);
                }
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

            }
            if (!rangeValue.closed) {
                return isLeft ? -1 : 1;
            }
            return 0;
        }
    
        private static void addZeroTokens(List<String> tokens, int max) {
            while (tokens.size() < max) {
                tokens.add("0");
            }
        }
    
        private static boolean isRange(String value) {
            return value.startsWith("[") || value.startsWith("(");
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PropertiesAsMap.java

                            }
                            advance();
                            return item;
                        }
                    };
                }
    
                @Override
                public int size() {
                    return (int) properties.entrySet().stream()
                            .filter(PropertiesAsMap::matches)
                            .count();
                }
            };
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * In a package hierarchy, the {@linkplain #descriptors} map has either zero or one entry.
         * In a module hierarchy, the descriptors map may have an arbitrary number of entries,
         * including one (so the map size cannot be used as a criterion).
         *
         * @see #isModuleHierarchy()
         */
        private final boolean isModuleHierarchy;
    
        /**
         * Constructs an empty instance for non-modular dependencies.
         *
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
Back to top