Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 62 for setClassifier (0.15 sec)

  1. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/classrealm/ArtifactClassRealmConstituent.java

        public String getArtifactId() {
            return artifact.getArtifactId();
        }
    
        public String getType() {
            return artifact.getExtension();
        }
    
        public String getClassifier() {
            return artifact.getClassifier();
        }
    
        public String getVersion() {
            return artifact.getBaseVersion();
        }
    
        public File getFile() {
            return artifact.getFile();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java

                    .append(dependency.getArtifactId())
                    .append(":")
                    .append(dependency.getType());
            if (dependency.getClassifier() != null && !dependency.getClassifier().isEmpty()) {
                stringBuilder.append(":").append(dependency.getClassifier());
            }
            stringBuilder
                    .append(":")
                    .append(dependency.getVersion())
                    .append("@")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                if ("pom".equals(artifact.getExtension()) || artifact.getExtension().startsWith("pom.")) {
                    if (CONSUMER_POM_CLASSIFIER.equals(artifact.getClassifier())) {
                        consumers.add(artifact);
                    } else if ("".equals(artifact.getClassifier())) {
                        mains.add(artifact);
                    }
                }
            }
            if (!mains.isEmpty() && !consumers.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

                    return dependency.getArtifactId();
                }
    
                @Override
                public String getClassifier() {
                    String classifier = dependency.getClassifier();
                    if (classifier == null || classifier.isEmpty()) {
                        classifier = getType().getClassifier();
                        if (classifier == null) {
                            classifier = "";
                        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactNotFoundException.java

                    message,
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion(),
                    artifact.getType(),
                    artifact.getClassifier(),
                    null,
                    artifact.getDownloadUrl(),
                    artifact.getDependencyTrail());
        }
    
        protected ArtifactNotFoundException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

                return artifactId;
            } else {
                return artifact.getArtifactId();
            }
        }
    
        @Override
        public String getClassifier() {
            if (classifier != null) {
                return classifier;
            } else {
                return artifact.getClassifier();
            }
        }
    
        @Override
        public String getExtension() {
            if (extension != null) {
                return extension;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

                            isAny(relocation.target.getArtifactId()) ? null : relocation.target.getArtifactId(),
                            isAny(relocation.target.getClassifier()) ? null : relocation.target.getClassifier(),
                            isAny(relocation.target.getExtension()) ? null : relocation.target.getExtension(),
                            isAny(relocation.target.getVersion()) ? null : relocation.target.getVersion(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

    @Immutable
    public interface ArtifactCoordinatesFactoryRequest {
    
        @Nonnull
        Session getSession();
    
        String getGroupId();
    
        String getArtifactId();
    
        String getVersion();
    
        String getClassifier();
    
        String getExtension();
    
        String getType();
    
        String getCoordinatesString();
    
        @Nonnull
        static ArtifactCoordinatesFactoryRequest build(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top