Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                    }
                };
            }
    
            @Provides
            @SuppressWarnings("unused")
            static ArtifactManager newArtifactManager() {
                return new ArtifactManager() {
                    private final Map<Artifact, Path> paths = new ConcurrentHashMap<>();
    
                    @Override
                    public Optional<Path> getPath(Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

    import org.apache.maven.api.cli.extensions.CoreExtension;
    import org.apache.maven.api.model.Plugin;
    import org.apache.maven.api.services.ArtifactCoordinatesFactory;
    import org.apache.maven.api.services.ArtifactManager;
    import org.apache.maven.api.services.ArtifactResolver;
    import org.apache.maven.api.services.Interpolator;
    import org.apache.maven.api.services.InterpolatorException;
    import org.apache.maven.api.services.RepositoryFactory;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Shortcut for {@code getService(ArtifactManager.class).setPath(...)}.
         *
         * @param artifact the artifact for which to associate a path
         * @param path path to associate to the given artifact
         *
         * @see org.apache.maven.api.services.ArtifactManager#setPath(ProducedArtifact, Path)
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K 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