Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for getClassifier (0.18 sec)

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

                return false;
            } else if (!a.getType().equals(getType())) {
                return false;
            } else {
                return a.getClassifier() == null
                        ? getClassifier() == null
                        : a.getClassifier().equals(getClassifier());
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/MavenArtifactMetadata.java

            this.scope = scope;
        }
    
        @Override
        public String toString() {
            return getGroupId() + ":" + getArtifactId() + ":" + getVersion() + ":"
                    + (getClassifier() == null ? "" : getClassifier()) + ":"
                    + (getType() == null ? DEFAULT_TYPE : getType());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

                }
    
                SnapshotVersion sv = new SnapshotVersion();
                sv.setClassifier(artifact.getClassifier());
                sv.setExtension(artifact.getExtension());
                sv.setVersion(version);
                sv.setUpdated(lastUpdated);
    
                versions.put(getKey(sv.getClassifier(), sv.getExtension()), sv);
            }
    
            artifacts.clear();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                    + ":" + artifact.getArtifactId()
                    + ":" + artifact.getArtifactHandler().getExtension()
                    + (artifact.getClassifier() == null || artifact.getClassifier().isEmpty()
                            ? ""
                            : ":" + artifact.getClassifier())
                    + ":" + artifact.getVersion();
        }
    
        private String id(Artifact artifact) {
            return artifact.key();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

            for (Artifact artifact : artifacts) {
                SnapshotVersion sv = new SnapshotVersion();
                sv.setClassifier(artifact.getClassifier());
                sv.setExtension(artifact.getExtension());
                sv.setVersion(getVersion());
                sv.setUpdated(lastUpdated);
                versions.put(getKey(sv.getClassifier(), sv.getExtension()), sv);
            }
    
            Versioning versioning = recessive.getVersioning();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top