- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getProjectArtifacts (0.21 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java
String id = id(nonNull(artifact, "artifact")); if (session.getMavenSession().getAllProjects() != null) { session.getMavenSession().getAllProjects().stream() .flatMap(this::getProjectArtifacts) .filter(a -> Objects.equals(id, id(a))) .forEach(a -> a.setFile(path != null ? path.toFile() : null)); } if (path == null) { paths.remove(id);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
*/ private Artifact findMatchingArtifact(MavenProject project, Artifact requestedArtifact) { String requestedRepositoryConflictId = ArtifactIdUtils.toVersionlessId(requestedArtifact); return getProjectArtifacts(project) .filter(artifact -> Objects.equals(requestedRepositoryConflictId, ArtifactIdUtils.toVersionlessId(artifact))) .findFirst() .orElse(null);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.3K bytes - Viewed (0)