- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for toArtifact (0.04 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/RepositoryUtilsTest.java
class RepositoryUtilsTest { @Test void testToArtifactMethodsReturnNullWhenInputParameterIsNull() { assertNull(RepositoryUtils.toArtifact((Dependency) null)); assertNull(RepositoryUtils.toArtifact((Artifact) null)); assertNull(RepositoryUtils.toArtifact((org.apache.maven.artifact.Artifact) null)); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 28 09:44:37 GMT 2025 - 1.3K bytes - Click Count (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));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Mar 24 22:23:23 GMT 2025 - 8.7K bytes - Click Count (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()) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.1K bytes - Click Count (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();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.4K bytes - Click Count (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() {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 5.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java
if (decorated != null) { session = decorated; } } CollectRequest collect = new CollectRequest(); collect.setRootArtifact(RepositoryUtils.toArtifact(project.getArtifact())); collect.setRequestContext("project"); collect.setRepositories(project.getRemoteProjectRepositories()); if (project.getDependencyArtifacts() == null) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 10:13:56 GMT 2025 - 9.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java
+ artifact.getScope() + " wins)"); // TODO better way than static? this might hide messages in a reactor if (!ignoredArtifacts.contains(artifact)) { logger.warn("\n\tArtifact " + artifact + " retains local artifactScope '" + artifact.getScope() + "' overriding broader artifactScope '" + ignoredScope + "'\n"
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.8K bytes - Click Count (0)