Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getRelocations (0.07 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

                if (logger.isWarnEnabled() && !result.getRelocations().isEmpty()) {
                    String message =
                            pluginArtifact instanceof RelocatedArtifact relocated ? ": " + relocated.getMessage() : "";
                    logger.warn(
                            "The artifact {} has been relocated to {}{}",
                            result.getRelocations().get(0),
                            pluginArtifact,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 15:32:43 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java

                    if (!child.getRelocations().isEmpty()) {
                        org.eclipse.aether.artifact.Artifact artifact =
                                child.getDependency().getArtifact();
                        String message = artifact instanceof RelocatedArtifact relocated ? relocated.getMessage() : null;
                        logger.warn("The artifact " + child.getRelocations().get(0) + " has been relocated to " + artifact
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

            this.columnNumber = location.getColumnNumber();
            this.source = location.getSource() != null ? new InputSource(location.getSource()) : null;
            this.locations = location.getLocations().isEmpty()
                    ? null
                    : location.getLocations().entrySet().stream()
                            .collect(Collectors.toMap(
                                    e -> e.getKey(),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

            if (relocations != null) {
                Artifact original = artifactDescriptorResult.getRequest().getArtifact();
                Relocation relocation = relocations.getRelocation(original);
                if (relocation != null
                        && (isProjectContext(artifactDescriptorResult.getRequest().getRequestContext())
                                || relocation.global)) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9K 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

                        DistributionManagement distMgmt = project.getModel().getDistributionManagement();
                        if (distMgmt != null) {
                            relocation = distMgmt.getRelocation();
    
                            artifact.setDownloadUrl(distMgmt.getDownloadUrl());
                            pomArtifact.setDownloadUrl(distMgmt.getDownloadUrl());
                        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 12:03:50 UTC 2025
    - 30.4K bytes
    - Viewed (0)
Back to top