Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 184 for poms (0.03 seconds)

  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 {
    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)
  2. 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)
  3. 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)
  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
     */
    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)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

        /**
         * User property for controlling whether build POMs are deployed alongside consumer POMs.
         * When set to <code>false</code>, only the consumer POM will be deployed, and the build POM
         * will be excluded from deployment. This is useful to avoid deploying internal build information
         * that is not needed by consumers of the artifact.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  6. 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.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. 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 {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 22.3K bytes
    - Click Count (0)
  9. 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.
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 22 11:03:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                Files.createDirectories(tempPomPath.getParent());
    
                // Write POM to temp location
                writePomToFile(document, tempPomPath);
                context.debug("Wrote POM to temp location: " + tempPomPath);
            }
    
            return tempDir;
        }
    
        /**
         * Finds the common root directory of all POM paths.
         */
        private Path findCommonRoot(Set<Path> pomPaths) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
Back to Top