Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 81 for read (0.13 sec)

  1. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java

            try (InputStream inputStream = Files.newInputStream(file)) {
                org.apache.maven.model.Model model =
                        new org.apache.maven.model.Model(new MavenStaxReader().read(inputStream));
                project = new MavenProject(model);
                project.setRootDirectory(Paths.get("src/test/resources/consumer/trivial"));
                project.setOriginalModel(model);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.services.Source;
    
    /**
     * The {@code ModelParser} interface is used to locate and read {@link Model}s from the file system.
     * This allows plugging in additional syntaxes for the main model read by Maven when building a project.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface ModelParser extends SpiService {
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

        <p>A Toolchain is a preconfigured object that Maven plugins can use for tool configuration retrieval (location and other information).
        <p>The <a href="/plugins/maven-toolchains-plugin/">toolchains-plugin</a> can read available toolchains on the user's computer
        and match them against the toolchain requirements of the project (as configured in {@code pom.xml}):
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 07 21:28:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

                throw new IllegalArgumentException("The POM found does not belong to the given directory: " + pom);
            }
            return pom;
        }
    
        @Override
        public Model read(XmlReaderRequest request) throws IOException {
            Objects.requireNonNull(request, "source cannot be null");
            Path pomFile = request.getPath();
            if (pomFile != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

            Build build = getModel().getBuild();
            return build != null ? build : Build.newInstance();
        }
    
        /**
         * Returns the path to the pom file for this project.
         * A project is usually read from a file named {@code pom.xml},
         * which contains the {@linkplain #getModel() model} in an XML form.
         * When a custom {@code org.apache.maven.api.spi.ModelParser} is used,
         * the path may point to a non XML file.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:42:51 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

    @Named
    @Singleton
    public class DefaultMetadataReader implements MetadataReader {
    
        public Metadata read(File input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            return read(Files.newInputStream(input.toPath()), options);
        }
    
        public Metadata read(Reader input, Map<String, ?> options) throws IOException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                attachedArtifacts.set(index, artifact);
            } else {
                attachedArtifacts.add(artifact);
            }
        }
    
        /**
         * Returns a read-only list of the attached artifacts to this project.
         *
         * @return the attached artifacts of this project
         */
        public List<Artifact> getAttachedArtifacts() {
            if (attachedArtifacts == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            org.apache.maven.project.ProjectBuilder projectBuilder =
                    getContainer().lookup(org.apache.maven.project.ProjectBuilder.class);
    
            // read poms separately
            boolean parentFileWasFoundOnChild = false;
            for (File file : toRead) {
                List<ProjectBuildingResult> results =
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

                SettingsStaxReader reader = new SettingsStaxReader();
                InputSource source = new InputSource(settingsFile.toString());
                return new Settings(reader.read(is, true, source));
            }
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

            Metadata recessive = read(existing);
    
            merge(recessive);
    
            write(result, metadata);
    
            merged = true;
        }
    
        @Override
        public boolean isMerged() {
            return merged;
        }
    
        protected abstract void merge(Metadata recessive);
    
        static Metadata read(Path metadataPath) throws RepositoryException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top