Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for poms (0.02 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                assertEquals(0, result.processedPoms().size(), "Should have no processed POMs");
                assertEquals(0, result.modifiedPoms().size(), "Should have no modified POMs");
                assertEquals(0, result.errorPoms().size(), "Should have no error POMs");
            }
    
            @Test
            @DisplayName("should handle overlapping POM modifications")
            void shouldHandleOverlappingPOMModifications() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

            @DisplayName("should handle large number of POMs efficiently")
            void shouldHandleLargeNumberOfPOMsEfficiently() throws Exception {
                // Create a large number of POM documents for performance testing
                Map<Path, Document> largePomMap = new HashMap<>();
    
                for (int i = 0; i < 100; i++) {
                    Path pomPath = Paths.get("module" + i + "/pom.xml");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

                context.failure("Failed to discover POM files: " + e.getMessage());
                return 1;
            }
    
            if (pomMap.isEmpty()) {
                context.warning("No POM files found in " + startingDirectory);
                return 0;
            }
    
            context.info("Found " + pomMap.size() + " POM file(s)");
    
            // Perform the upgrade logic
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

    import org.eclipse.aether.resolution.VersionRangeResult;
    
    /**
     * A model resolver to assist building of dependency POMs. This resolver gives priority to those repositories that have
     * been initially specified and repositories discovered in dependency POMs are recessively merged into the search chain.
     *
     * @see DefaultArtifactDescriptorReader
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Apr 14 13:42:17 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

    /**
     * A utility class that analyzes Maven POM files to identify memory usage patterns and potential memory optimizations.
     * This analyzer focuses on identifying duplicate strings and their memory impact across different paths in the POM structure.
     *
     * <p>The analyzer processes POM files recursively, tracking string occurrences and their locations within the POM structure.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            if (!flattenEnabled) {
                // When flattening is disabled, treat non-POM projects like parent POMs
                // Apply only basic transformations without flattening dependency management
                // However, BOMs still need special handling to transform packaging from "bom" to "pom"
                if (isBom) {
                    return buildBomWithoutFlatten(session, project, src);
                } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

        /**
         * Gets the POM file of the project to build.
         *
         * @return The POM file of the project or {@code null} if not applicable (i.e. when processing a POM from the
         *         repository).
         */
        File getPomFile();
    
        /**
         * Sets the POM file of the project to build. Note that providing the path to a POM file via this method will make
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

     */
    @Experimental
    @Immutable
    public interface ProjectBuilderRequest extends RepositoryAwareRequest {
    
        /**
         * Gets the path to the project to build.
         * This is typically the path to a pom.xml file or a directory containing a pom.xml file.
         *
         * @return an optional containing the path to the project, or empty if not specified
         */
        @Nonnull
        Optional<Path> getPath();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            // Should have both consumer POM (no classifier) and build POM (with "build" classifier)
            Collection<Artifact> artifacts = result.getArtifacts();
            assertEquals(3, artifacts.size()); // original jar + consumer pom + build pom
    
            assertTrue(artifacts.stream().anyMatch(a -> "pom".equals(a.getExtension()) && "".equals(a.getClassifier())));
            assertTrue(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  10. impl/maven-core/plugin-manager.txt

    h4. Working with POMs during development
    
    During the development of a plugin we would want to make it easy for a developer to create a plugin which means we would allow the direct use of a POM to state the dependencies of a given plugin and any tooling we created would be responsible for turning the dependency information in the POM into plugin metadata which described the dependencies of the plugin.
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 22 11:03:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top