- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for ArtifactManager (0.11 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)