Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getDistributionManagement (0.17 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            builder.properties(null).reporting(null);
            if (model.getDistributionManagement() != null
                    && model.getDistributionManagement().getRelocation() != null) {
                // keep relocation only
                builder.distributionManagement(DistributionManagement.newBuilder()
                        .relocation(model.getDistributionManagement().getRelocation())
                        .build());
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/DistributionManagementArtifactRelocationSource.java

        @Override
        public Artifact relocatedTarget(
                RepositorySystemSession session, ArtifactDescriptorResult artifactDescriptorResult, Model model) {
            DistributionManagement distMgmt = model.getDistributionManagement();
            if (distMgmt != null) {
                Relocation relocation = distMgmt.getRelocation();
                if (relocation != null) {
                    Artifact result = new RelocatedArtifact(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelUrlNormalizer.java

                scm.setConnection(normalize(scm.getConnection()));
                scm.setDeveloperConnection(normalize(scm.getDeveloperConnection()));
            }
    
            DistributionManagement dist = model.getDistributionManagement();
            if (dist != null) {
                Site site = dist.getSite();
                if (site != null) {
                    site.setUrl(normalize(site.getUrl()));
                }
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (1)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

        }
    
        private void setArtifactProperties(ArtifactDescriptorResult result, Model model) {
            String downloadUrl = null;
            DistributionManagement distMgmt = model.getDistributionManagement();
            if (distMgmt != null) {
                downloadUrl = distMgmt.getDownloadUrl();
            }
            if (downloadUrl != null && !downloadUrl.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                    }
    
                    if (project != null) {
                        Relocation relocation = null;
    
                        DistributionManagement distMgmt = project.getModel().getDistributionManagement();
                        if (distMgmt != null) {
                            relocation = distMgmt.getRelocation();
    
                            artifact.setDownloadUrl(distMgmt.getDownloadUrl());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                    validate20EffectiveRepository(problems, repository, "pluginRepositories.pluginRepository.", request);
                }
    
                DistributionManagement distMgmt = m.getDistributionManagement();
                if (distMgmt != null) {
                    if (distMgmt.getStatus() != null) {
                        addViolation(
                                problems,
                                Severity.ERROR,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
Back to top