Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for discoverPoms (0.38 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java

         * @throws IOException if there's an error reading files
         * @throws DomTripException if there's an error parsing XML
         */
        public static Map<Path, Document> discoverPoms(Path startDirectory) throws IOException, DomTripException {
            Map<Path, Document> pomMap = new HashMap<>();
    
            // Find and load the root POM
            Path rootPomPath = startDirectory.resolve(POM_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)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

            Path startingDirectory = options.directory().map(Paths::get).orElse(context.invokerRequest.cwd());
    
            Map<Path, Document> pomMap;
            try {
                pomMap = PomDiscovery.discoverPoms(startingDirectory);
            } catch (IOException | DomTripException e) {
                context.failure("Failed to discover POM files: " + e.getMessage());
                return 1;
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top