Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 192 for poms (0.02 seconds)

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

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

            void shouldHandleMergingWithDifferentPOMSets() {
                Path pom1 = Paths.get("pom.xml");
                Path pom2 = Paths.get("module1/pom.xml");
                Path pom3 = Paths.get("module2/pom.xml");
    
                UpgradeResult result1 = new UpgradeResult(
                        Set.of(pom1, pom2), // processed
                        Set.of(pom1), // modified
                        Set.of() // errors
                        );
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java

    /**
     * Result of an upgrade strategy application.
     * Uses sets of paths to track which POMs were processed, modified, or had errors,
     * avoiding double-counting when multiple strategies affect the same POMs.
     *
     * @param processedPoms the set of POMs that were processed
     * @param modifiedPoms the set of POMs that were modified
     * @param errorPoms the set of POMs that had errors
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

                context.indent();
                context.info("Processed: " + result.processedPoms().size() + " POMs");
                context.info("Modified: " + result.modifiedPoms().size() + " POMs");
                context.failure("Errors: " + result.errorPoms().size() + " POMs");
                context.unindent();
            } else if (!result.modifiedPoms().isEmpty()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. 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 {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  5. 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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  6. 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");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

            int i = 0;
            for (Path pom : state.poms) {
                try (InputStream is = Files.newInputStream(pom)) {
                    MavenStaxReader reader = new MavenStaxReader();
                    reader.setAddLocationInformation(false);
                    reader.read(is, true, InputSource.of("id", pom.toString()));
                    i++;
                } catch (XMLStreamException e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java

            return new Parser().parse(content);
        }
    
        /**
         * Recursively discovers module POMs from the given parent POM.
         *
         * @param baseDirectory the base directory for resolving module paths
         * @param parentPom the parent POM document
         * @param pomMap the map to store discovered POMs
         * @throws IOException if there's an error reading files
         * @throws DomTripException if there's an error parsing XML
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

    /**
     * Represents a source for loading Maven Project Object Model (POM) files. This interface
     * extends the basic {@link Source} interface with specific functionality for handling
     * Maven POM files and resolving related project POMs.
     *
     * <p>The interface provides two types of sources:</p>
     * <ul>
     *   <li>Build sources: Used for POM files of projects being built by Maven in the filesystem.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. 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
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 10.8K bytes
    - Click Count (0)
Back to Top