Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 840 for artifact (0.06 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/ConflictResolver.java

    import org.apache.maven.artifact.resolver.ResolutionNode;
    
    /**
     * Determines which version of an artifact to use when there are conflicting declarations.
     *
     */
    @Deprecated
    public interface ConflictResolver {
        String ROLE = ConflictResolver.class.getName();
    
        /**
         * Determines which of the specified versions of an artifact to use when there are conflicting declarations.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactManager.java

        /**
         * Returns the path of the file previously associated to this artifact
         * or {@code Optional.empty()} if no path has been associated.
         */
        @Nonnull
        Optional<Path> getPath(@Nonnull Artifact artifact);
    
        /**
         * Associates the given file path to the artifact.
         */
        void setPath(@Nonnull ProducedArtifact artifact, Path path);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java

        }
    
        public ExclusionSetFilter(Set<String> excludes) {
            this.excludes = excludes;
        }
    
        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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

                List<Artifact> artifacts) {
            List<ClassRealmConstituent> constituents = new ArrayList<>(artifacts == null ? 0 : artifacts.size());
    
            if (artifacts != null && !artifacts.isEmpty()) {
                boolean v4api = foreignImports != null && foreignImports.containsValue(maven4ApiRealm);
                for (Artifact artifact : artifacts) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/versioning/ManagedVersionMap.java

     * under the License.
     */
    package org.apache.maven.artifact.versioning;
    
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.Map;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * ManagedVersionMap
     */
    @Deprecated
    public class ManagedVersionMap extends HashMap<String, Artifact> {
        public ManagedVersionMap(Map<String, Artifact> map) {
            super();
            if (map != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project.artifact;
    
    import java.util.Arrays;
    import java.util.Collections;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.filter.ExcludesArtifactFilter;
    import org.apache.maven.repository.DelegatingLocalArtifactRepository;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/metadata/AbstractArtifactMetadata.java

     * under the License.
     */
    package org.apache.maven.artifact.metadata;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * AbstractArtifactMetadata
     */
    @Deprecated
    public abstract class AbstractArtifactMetadata
            extends org.apache.maven.repository.legacy.metadata.AbstractArtifactMetadata
            implements org.apache.maven.artifact.metadata.ArtifactMetadata {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

        /**
         * The path of the artifact relative to the repository's base URL.
         *
         * @return The path of the artifact, never {@code null}.
         */
        String getName();
    
        /**
         * Gets the full URL of the artifact.
         *
         * @return The full URL of the artifact, never {@code null}.
         */
        String getUrl();
    
        /**
         * The size of the artifact in bytes.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java

     * under the License.
     */
    package org.apache.maven.artifact.resolver.filter;
    
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Filter to include from a list of artifact patterns.
     *
     */
    public class IncludesArtifactFilter implements ArtifactFilter {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top