Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for getClassifier (2.09 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            assertTrue(artifacts.stream().anyMatch(a -> "pom".equals(a.getExtension()) && "".equals(a.getClassifier())));
            assertTrue(
                    artifacts.stream().anyMatch(a -> "pom".equals(a.getExtension()) && "build".equals(a.getClassifier())));
        }
    
        @Test
        void testDeployBuildPomDisabled() {
            // Test that build POM deployment can be disabled
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/classrealm/ArtifactClassRealmConstituent.java

            return artifact.getArtifactId();
        }
    
        @Override
        public String getType() {
            return artifact.getExtension();
        }
    
        @Override
        public String getClassifier() {
            return artifact.getClassifier();
        }
    
        @Override
        public String getVersion() {
            return artifact.getBaseVersion();
        }
    
        @Override
        public File getFile() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 16:01:38 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  9. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Mar 24 22:23:23 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top