- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for attach (0.18 sec)
-
maven-core/src/main/java/org/apache/maven/project/DuplicateArtifactAttachmentException.java
* under the License. */ package org.apache.maven.project; import org.apache.maven.artifact.Artifact; /** * This exception is thrown if an application attempts to attach * two of the same artifacts to a single project. * * TODO Make this a checked exception, and modify the API of MavenProjectHelper. * Currently, this modification would create compatibility problems for existing plugins.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java
import org.apache.maven.api.Service; import org.apache.maven.api.Session; import org.apache.maven.api.annotations.Experimental; /** * Resolves the artifact, i.e download the file when required and attach it to the artifact * * @since 4.0.0 */ @Experimental public interface ArtifactResolver extends Service { /** * @param request {@link ArtifactResolverRequest}
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 2.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/MavenProject.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 56.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/ReactorReader.java
return lifecycles.computeIfAbsent(project.getId(), k -> new ArrayDeque<>()); } /** * Copy packaged and attached artifacts from this project to the * project local repository. * This allows a subsequent build to resume while still being able * to locate attached artifacts. * * @param project the project to copy artifacts from */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 21.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/artifact/AttachedArtifact.java
} public List<ArtifactVersion> getAvailableVersions() { return parent.getAvailableVersions(); } public void setAvailableVersions(List<ArtifactVersion> availableVersions) { throw new UnsupportedOperationException("Cannot change the version information for an attached artifact."
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 6.1K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
File systemFile = artifact.getFile(); if (systemFile == null) { throw new ArtifactNotFoundException("System artifact: " + artifact + " has no file attached", artifact); } if (!systemFile.exists()) { throw new ArtifactNotFoundException(
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 24.8K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java
import org.apache.maven.artifact.metadata.ArtifactMetadata; import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException; /** * Attach a POM to an artifact. * */ @Deprecated public class ProjectArtifactMetadata extends AbstractArtifactMetadata { private final File file; public ProjectArtifactMetadata(Artifact artifact) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 3.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
InternalMavenSession session = ((DefaultProject) project).getSession(); Collection<Artifact> attached = map( getMavenProject(project).getAttachedArtifacts(), a -> session.getArtifact(RepositoryUtils.toArtifact(a))); return Collections.unmodifiableCollection(attached); } @Override public Collection<Artifact> getAllArtifacts(Project project) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 7.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectHelper.java
artifact.setFile(artifactFile); artifact.setResolved(true); attachArtifact(project, artifact); } /** * Add an attached artifact or replace the file for an existing artifact. * * @see MavenProject#addAttachedArtifact(org.apache.maven.artifact.Artifact) * @param project project reference.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 4.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
Optional<Path> getPath(Project project); /** * Returns an immutable collection of attached artifacts for given project. */ @Nonnull Collection<Artifact> getAttachedArtifacts(Project project); /** * Returns project's all artifacts as immutable collection. The list contains all artifacts, even the attached ones,
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Feb 09 17:13:31 GMT 2024 - 5.9K bytes - Viewed (0)