Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getClassifier (0.12 sec)

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

                } else if (!a.getType().equals(getType())) {
                    return false;
                } else {
                    return a.getClassifier() == null
                            ? getClassifier() == null
                            : a.getClassifier().equals(getClassifier());
                }
            } else {
                return false;
            }
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

                        if (classifier == null) {
                            if (a.getClassifier() != null) {
                                result = 1;
                            }
                        } else {
                            if (a.getClassifier() != null) {
                                result = classifier.compareTo(a.getClassifier());
                            } else {
                                result = -1;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

        /**
         * Returns the classifier of the artifact.
         *
         * @return the classifier or an empty string if none, never {@code null}
         * @see ArtifactCoordinates#getClassifier()
         */
        @Nonnull
        String getClassifier();
    
        /**
         * Returns the file extension of the artifact.
         * The dot separator is not included in the returned string.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

            result = 31 * result + a.getType().hashCode();
            if (a.getVersion() != null) {
                result = 31 * result + a.getVersion().hashCode();
            }
            result = 31 * result + (a.getClassifier() != null ? a.getClassifier().hashCode() : 0);
            result = 31 * result + (a.getScope() != null ? a.getScope().hashCode() : 0);
            result = 31 * result
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/ArtifactCoordinates.java

        String getArtifactId();
    
        /**
         * Returns the classifier of the artifact.
         *
         * @return the classifier or an empty string if none, never {@code null}
         */
        @Nonnull
        String getClassifier();
    
        /**
         * {@return the specific version, range of versions, or meta-version of the artifact}.
         * A meta-version is a version suffixed with the {@code SNAPSHOT} keyword.
         */
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

    @Experimental
    @Immutable
    public interface ArtifactCoordinatesFactoryRequest extends Request<Session> {
    
        String getGroupId();
    
        String getArtifactId();
    
        String getVersion();
    
        String getClassifier();
    
        String getExtension();
    
        String getType();
    
        String getCoordinatesString();
    
        @Nonnull
        static ArtifactCoordinatesFactoryRequest build(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            path.append(artifact.getExtension()).append("s/");
    
            path.append(artifact.getArtifactId()).append('-').append(artifact.getVersion());
    
            if (!artifact.getClassifier().isEmpty()) {
                path.append('-').append(artifact.getClassifier());
            }
    
            path.append('.').append(artifact.getExtension());
    
            return path.toString();
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                            .getGroupId())
                    .artifactId(coordinates.getArtifactId())
                    .version(coordinates.getVersionConstraint().toString())
                    .classifier(coordinates.getClassifier())
                    .extension(coordinates.getExtension())
                    .build();
        }
    
        @Nonnull
        static DependencyCoordinatesFactoryRequest build(@Nonnull Session session, @Nonnull Dependency dependency) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

            path.append(artifact.getArtifactId()).append(ARTIFACT_SEPARATOR).append(artifact.getVersion());
    
            if (artifact.hasClassifier()) {
                path.append(ARTIFACT_SEPARATOR).append(artifact.getClassifier());
            }
    
            if (artifactHandler.getExtension() != null
                    && !artifactHandler.getExtension().isEmpty()) {
                path.append(GROUP_SEPARATOR).append(artifactHandler.getExtension());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            StringBuilder sb = new StringBuilder(128);
            sb.append(artifact.getArtifactId());
            sb.append('-').append(artifact.getBaseVersion());
            if (artifact.getClassifier() != null) {
                sb.append('-').append(artifact.getClassifier());
            }
            sb.append('.').append(artifact.getType()).append(LAST_UPDATE_TAG);
            return new File(artifact.getFile().getParentFile(), sb.toString());
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Apr 22 22:13:51 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top