- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 109 for getArtifact (0.12 seconds)
-
compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
} return result; } @Override public LocalArtifactResult find(RepositorySystemSession session, LocalArtifactRequest request) { String path = getPathForLocalArtifact(request.getArtifact()); File file = new File(getRepository().getBasedir(), path); LocalArtifactResult result = new LocalArtifactResult(request); if (file.isFile()) { result.setFile(file);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.6K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
} return result; } @Override public LocalArtifactResult find(RepositorySystemSession session, LocalArtifactRequest request) { String path = getPathForLocalArtifact(request.getArtifact()); File file = new File(getRepository().getBasedir(), path); LocalArtifactResult result = new LocalArtifactResult(request); if (file.isFile()) { result.setFile(file);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.5K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java
} if (downloadUrl != null && !downloadUrl.isEmpty()) { Artifact artifact = result.getArtifact(); Map<String, String> props = new HashMap<>(artifact.getProperties()); props.put(ArtifactProperties.DOWNLOAD_URL, downloadUrl); result.setArtifact(artifact.setProperties(props)); } }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 20 22:29:18 GMT 2025 - 6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Node.java
*/ @Experimental @Immutable @Provider public interface Node { /** * @return artifact for this node */ @Nullable Artifact getArtifact(); /** * @return dependency for this node */ @Nullable Dependency getDependency(); /** * Gets the child nodes of this node. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Mar 24 14:10:11 GMT 2025 - 4.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java
setOriginalModel(project.getOriginalModel()); } setExecutionRoot(project.isExecutionRoot()); if (project.getArtifact() != null) { setArtifact(ArtifactUtils.copyArtifact(project.getArtifact())); } if (project.getManagedVersionMap() != null) { setManagedVersionMap(project.getManagedVersionMap()); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Aug 29 12:47:20 GMT 2025 - 67K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java
try { ArtifactRequest request = new ArtifactRequest(pomArtifact, repositories, context); request.setTrace(trace); pomArtifact = resolver.resolveArtifact(session, request).getArtifact(); } catch (ArtifactResolutionException e) { throw new UnresolvableModelException(e.getMessage(), groupId, artifactId, version, e); } Path pomFile = pomArtifact.getPath();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Apr 14 13:42:17 GMT 2025 - 10.8K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java
.computeIfAbsent(getClass().getName() + ".relocations", () -> parseRelocations(session)); if (relocations != null) { Artifact original = artifactDescriptorResult.getRequest().getArtifact(); Relocation relocation = relocations.getRelocation(original); if (relocation != null && (isProjectContext(artifactDescriptorResult.getRequest().getRequestContext())
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
} @Override public LocalArtifactResult find(RepositorySystemSession session, LocalArtifactRequest request) { String path = getPathForLocalArtifact(request.getArtifact()); File file = new File(getRepository().getBasedir(), path); LocalArtifactResult result = new LocalArtifactResult(request); if (file.isFile()) { result.setFile(file);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 13.1K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java
artifact.getClassifier(), remoteRepositories, artifact.getDependencyTrail(), t); this.artifact = artifact; } public Artifact getArtifact() { return artifact; } public String getGroupId() { return groupId; } public String getArtifactId() { return artifactId; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Apr 01 21:22:14 GMT 2025 - 10.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
requireNonNull(project, "project" + " cannot be null"); Collection<ProducedArtifact> attached = map(getMavenProject(project).getAttachedArtifacts(), a -> getSession(project) .getArtifact(ProducedArtifact.class, RepositoryUtils.toArtifact(a))); return Collections.unmodifiableCollection(attached); } @Override @Nonnull
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 17 16:17:01 GMT 2025 - 10.9K bytes - Click Count (0)