Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for getExtension (0.14 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java

        }
    
        public String getType() {
            return type;
        }
    
        @Override
        public String getExtension() {
            if (extension == null) {
                return type;
            }
            return extension;
        }
    
        public void setExtension(final String extension) {
            this.extension = extension;
        }
    
        @Override
        public String getClassifier() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java

        public String getClassifier() {
            return null;
        }
    
        @Override
        public String getDirectory() {
            return getPackaging() + "s";
        }
    
        @Override
        public String getExtension() {
            return extension;
        }
    
        @Override
        public String getLanguage() {
            return "java";
        }
    
        @Override
        public String getPackaging() {
            return type;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/aether/TypeRegistryAdapter.java

                return (ArtifactType) type;
            }
            if (type != null) {
                return new DefaultType(
                        type.id(),
                        type.getLanguage(),
                        type.getExtension(),
                        type.getClassifier(),
                        type.isIncludesDependencies(),
                        type.getPathTypes().toArray(new PathType[0]));
            }
            return null;
        }
    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/internal/impl/DefaultTypeRegistry.java

                    type = new DefaultType(
                            id,
                            languageRegistry.lookup(handler.getLanguage()).orElseGet(() -> handler::getLanguage),
                            handler.getExtension(),
                            handler.getClassifier(),
                            handler.isIncludesDependencies(),
                            JavaPathType.CLASSES,
                            JavaPathType.MODULES);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/classrealm/ArtifactClassRealmConstituent.java

            return artifact.getGroupId();
        }
    
        public String getArtifactId() {
            return artifact.getArtifactId();
        }
    
        public String getType() {
            return artifact.getExtension();
        }
    
        public String getClassifier() {
            return artifact.getClassifier();
        }
    
        public String getVersion() {
            return artifact.getBaseVersion();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/ExtensionResolutionException.java

                            + cause.getMessage(),
                    cause);
            this.extension = extension;
        }
    
        public CoreExtension getExtension() {
            return extension;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifactHandler.java

        @Override
        public String getClassifier() {
            return classifier;
        }
    
        @Override
        public String getDirectory() {
            return null;
        }
    
        @Override
        public String getExtension() {
            return extension;
        }
    
        @Override
        public String getLanguage() {
            return "none";
        }
    
        @Override
        public String getPackaging() {
            return packaging;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/handler/ArtifactHandler.java

        /**
         * Returns the file name extension of the artifact;
         * e.g. "jar", "pom", "xml", etc.
         *
         * @return the file extension
         */
        String getExtension();
    
        String getDirectory();
    
        /**
         * Returns the default classifier used if a different one is not set in pom.xml.
         *
         * @return the classifier
         */
        String getClassifier();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactory.java

                    session,
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion().asString(),
                    artifact.getClassifier(),
                    artifact.getExtension(),
                    null));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top