Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 523 for Pom (0.01 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

        Model getFileModel();
    
        /**
         * Gets the file model + build pom transformation, without inheritance nor interpolation.
         *
         * @return The raw model, never {@code null}.
         */
        @Nonnull
        Model getRawModel();
    
        /**
         * Gets the effective model of the parent POM.
         *
         * @return the effective model of the parent POM, never {@code null}
         */
        @Nonnull
        Model getParentModel();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                when(mockStrategies.get(1).isApplicable(context)).thenReturn(true);
                when(mockStrategies.get(1).apply(Mockito.eq(context), Mockito.any()))
                        .thenReturn(new UpgradeResult(
                                Set.of(Paths.get("module/pom.xml")), Set.of(Paths.get("module/pom.xml")), Set.of()));
    
    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)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

    import org.apache.maven.model.building.ModelProcessor;
    
    /**
     * Provides the super POM that all models implicitly inherit from.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultSuperPomProvider implements SuperPomProvider {
    
        /**
         * The cached super POM, lazily created.
         */
        private Model superModel;
    
        @Inject
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            @ParameterizedTest
            @ValueSource(
                    strings = {
                        "http://maven.apache.org/POM/4.0.0",
                        "http://maven.apache.org/POM/4.1.0",
                        "https://maven.apache.org/POM/4.0.0",
                        "https://maven.apache.org/POM/4.1.0"
                    })
            @DisplayName("should handle various namespace formats")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            when(project.getGroupId()).thenReturn("org.apache.maven");
            when(project.getArtifactId()).thenReturn("standalone-pom");
            when(project.getPackaging()).thenReturn("pom");
            when(project.getName()).thenReturn("Maven Stub Project (No POM)");
            when(project.getVersion()).thenReturn("1");
            when(event.getProject()).thenReturn(project);
            when(project.getFile()).thenReturn(null);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Dec 01 19:41:22 GMT 2024
    - 12.3K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. impl/maven-core/src/main/java/org/apache/maven/DuplicateProjectException.java

         * @param collisions The POM files of the projects that collided, indexed by their g:a:v, may be {@code null}.
         */
        public DuplicateProjectException(String message, Map<String, List<File>> collisions) {
            super(message, (File) null);
    
            this.collisions = (collisions != null) ? collisions : new LinkedHashMap<>();
        }
    
        /**
         * Gets the POM files of the projects that collided.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/resources/poms/depmgmt/root-two-imports.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <project xmlns="http://maven.apache.org/POM/4.0.0"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>
    
        <groupId>test</groupId>
        <artifactId>test</artifactId>
        <version>0.1-SNAPSHOT</version>
    
        <dependencyManagement>
            <dependencies>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 1K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java

            if (Files.isDirectory(dir.resolve(".mvn"))) {
                return true;
            }
            // we're too early to use the modelProcessor ...
            Path pom = dir.resolve("pom.xml");
            try (InputStream is = Files.newInputStream(pom)) {
                XMLStreamReader parser = XMLInputFactory.newFactory().createXMLStreamReader(is);
                if (parser.nextTag() == XMLStreamReader.START_ELEMENT
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top