Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ArtifactManager (0.16 sec)

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

    import org.apache.maven.api.Service;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ArtifactManager extends Service {
    
        /**
         * Returns the path of the file previously associated to this artifact
         * or {@code Optional.empty()} if no path has been associated.
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/ProducedArtifact.java

     * {@link org.apache.maven.api.services.ArtifactManager ArtifactManager} service must be used
     * to point the artifact to a {@link Path} during the packaging phase.</p>
     *
     * @since 4.0.0
     * @see Project#getMainArtifact()
     * @see Project#getPomArtifact()
     * @see org.apache.maven.api.services.ProjectManager#attachArtifact(Session, Project, Path)
     * @see org.apache.maven.api.services.ArtifactManager#setPath(ProducedArtifact, Path)
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        private final InternalMavenSession session;
        private final ArtifactManager artifactManager;
    
        @Inject
        public DefaultProjectManager(InternalMavenSession session, ArtifactManager artifactManager) {
            this.session = session;
            this.artifactManager = artifactManager;
        }
    
        @Nonnull
        @Override
        public Optional<Path> getPath(Project 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)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

    import org.apache.maven.api.di.SessionScoped;
    import org.apache.maven.api.services.ArtifactManager;
    import org.apache.maven.project.MavenProject;
    import org.eclipse.sisu.Typed;
    
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    @Named
    @Typed
    @SessionScoped
    public class DefaultArtifactManager implements ArtifactManager {
    
        @Nonnull
        private final InternalMavenSession session;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * artifact, even if the existence of backing POM file is NOT a requirement (i.e. for some transient projects).
         *
         * @see org.apache.maven.api.services.ArtifactManager#getPath(Artifact)
         */
        @Nonnull
        default ProducedArtifact getPomArtifact() {
            return getArtifacts().get(0);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * all the artifact signed, etc.).
         * <p>
         * This method is shorthand for {@link Project#getArtifacts()} and {@link #getAttachedArtifacts(Project)} methods.
         *
         * @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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 11:52:48 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top