- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 81 for getArtifact (0.07 sec)
-
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/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-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/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-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java
assertTrue(result.isResolved()); Artifact artifact = result.getArtifact(); assertNotNull(artifact.getFile()); assertEquals(filename, artifact.getFile().getName()); } @Test void testResolveArtifacts() throws Exception { ArtifactRequest req1 = new ArtifactRequest(); req1.setArtifact(new DefaultArtifact("ut.simple:artifact:1.0"));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.9K 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) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java
} if (result.hasMissingArtifacts()) { throw new MultipleArtifactsNotFoundException( request.getArtifact(), toList(result.getArtifacts()), result.getMissingArtifacts(), request.getRemoteRepositories()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java
event.getArtifact(), event.getException().getMessage()); } @Override public void artifactDescriptorMissing(RepositoryEvent event) { logger.warn("The POM for {} is missing, no dependency information available", event.getArtifact()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
trackingFile = trackingDir.resolve(baseName + ext); if (Files.exists(trackingFile)) { return; } if (event.getArtifact() != null) { trackingData.add(indent + event.getArtifact()); indent += " "; } trackingData.add(indent + plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java
for (MavenProject project : session.getMavenSession().getAllProjects()) { if (id.equals(id(project.getArtifact())) && project.getArtifact().getFile() != null) { return Optional.of(project.getArtifact().getFile().toPath()); } } } Path path = paths.get(id);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0)