Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getProjectArtifacts (0.07 sec)

  1. 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)
  2. 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)
Back to top