Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 636 for POM (0.03 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

                        location.getSource().getLocation().contains("pom-with-profiles/pom.xml"),
                        "Profile location should contain 'pom-with-profiles/pom.xml', but was: "
                                + location.getSource().getLocation() + " for profile: " + profile.getId());
    
                // This demonstrates the cross-platform path behavior for the POM file
                String actualLocation = location.getSource().getLocation();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

                // Verify success
                assertEquals(0, result, "Apply should succeed");
    
                // Verify POM was upgraded
                String upgradedPom = Files.readString(pomFile);
                assertTrue(
                        upgradedPom.contains("http://maven.apache.org/POM/4.1.0"),
                        "POM should be upgraded to 4.1.0 namespace");
            }
    
            @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

            // project we are working on has the version specified in the POM so the version should come from there.
            File pom = getProject("project-basic");
            MavenSession session = createMavenSession(pom);
            assertEquals("project-basic", session.getCurrentProject().getArtifactId());
            assertEquals("1.0", session.getCurrentProject().getVersion());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

            PomTestWrapper pom = buildPom("settings-no-pom");
            assertEquals("local-profile-prop-value", pom.getValue("properties/local-profile-prop"));
        }
    
        /**
         * MNG-4107
         */
        @Test
        void testPomAndSettingsInterpolation() throws Exception {
            PomTestWrapper pom = buildPom("test-pom-and-settings-interpolation");
            assertEquals("applied", pom.getValue("properties/settingsProfile"));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            // Should have both consumer POM (no classifier) and build POM (with "build" classifier)
            Collection<Artifact> artifacts = result.getArtifacts();
            assertEquals(3, artifacts.size()); // original jar + consumer pom + build pom
    
            assertTrue(artifacts.stream().anyMatch(a -> "pom".equals(a.getExtension()) && "".equals(a.getClassifier())));
            assertTrue(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/resources/dag.txt

    	quarkus/core/runtime/pom.xml
    	quarkus/extensions/arc/runtime/pom.xml
    quarkus/extensions/awt/deployment/pom.xml
    	quarkus/extensions/arc/deployment/pom.xml
    	quarkus/extensions/awt/runtime/pom.xml
    	quarkus/test-framework/junit5-internal/pom.xml
    quarkus/extensions/smallrye-health/deployment/pom.xml
    	quarkus/core/deployment/pom.xml
    	quarkus/extensions/arc/deployment/pom.xml
    	quarkus/extensions/vertx-http/deployment/pom.xml
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 224K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            PomTestWrapper pom = buildPom("profile-module", "a");
            assertEquals("test-prop", pom.getValue("properties[1]/b")); // verifies profile applied
            assertEquals(4, ((List<?>) pom.getValue("modules")).size());
            assertEquals("module-2", pom.getValue("modules[1]"));
            assertEquals("module-1", pom.getValue("modules[2]"));
            assertEquals("module-3", pom.getValue("modules[3]"));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 94.8K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java

    public interface ModelResolver {
    
        /**
         * Tries to resolve the POM for the specified coordinates.
         *
         * @param groupId The group identifier of the POM, must not be {@code null}.
         * @param artifactId The artifact identifier of the POM, must not be {@code null}.
         * @param version The version of the POM, must not be {@code null}.
         * @return The source of the requested POM, never {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java

             * Base validation level that applies to all POM versions.
             * Includes fundamental structural validations.
             */
            BASE,
    
            /**
             * Validation for Maven 2.0 POM format.
             */
            V20,
    
            /**
             * Validation for Maven 3.0 POM format.
             */
            V30,
    
            /**
             * Validation for Maven 3.1 POM format.
             */
            V31,
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Aug 07 14:31:13 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java

    import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.MODULES;
    import static eu.maveniverse.domtrip.maven.MavenPomElements.Files.POM_XML;
    
    /**
     * Discovers and loads Maven POM files in a Maven project hierarchy.
     *
     * <p>This class recursively discovers all POM files in a Maven project hierarchy
     * and loads them as domtrip Documents. Individual strategies can create domtrip Editors
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top