Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getDistributionManagement (0.35 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/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(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. 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());
            }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelUrlNormalizer.java

                        .developerConnection(normalize(scm.getDeveloperConnection()))
                        .build());
            }
    
            DistributionManagement dist = model.getDistributionManagement();
            if (dist != null) {
                Site site = dist.getSite();
                if (site != null) {
                    builder.distributionManagement(dist.withSite(site.withUrl(normalize(site.getUrl()))));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                // release artifact repository
                if (project.getDistributionManagement() != null
                        && project.getDistributionManagement().getRepository() != null) {
                    try {
                        DeploymentRepository r = project.getModel()
                                .getDelegate()
                                .getDistributionManagement()
                                .getRepository();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/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()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  6. 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());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            getModel().setDistributionManagement(distributionManagement);
        }
    
        public DistributionManagement getDistributionManagement() {
            return getModel().getDistributionManagement();
        }
    
        public void setDescription(String description) {
            getModel().setDescription(description);
        }
    
        public String getDescription() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                    validate20EffectiveRepository(problems, repository, "pluginRepositories.pluginRepository.", request);
                }
    
                DistributionManagement distMgmt = m.getDistributionManagement();
                if (distMgmt != null) {
                    if (distMgmt.getStatus() != null) {
                        addViolation(
                                problems,
                                Severity.ERROR,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 65K bytes
    - Viewed (0)
Back to top