Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Writer (0.18 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

            }
            return artifacts;
        }
    
        void write(Model model, Path dest) throws IOException, XMLStreamException {
            String version = model.getModelVersion();
            Files.createDirectories(dest.getParent());
            try (Writer w = Files.newBufferedWriter(dest)) {
                MavenStaxWriter writer = new MavenStaxWriter();
                writer.setNamespace(String.format(NAMESPACE_FORMAT, version));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

                    .build());
        }
    
        default void write(@Nonnull T content, @Nonnull Writer writer) throws XmlWriterException {
            write(XmlWriterRequest.<T>builder().content(content).writer(writer).build());
        }
    
        void write(@Nonnull XmlWriterRequest<T> request) throws XmlWriterException;
    
        /**
         * Simply parse the given xml string.
         *
         * @param xml the input xml string
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSettingsXmlFactory.java

            }
            try {
                if (writer != null) {
                    new SettingsStaxWriter().write(writer, content);
                } else {
                    new SettingsStaxWriter().write(outputStream, content);
                }
            } catch (Exception e) {
                throw new XmlWriterException("Unable to write settings", e);
            }
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsXmlFactory.java

            }
            try {
                if (writer != null) {
                    new SettingsStaxWriter().write(writer, content);
                } else {
                    new SettingsStaxWriter().write(outputStream, content);
                }
            } catch (Exception e) {
                throw new XmlWriterException("Unable to write settings: " + getMessage(e), getLocation(e), e);
            }
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. maven-api-impl/pom.xml

                  <templates>
                    <template>merger.vm</template>
                    <template>transformer.vm</template>
                    <template>reader-stax.vm</template>
                    <template>writer-stax.vm</template>
                  </templates>
                  <params>
                    <param>forcedIOModelVersion=1.2.0</param>
                    <param>packageModelV3=org.apache.maven.settings</param>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 08:48:58 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

            try {
                Files.createDirectories(resumeProperties.getParent());
                try (Writer writer = Files.newBufferedWriter(resumeProperties)) {
                    properties.store(writer, null);
                }
            } catch (IOException e) {
                String message = "Could not create " + RESUME_PROPERTIES_FILENAME + " file.";
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  7. maven-core/src/test/resources-project-builder/execution-configuration/pom.xml

                            <id>nexus.xml</id>
                            <goals>
                                <goal>java</goal>
                                <goal>xpp3-reader</goal>
                                <goal>xpp3-writer</goal>
                            </goals>
                            <configuration>
                                <version>1.0.8</version>
                                <packagedVersions>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 29 05:20:38 GMT 2009
    - 2.2K bytes
    - Viewed (0)
  8. maven-core/src/test/projects/lifecycle-executor/project-with-multiple-executions/pom.xml

            <artifactId>maven-it-plugin</artifactId>
            <version>0.1</version>
            <executions>
              <execution>
                <id>remote-resources</id>
                <goals>
                  <goal>xpp3-writer</goal>
                  <goal>java</goal>
                  <goal>xpp3-reader</goal>
                </goals>
                <configuration>
                  <version>1.1.0</version>
                  <models>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Nov 07 15:16:39 GMT 2019
    - 3.8K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java

            public XmlWriterRequestBuilder<T> writer(Writer writer) {
                this.writer = writer;
                return this;
            }
    
            public XmlWriterRequestBuilder<T> content(T content) {
                this.content = content;
                return this;
            }
    
            public XmlWriterRequest<T> build() {
                return new DefaultXmlWriterRequest<>(path, outputStream, writer, content);
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom

                </goals>
              </execution>
              <execution>
                <id>standard</id>
                <goals>
                  <goal>java</goal>
                  <goal>xpp3-reader</goal>
                  <goal>xpp3-writer</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
              <excludes>
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 3.7K bytes
    - Viewed (0)
Back to top