Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for Weaver (0.41 sec)

  1. maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeBuilder.java

     * The caller is responsible for closing {@code InputStream} and {@code Reader} arguments.
     */
    public class XmlNodeBuilder {
        private static final boolean DEFAULT_TRIM = true;
    
        public static XmlNodeImpl build(Reader reader) throws XmlPullParserException, IOException {
            return build(reader, (InputLocationBuilder) null);
        }
    
        /**
         * @param reader the reader
         * @param locationBuilder the builder
         * @since 3.2.0
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java

        /**
         *
         * @param reader a reader object.
         * @throws IOException IOException if any.
         * @throws XmlPullParserException XmlPullParserException if
         * any.
         * @return Model
         */
        public Model read(Reader reader) throws IOException, XmlPullParserException {
            return read(reader, true);
        } // -- Model read( Reader )
    
        protected Model read(InputStream is, boolean strict, InputSource source)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 20 07:14:01 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

            Path path = request.getPath();
            URL url = request.getURL();
            Reader reader = request.getReader();
            InputStream inputStream = request.getInputStream();
            if (path == null && url == null && reader == null && inputStream == null) {
                throw new IllegalArgumentException("path, url, reader or inputStream must be non null");
            }
            try {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

        }
    
        @Override
        public File findArtifact(Artifact artifact) {
            requireNonNull(artifact, "artifact cannot be null");
            File file = null;
    
            for (WorkspaceReader reader : readers) {
                file = reader.findArtifact(artifact);
                if (file != null) {
                    break;
                }
            }
    
            return file;
        }
    
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java

         * @return The deserialized metadata, never {@code null}.
         * @throws IOException If the metadata could not be deserialized.
         * @throws MetadataParseException If the input format could not be parsed.
         */
        Metadata read(File input, Map<String, ?> options) throws IOException, MetadataParseException;
    
        /**
         * Reads the metadata from the specified character reader. The reader will be automatically closed before the method
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

            }
        }
    
        private Model read(Reader reader, Path pomFile, Map<String, ?> options) throws IOException {
            try {
                XMLInputFactory factory = new com.ctc.wstx.stax.WstxInputFactory();
                factory.setProperty(XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, false);
                XMLStreamReader parser = factory.createXMLStreamReader(reader);
    
                InputSource source = getSource(options);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

            return read(Files.newInputStream(input.toPath()), options);
        }
    
        public Metadata read(Reader input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (Reader in = input) {
                return new Metadata(new MetadataStaxReader().read(in, isStrict(options)));
            } catch (XMLStreamException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelProcessor.java

        /**
         * Reads the model from the specified byte stream. The stream will be automatically closed before the method
         * returns.
         *
         * @param request The reader request to deserialize the model, must not be {@code null}.
         * @return The deserialized model, never {@code null}.
         * @throws IOException If the model could not be deserialized.
         * @throws XmlReaderException If the input format could not be parsed.
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java

    import org.apache.maven.project.MavenProject;
    
    /**
     * A build context that matches a Maven project to a given task segment, and the session to be used.
     * <p>
     * A note to the reader;
     * </p>
     * <p>
     * There are several issues/discussions regarding how "aggregator" plugins should be handled.
     * Read for instance http://docs.codehaus.org/display/MAVEN/Deterministic+Lifecycle+Planning
     * </p>
     * <p>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. maven-model-builder/src/test/java/org/apache/maven/model/path/DefaultUrlNormalizerTest.java

            assertEquals("http://server.org/dir", normalize("http://server.org/dir"));
            assertEquals("http://server.org/dir/", normalize("http://server.org/dir/"));
        }
    
        @Test
        void testRemovalOfParentRefs() {
            assertEquals("http://server.org/child", normalize("http://server.org/parent/../child"));
            assertEquals("http://server.org/child", normalize("http://server.org/grand/parent/../../child"));
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top