Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for setExtensions (0.26 sec)

  1. api/maven-api-model/src/main/mdo/maven.mdo

        public boolean isExtensions() {
            return (getExtensions() != null) ? Boolean.parseBoolean(getExtensions()) : false;
        }
                ]]>
              </code>
            </codeSegment>
            <codeSegment>
              <version>4.0.0/4.0.99</version>
              <code>
                <![CDATA[
        public void setExtensions(boolean extensions) {
            setExtensions(String.valueOf(extensions));
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  2. 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)
  3. 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);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. 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);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerMock.java

    public class ArtifactHandlerMock implements ArtifactHandler {
    
        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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java

            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() {
            return classifier;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                if (extensionsFile != null && Files.exists(extensionsFile)) {
                    try (InputStream is = Files.newInputStream(extensionsFile)) {
                        return new CoreExtensionsStaxReader().read(is, true).getExtensions();
                    }
                }
                return List.of();
            } catch (XMLStreamException e) {
                throw new ParserException("Failed to parse extensions file: " + extensionsFile, e);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            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)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                                EMPTY,
                                problems,
                                errOn30,
                                Version.V20,
                                p.getExtensions(),
                                p.getKey(),
                                p);
    
                        validate20EffectivePluginDependencies(problems, p, request);
                    }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                if (Files.exists(extensionsPath)) {
                    try (InputStream is = Files.newInputStream(extensionsPath)) {
                        return new CoreExtensionsStaxReader().read(is, true).getExtensions();
                    }
                }
            }
            return List.of();
        }
    
        private ClassRealm setupContainerRealm(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top