Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for DefaultArtifact (0.08 seconds)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            DefaultArtifact that = (DefaultArtifact) o;
            return Objects.equals(groupId, that.groupId)
                    && Objects.equals(artifactId, that.artifactId)
                    && Objects.equals(type, that.type)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

     * under the License.
     */
    package org.apache.maven.repository.internal;
    
    import org.apache.maven.model.Repository;
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.artifact.DefaultArtifact;
    import org.eclipse.aether.repository.RemoteRepository;
    import org.eclipse.aether.repository.RepositoryPolicy;
    
    /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                    }
                }
            }
            Path path = paths.get(id);
            if (path == null && artifact instanceof DefaultArtifact defaultArtifact) {
                path = defaultArtifact.getArtifact().getPath();
            }
            return Optional.ofNullable(path);
        }
    
        @Override
        public void setPath(@Nonnull ProducedArtifact artifact, Path path) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

            Artifact s;
            String[] parts = coords.split(":");
            s = switch (parts.length) {
                case 3 -> new DefaultArtifact(parts[0], parts[1], "*", "*", parts[2]);
                case 4 -> new DefaultArtifact(parts[0], parts[1], "*", parts[2], parts[3]);
                case 5 -> new DefaultArtifact(parts[0], parts[1], parts[2], parts[3], parts[4]);
                default ->
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9K bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            checkArtifactResult(artifactResult, "artifact-1.0.jar");
    
            artifact = new DefaultArtifact("ut.simple:artifact:zip:1.0");
            artifactRequest.setArtifact(artifact);
            artifactResult = system.resolveArtifact(session, artifactRequest);
            checkArtifactResult(artifactResult, "artifact-1.0.zip");
    
            artifact = new DefaultArtifact("ut.simple:artifact:zip:classifier:1.0");
            artifactRequest.setArtifact(artifact);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                                    Path path = paths.get(artifact.key());
                                    if (path == null && artifact instanceof DefaultArtifact defaultArtifact) {
                                        path = defaultArtifact.getArtifact().getPath();
                                    }
                                    return Optional.ofNullable(path);
                                }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

    import org.apache.maven.project.artifact.ProjectArtifact;
    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.artifact.DefaultArtifact;
    import org.eclipse.aether.deployment.DeployRequest;
    import org.eclipse.aether.installation.InstallRequest;
    import org.eclipse.sisu.PreDestroy;
    
    /**
     * Consumer POM transformer.
     *
     * @since TBD
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

    import org.eclipse.aether.artifact.ArtifactProperties;
    import org.eclipse.aether.artifact.ArtifactType;
    import org.eclipse.aether.artifact.ArtifactTypeRegistry;
    import org.eclipse.aether.artifact.DefaultArtifact;
    import org.eclipse.aether.graph.Dependency;
    import org.eclipse.aether.graph.Exclusion;
    import org.eclipse.aether.resolution.ArtifactDescriptorResult;
    
    /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

    import org.eclipse.aether.artifact.ArtifactProperties;
    import org.eclipse.aether.artifact.ArtifactType;
    import org.eclipse.aether.artifact.ArtifactTypeRegistry;
    import org.eclipse.aether.artifact.DefaultArtifact;
    import org.eclipse.aether.artifact.DefaultArtifactType;
    import org.eclipse.aether.graph.Dependency;
    import org.eclipse.aether.graph.DependencyFilter;
    import org.eclipse.aether.graph.DependencyNode;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 04 18:33:16 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

    import java.util.function.Supplier;
    
    import org.apache.maven.api.services.ModelBuilderException;
    import org.apache.maven.api.services.ModelSource;
    import org.apache.maven.artifact.DefaultArtifact;
    import org.apache.maven.internal.transformation.PomArtifactTransformer;
    import org.apache.maven.internal.transformation.TransformationFailedException;
    import org.apache.maven.project.MavenProject;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top