- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for toArtifacts (0.15 sec)
-
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
return result; } public static void toArtifacts( Collection<org.apache.maven.artifact.Artifact> artifacts, Collection<? extends DependencyNode> nodes, List<String> trail, DependencyFilter filter) { for (DependencyNode node : nodes) { org.apache.maven.artifact.Artifact artifact = toArtifact(node.getDependency());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
return delegate.pathOf(RepositoryUtils.toArtifact(artifact.setVersion(artifact.getBaseVersion()))); } return delegate.pathOf(RepositoryUtils.toArtifact(artifact)); } public String getPathForRemoteArtifact(Artifact artifact, RemoteRepository repository, String context) { return delegate.pathOf(RepositoryUtils.toArtifact(artifact)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
+ artifact.getBaseVersion()); } getMavenProject(project) .addAttachedArtifact(RepositoryUtils.toArtifact( ((DefaultProject) project).getSession().toArtifact(artifact))); artifactManager.setPath(artifact, path); } @Override public List<Path> getCompileSourceRoots(Project project, ProjectScope scope) {
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/DefaultProject.java
} @Nonnull @Override public List<ProducedArtifact> getArtifacts() { org.eclipse.aether.artifact.Artifact pomArtifact = RepositoryUtils.toArtifact(new ProjectArtifact(project)); org.eclipse.aether.artifact.Artifact projectArtifact = RepositoryUtils.toArtifact(project.getArtifact()); ArrayList<ProducedArtifact> result = new ArrayList<>(2); result.add(session.getArtifact(ProducedArtifact.class, pomArtifact));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java
request.setTrace(RequestTrace.newChild(null, legacySupport.getSession().getCurrentProject())); org.eclipse.aether.artifact.Artifact mainArtifact = RepositoryUtils.toArtifact(artifact); mainArtifact = mainArtifact.setFile(source); request.addArtifact(mainArtifact); String versionKey = artifact.getGroupId() + ':' + artifact.getArtifactId();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java
delegate.getMojoDescriptor().getPluginDescriptor().getPluginArtifact(); org.eclipse.aether.artifact.Artifact resolverArtifact = RepositoryUtils.toArtifact(artifact); return resolverArtifact != null ? session.getArtifact(resolverArtifact) : null; } @Override public Map<String, Dependency> getDependenciesMap() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java
request.setTrace(RequestTrace.newChild(null, legacySupport.getSession().getCurrentProject())); org.eclipse.aether.artifact.Artifact mainArtifact = RepositoryUtils.toArtifact(artifact); mainArtifact = mainArtifact.setFile(source); request.addArtifact(mainArtifact); for (ArtifactMetadata metadata : artifact.getMetadataList()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
Model model; if (workspace instanceof MavenWorkspaceReader) { model = ((MavenWorkspaceReader) workspace).findModel(RepositoryUtils.toArtifact(artifact)); } else { model = null; } if (model != null) { pomArtifact = artifact; dependencies = model.getDependencies();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
ArtifactResult result; try { ArtifactRequest artifactRequest = new ArtifactRequest(); artifactRequest.setArtifact(RepositoryUtils.toArtifact(artifact)); artifactRequest.setRepositories(RepositoryUtils.toRepos(remoteRepositories)); // Maven 2.x quirk: an artifact always points at the local repo, regardless whether resolved or not
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 24.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
// attached artifacts project.getAttachedArtifacts().stream()); return artifacts.map(RepositoryUtils::toArtifact); } private boolean isRegularFile(Artifact artifact) { return artifact.getFile() != null && artifact.getFile().isFile(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.3K bytes - Viewed (0)