Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 526 for poms (0.03 seconds)

  1. 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)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

    import org.apache.maven.settings.Proxy;
    import org.apache.maven.settings.Server;
    
    /**
     * A resolution request allows you to either use an existing MavenProject, or a coordinate (gid:aid:version)
     * to process a POMs dependencies.
     *
     */
    @Deprecated
    public class ArtifactResolutionRequest implements RepositoryRequest {
        private static final String LS = System.lineSeparator();
    
        private Artifact artifact;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

                assertEquals(0, result, "Apply should succeed for multi-module project");
    
                // Verify both POMs exist (they may or may not be modified depending on strategies)
                assertTrue(Files.exists(parentPom), "Parent POM should exist");
                assertTrue(Files.exists(modulePom), "Module POM should exist");
            }
        }
    
        @Nested
        @DisplayName("Error Handling")
        class ErrorHandlingTests {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. 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)
  5. 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();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

        }
    
        private File findInProjectLocalRepository(Artifact artifact) {
            // Prefer the consumer POM when resolving POMs from the project-local repository,
            // to avoid treating a build POM as a repository (consumer) POM.
            if ("pom".equals(artifact.getExtension())) {
                String classifier = artifact.getClassifier();
                if (classifier == null || classifier.isEmpty()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                 * sake of backward-compat with 2.x (MNG-5000). In general, it is wrong to
                 * base URL inheritance on the module directory names as this information is unavailable for POMs in the
                 * repository. In other words, modules where artifactId != moduleDirName will see different effective URLs
                 * depending on how the model was constructed (from filesystem or from repository).
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/site/apt/index.apt

    *----+------+------+
    | <<<project.*>>>\
    <<<pom.*>>> (<deprecated>)\
    <<<*>>> (<deprecated>) | POM content (see {{{../maven-model/maven.html}POM reference}}) | <<<$\{project.version\}>>>\
     | | <<<$\{project.build.finalName\}>>>\
     | | <<<$\{project.artifactId\}>>>\
     | | <<<$\{project.build.directory\}>>> |
    *----+------+------+
    | <<<project.basedir>>>\
    <<<pom.basedir>>> (<deprecated>)\
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 03 08:42:52 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

    import static eu.maveniverse.domtrip.maven.MavenPomElements.Plugins.MAVEN_PLUGIN_PREFIX;
    
    /**
     * Strategy for applying Maven 4 compatibility fixes to POM files.
     * Fixes issues that prevent POMs from being processed by Maven 4.
     */
    @Named
    @Singleton
    @Priority(20)
    public class CompatibilityFixStrategy extends AbstractUpgradeStrategy {
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                UpgradeContext context = createMockContext();
                UpgradeResult result = strategy.doApply(context, pomMap);
    
                // Strategy should handle malformed POMs gracefully
                assertNotNull(result, "Result should not be null");
                assertTrue(result.processedPoms().contains(Paths.get("pom.xml")), "POM should be marked as processed");
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
Back to Top