Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for getRelocation (0.05 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/DistributionManagementArtifactRelocationSource.java

            DistributionManagement distMgmt = model.getDistributionManagement();
            if (distMgmt != null) {
                Relocation relocation = distMgmt.getRelocation();
                if (relocation != null) {
                    Artifact result = new RelocatedArtifact(
                            artifactDescriptorResult.getRequest().getArtifact(),
                            relocation.getGroupId(),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                        return null;
                    }
                    result.addException(e);
                    throw new ArtifactDescriptorException(result);
                }
    
                Artifact relocatedArtifact = getRelocation(session, result, model);
                if (relocatedArtifact != null) {
                    if (withinSameGav(relocatedArtifact, a)) {
                        result.setArtifact(relocatedArtifact);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. 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)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                    if (org != val) {
                        distributionManagement.setDownloadUrl(val);
                    }
                    // Relocation
                    visit(distributionManagement.getRelocation());
                }
            }
    
            private void visit(Site site) {
                if (site != null) {
                    String org, val;
                    // Id
                    org = site.getId();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 43.1K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            }
    
            LOGGER.debug(
                    "Reading installation settings from '{}'",
                    getLocation(settingsRequest.getGlobalSettingsSource(), settingsRequest.getGlobalSettingsFile()));
            LOGGER.debug(
                    "Reading project settings from '{}'",
                    getLocation(settingsRequest.getProjectSettingsSource(), settingsRequest.getProjectSettingsFile()));
            LOGGER.debug(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 19 18:49:57 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java

            Xpp3Dom dom = new Xpp3Dom("reportPlugin", plugin.getLocation(""));
    
            addDom(dom, "groupId", plugin.getGroupId(), plugin.getLocation("groupId"));
            addDom(dom, "artifactId", plugin.getArtifactId(), plugin.getLocation("artifactId"));
            addDom(dom, "version", plugin.getVersion(), plugin.getLocation("version"));
    
            Xpp3Dom configuration = (Xpp3Dom) plugin.getConfiguration();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

        } // -- InputSource clone()
    
        /**
         * Get the path/URL of the POM or {@code null} if unknown.
         *
         * @return String
         */
        public String getLocation() {
            return this.location;
        } // -- String getLocation()
    
        /**
         * Get the identifier of the POM in the format {@code
         * <groupId>:<artifactId>:<version>}.
         *
         * @return String
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java

            } catch (XMLStreamException e) {
                throw new SettingsParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
        @Override
        public Settings read(Reader input, Map<String, ?> options) throws IOException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top