Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for setExtension (0.19 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-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

                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();
            if (versioning != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            target.getVersioning().setSnapshot(snapshot);
            target.getVersioning().setLastUpdated("20200921071745");
            SnapshotVersion sv = new SnapshotVersion();
            sv.setClassifier("sources");
            sv.setExtension("jar");
            sv.setUpdated("20200710072412");
            target.getVersioning().addSnapshotVersion(sv);
    
            Metadata source = createMetadataFromArtifact(artifact);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerMock.java

        private String extension, directory, classifier, packaging, language;
        private boolean includesDependencies, addedToClasspath;
    
        public void setExtension(String extension) {
            this.extension = extension;
        }
    
        @Override
        public String getExtension() {
            return extension;
        }
    
        public void setDirectory(String directory) {
            this.directory = directory;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. 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();
    
            Versioning versioning = recessive.getVersioning();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

                return version;
            }
    
            public void setVersion(String version) {
                this.version = version;
            }
    
            public String getExtension() {
                return extension;
            }
    
            public void setExtension(String extension) {
                this.extension = extension;
            }
    
            public String getClassifier() {
                return classifier;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                    .anyMatch(a -> "pom".equals(a.getExtension()) && CONSUMER_POM_CLASSIFIER.equals(a.getClassifier()));
        }
    
        private Collection<Artifact> replacePom(Collection<Artifact> artifacts) {
            List<Artifact> consumers = new ArrayList<>();
            List<Artifact> mains = new ArrayList<>();
            for (Artifact artifact : artifacts) {
                if ("pom".equals(artifact.getExtension()) || artifact.getExtension().startsWith("pom.")) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

                path.append(ARTIFACT_SEPARATOR).append(artifact.getClassifier());
            }
    
            if (artifactHandler.getExtension() != null
                    && !artifactHandler.getExtension().isEmpty()) {
                path.append(GROUP_SEPARATOR).append(artifactHandler.getExtension());
            }
    
            return path.toString();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java

                path.append(ARTIFACT_SEPARATOR).append(artifact.getClassifier());
            }
    
            if (artifactHandler.getExtension() != null
                    && !artifactHandler.getExtension().isEmpty()) {
                path.append(GROUP_SEPARATOR).append(artifactHandler.getExtension());
            }
    
            return path.toString();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. 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();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top