Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         *
         * @see org.apache.maven.api.services.ArtifactManager#getPath(Artifact)
         */
        Collection<ProducedArtifact> getAllArtifacts(Project project);
    
        /**
         * Attaches an artifact to the project using the given file path. The artifact type will be
         * determined from the file extension.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 11:52:48 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

                    a -> session.getArtifact(ProducedArtifact.class, RepositoryUtils.toArtifact(a)));
            return Collections.unmodifiableCollection(attached);
        }
    
        @Override
        public Collection<ProducedArtifact> getAllArtifacts(Project project) {
            ArrayList<ProducedArtifact> result = new ArrayList<>(2);
            result.addAll(project.getArtifacts());
            result.addAll(getAttachedArtifacts(project));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top