Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

        /**
         * Check most classical urls inheritance: directory structure where parent POM in parent directory
         * and child directory == artifactId
         * @throws IOException Model read problem
         */
        @Test
        void testUrls() throws Exception {
            testInheritance("urls");
        }
    
        /**
         * Flat directory structure: parent & child POMs in sibling directories, child directory == artifactId.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. 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)
  4. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingExceptionTest.java

            results.add(result2);
    
            ProjectBuildingException exception = new ProjectBuildingException(results);
            String message = exception.getMessage();
    
            assertTrue(
                    message.contains("3 problems were encountered while processing the POMs (2 errors)"),
                    "Message should contain problem count and error count");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jul 26 19:15:57 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. 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) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 3.3K bytes
    - Viewed (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");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  7. 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)
  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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

     * are validated to ensure they don't contain duplicates or null entries.
     *
     * <p>Remote repositories are used for:
     * <ul>
     *   <li>Resolving artifacts and their metadata</li>
     *   <li>Downloading parent POMs and dependency POMs</li>
     *   <li>Retrieving version information and ranges</li>
     *   <li>Accessing plugin artifacts and their dependencies</li>
     * </ul>
     *
     * <p>Repository validation ensures data integrity by:
     * <ul>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. 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.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top