Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for getRelocation (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

            } catch (XMLStreamException e) {
                throw new ToolchainsParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
        @Override
        public PersistedToolchains 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.8K bytes
    - Viewed (0)
  7. 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)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PrecedenceCoreExtensionSelector.java

                                "Conflicting extension %s: %s vs %s",
                                key,
                                formatLocation(conflict.getLocation("")),
                                formatLocation(coreExtension.getLocation(""))));
                    }
                }
            }
            if (!conflicts.isEmpty()) {
                context.logger.warn("Found " + conflicts.size() + " extension conflict(s):");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 15:32:43 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                }
                target.setProperties(merged);
                target.setLocation(
                        "properties",
                        InputLocation.merge(
                                target.getLocation("properties"), source.getLocation("properties"), sourceDominant));
            }
    
            private void putAll(Map<Object, Object> s, Map<Object, Object> t, Object excludeKey) {
                for (Map.Entry<Object, Object> e : t.entrySet()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

            assertNotNull(source);
            assertInstanceOf(Sources.ResolvedPathSource.class, source);
            assertNull(source.getPath());
            assertEquals(path.toString(), source.getLocation());
            assertEquals(modelId, source.getModelId());
        }
    
        @Test
        void testPathSourceFunctionality() {
            // Test basic source functionality
            Path path = Paths.get("/tmp");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top