- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 69 for setArtifact (0.1 sec)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java
} if (downloadUrl != null && !downloadUrl.isEmpty()) { Artifact artifact = result.getArtifact(); Map<String, String> props = new HashMap<>(artifact.getProperties()); props.put(ArtifactProperties.DOWNLOAD_URL, downloadUrl); result.setArtifact(artifact.setProperties(props)); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
node.getArtifact().setScope(artifact.getScope()); } if (Artifact.SCOPE_SYSTEM.equals(node.getArtifact().getScope()) && (node.getArtifact().getFile() == null) && (artifact.getFile() != null)) { fireEvent(ResolutionListener.MANAGE_ARTIFACT_SYSTEM_PATH, listeners, node, artifact); node.getArtifact().setFile(artifact.getFile()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 36.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java
setOffline(request.isOffline()); setForceUpdate(request.isForceUpdate()); } public Artifact getArtifact() { return artifact; } public ArtifactResolutionRequest setArtifact(Artifact artifact) { this.artifact = artifact; return this; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java
request.setMirrors(session.getRequest().getMirrors()); request.setProxies(session.getRequest().getProxies()); for (MavenProject project : projects) { request.setArtifact(new ProjectArtifact(project)); request.setArtifactDependencies(project.getDependencyArtifacts()); request.setManagedVersionMap(project.getManagedVersionMap());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
} if (result.getVersion() != null && result.getVersion().endsWith(SNAPSHOT)) { VersionRequest subRequest = new VersionRequest(); subRequest.setArtifact(artifact.setVersion(result.getVersion())); if (result.getRepository() instanceof RemoteRepository) { RemoteRepository r = (RemoteRepository) result.getRepository();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 20.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleRepositoryListener.java
"for " + event.getArtifact() + ": " + event.getException().getMessage()); } public void artifactDescriptorMissing(RepositoryEvent event) { println("artifactDescriptorMissing", "for " + event.getArtifact()); } public void artifactInstalled(RepositoryEvent event) { println("artifactInstalled", event.getArtifact() + " to " + event.getFile()); }
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-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
assertEquals(createSet(artifacts), res.getArtifacts(), "Check artifact list"); assertEquals("1.0", getArtifact("d", res.getArtifacts()).getVersion(), "Check version"); assertEquals("2.0", getArtifact("b", res.getArtifacts()).getVersion(), "Check version"); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 42.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java
artifact = getArtifact(project, "maven-test-test", "scope-provided"); assertNull(artifact, "Check no provided dependencies are transitive"); artifact = getArtifact(project, "maven-test-test", "scope-test"); assertNull(artifact, "Check no test dependencies are transitive"); artifact = getArtifact(project, "maven-test-test", "scope-compile");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
/* getArtifact */ assertFalse( wagon.getTransferEventSupport().hasTransferListener(transferListener), "Transfer listener is registered before test"); wagonManager.getArtifact(artifact, repo, transferListener, false); assertFalse(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0)