Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 708 for Artifact (2.18 sec)

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

     * under the License.
     */
    package org.apache.maven.artifact.repository;
    
    import java.io.File;
    import java.util.Collections;
    import java.util.List;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
    import org.apache.maven.repository.Proxy;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java

            this.excludes = excludes;
        }
    
        @Override
        public boolean include(Artifact artifact) {
            String id = artifact.getArtifactId();
    
            if (excludes.contains(id)) {
                return false;
            }
    
            id = artifact.getGroupId() + ':' + id;
    
            return !excludes.contains(id);
        }
    
        @Override
        public int hashCode() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

        }
    
        public static Map<String, Artifact> artifactMapByVersionlessId(Collection<Artifact> artifacts) {
            Map<String, Artifact> artifactMap = new LinkedHashMap<>();
    
            if (artifacts != null) {
                for (Artifact artifact : artifacts) {
                    artifactMap.put(versionlessKey(artifact), artifact);
                }
            }
    
            return artifactMap;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginRealmCache.java

                return realm;
            }
    
            public List<Artifact> getArtifacts() {
                return artifacts;
            }
    
            private final ClassRealm realm;
    
            private final List<Artifact> artifacts;
    
            public CacheRecord(ClassRealm realm, List<Artifact> artifacts) {
                this.realm = realm;
                this.artifacts = artifacts;
            }
        }
    
        /**
         * A cache key.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenArtifactRelocationSource.java

        /**
         * Returns {@link Artifact} instance where to relocate to, or {@code null}.
         *
         * @param session The session, never {@code null}.
         * @param result The artifact descriptor result, never {@code null}.
         * @param model The artifact model, never {@code null}.
         * @return The {@link Artifact} to relocate to, or {@code null} if no relocation wanted.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilterTest.java

    class ExclusionArtifactFilterTest {
        private Artifact artifact;
        private Artifact artifact2;
    
        @BeforeEach
        void setup() {
            artifact = mock(Artifact.class);
            when(artifact.getGroupId()).thenReturn("org.apache.maven");
            when(artifact.getArtifactId()).thenReturn("maven-core");
    
            artifact2 = mock(Artifact.class);
            when(artifact2.getGroupId()).thenReturn("org.junit.jupiter");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactNotFoundException.java

                String message, Artifact artifact, List<ArtifactRepository> remoteRepositories) {
            super(message, artifact, remoteRepositories);
        }
    
        public ArtifactNotFoundException(String message, Artifact artifact) {
            this(
                    message,
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion(),
                    artifact.getType(),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

         * Collects the transitive dependencies of some artifacts and builds a dependency graph for the given path scope.
         * Note that this operation is only concerned about determining the coordinates of the transitive dependencies and
         * does not actually resolve the artifact files.
         *
         * @param session the {@link Session}, must not be {@code null}
         * @param artifact the {@link Artifact}, must not be {@code null}
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/DelegatingLocalArtifactRepository.java

        }
    
        @Override
        public Artifact find(Artifact artifact) {
            if (!artifact.isRelease() && buildReactor != null) {
                artifact = buildReactor.find(artifact);
            }
    
            if (!artifact.isResolved() && ideWorkspace != null) {
                artifact = ideWorkspace.find(artifact);
            }
    
            if (!artifact.isResolved()) {
                artifact = userLocalArtifactRepository.find(artifact);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            requireNonNull(project, "project cannot be null");
            requireNonNull(artifact, "artifact cannot be null");
            requireNonNull(path, "path cannot be null");
            if (artifact.getGroupId().isEmpty()
                    || artifact.getArtifactId().isEmpty()
                    || artifact.getBaseVersion().toString().isEmpty()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 16:17:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top