Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for DistributionManagement (0.12 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/DistributionManagementTest.java

    /**
     * Tests {@code DistributionManagement}.
     *
     */
    class DistributionManagementTest {
    
        @Test
        void testHashCodeNullSafe() {
            new DistributionManagement().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new DistributionManagement().equals(null));
    
            new DistributionManagement().equals(new DistributionManagement());
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("snaps", pom.getValue("distributionManagement/snapshotRepository/name"));
            assertEquals("https://project.url/snaps", pom.getValue("distributionManagement/snapshotRepository/url"));
            assertEquals(Boolean.FALSE, pom.getValue("distributionManagement/snapshotRepository/uniqueVersion"));
    
            assertEquals("project.site", pom.getValue("distributionManagement/site/id"));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 94.8K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertContains(result.getWarnings().get(2), "'distributionManagement.repository.id' must not be 'local'");
            assertContains(
                    result.getWarnings().get(3), "'distributionManagement.snapshotRepository.id' must not be 'local'");
        }
    
        @Test
        void testMissingPluginDependencyGroupId() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            File f = getFileForClasspathResource("distributionManagement-pom.xml");
            MavenProject projectToClone = getProject(f);
    
            MavenProject clonedProject = projectToClone.clone();
            assertNotNull(
                    clonedProject.getDistributionManagementArtifactRepository(), "clonedProject - distributionManagement");
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 28 09:44:37 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            if (model.getDistributionManagement() != null
                    && model.getDistributionManagement().getRelocation() != null) {
                // keep relocation only
                builder.distributionManagement(DistributionManagement.newBuilder()
                        .relocation(model.getDistributionManagement().getRelocation())
                        .build());
            }
            // only keep repositories other than 'central'
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

    import org.apache.maven.bridge.MavenRepositorySystem;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.model.Dependency;
    import org.apache.maven.model.DependencyManagement;
    import org.apache.maven.model.DistributionManagement;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Relocation;
    import org.apache.maven.model.Repository;
    import org.apache.maven.model.building.ModelBuildingException;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 12:03:50 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                }
    
                DistributionManagement distMgmt = m.getDistributionManagement();
                if (distMgmt != null) {
                    if (distMgmt.getStatus() != null) {
                        addViolation(
                                problems,
                                Severity.ERROR,
                                Version.V20,
                                "distributionManagement.status",
                                null,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 03 15:06:05 UTC 2025
    - 66.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            return getModel().getIssueManagement();
        }
    
        public void setDistributionManagement(DistributionManagement distributionManagement) {
            getModel().setDistributionManagement(distributionManagement);
        }
    
        public DistributionManagement getDistributionManagement() {
            return getModel().getDistributionManagement();
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
  9. api/maven-api-model/src/main/mdo/maven.mdo

            <field xdoc.separator="blank">
              <name>distributionManagement</name>
              <version>4.0.0+</version>
              <description>Distribution information for a project that enables deployment of the site
                and artifacts to remote web servers and repositories respectively.</description>
              <association>
                <type>DistributionManagement</type>
              </association>
            </field>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 26 03:07:35 UTC 2025
    - 133.3K bytes
    - Viewed (0)
Back to top