- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for getRelocation (0.14 sec)
-
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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11K bytes - Viewed (0) -
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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.2K bytes - Viewed (0) -
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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17K bytes - Viewed (0) -
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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/MergerTest.java
InputLocation propertiesLocation = model.getLocation("properties"); assertNotNull(propertiesLocation); assertEquals(13, propertiesLocation.getLineNumber()); assertEquals(5, propertiesLocation.getColumnNumber()); InputLocation filterPropLocation = propertiesLocation.getLocation("my.filter.value"); assertNotNull(filterPropLocation);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java
String modelId = null; if (req.getLocation() != null) { line = req.getLocation().getLineNumber(); column = req.getLocation().getColumnNumber(); if (req.getLocation().getSource() != null) { modelId = req.getLocation().getSource().getModelId(); source = req.getLocation().getSource().getLocation(); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0)