Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for content2 (0.15 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            assertFileExistence(dir, filename, true);
    
            File file = new File(dir, filename);
    
            String contents = FileUtils.fileRead(file, encoding);
    
            assertEquals(contentsTest, contents);
        }
    
        public File createFile(File dir, String filename, String contents, String encoding) throws IOException {
            File file = new File(dir, filename);
    
            file.getParentFile().mkdirs();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

                if (writer != null) {
                    new MavenStaxWriter().write(writer, content);
                } else if (outputStream != null) {
                    new MavenStaxWriter().write(outputStream, content);
                } else {
                    try (OutputStream os = Files.newOutputStream(path)) {
                        new MavenStaxWriter().write(outputStream, content);
                    }
                }
            } catch (Exception e) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

                if (writer != null) {
                    new MavenStaxWriter().write(writer, content);
                } else if (outputStream != null) {
                    new MavenStaxWriter().write(outputStream, content);
                } else {
                    try (OutputStream os = Files.newOutputStream(path)) {
                        new MavenStaxWriter().write(outputStream, content);
                    }
                }
            } catch (Exception e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java

            }
        }
    
        @Override
        public void write(XmlWriterRequest<PersistedToolchains> request) throws XmlWriterException {
            nonNull(request, "request");
            PersistedToolchains content = Objects.requireNonNull(request.getContent(), "content");
            OutputStream outputStream = request.getOutputStream();
            Writer writer = request.getWriter();
            if (writer == null && outputStream == null) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java

            }
        }
    
        @Override
        public void write(XmlWriterRequest<PersistedToolchains> request) throws XmlWriterException {
            nonNull(request, "request");
            PersistedToolchains content = Objects.requireNonNull(request.getContent(), "content");
            OutputStream outputStream = request.getOutputStream();
            Writer writer = request.getWriter();
            if (writer == null && outputStream == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * The returned list of versions is only dependent on the configured repositories and their contents.
         * The supplied request may also refer to a single concrete version rather than a version range.
         * In this case though, the result contains simply the (parsed) input version, regardless of the
         * repositories and their contents.
         *
         * @param artifact the artifact for which to resolve the versions
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

     * that the plugins/mojos can be used in arbitrary contexts. In particular, the mojos can be used for ordinary build
     * plugins as well as special purpose plugins like reports.
     *
     * @since 3.0
     */
    @Named
    @Singleton
    public class DefaultMavenPluginManager implements MavenPluginManager {
    
        /**
         * <p>
         * PluginId =&gt; ExtensionRealmCache.CacheRecord map MavenProject context value key. The map is used to ensure the
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

        }
    
        /**
         * Append content to the message buffer.
         *
         * @param value the content to append
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder a(char[] value) {
            return append(String.valueOf(value));
        }
    
        /**
         * Append content to the message buffer.
         *
         * @param value the content to append
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jan 08 10:37:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        /**
         * Sets the value of the context value of this project identified by the given key. If the supplied value is
         * <code>null</code>, the context value is removed from this project. Context values are intended to allow core
         * extensions to associate derived state with project instances.
         */
        public void setContextValue(String key, Object value) {
            if (context == null) {
                context = new HashMap<>();
    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)
  10. api/maven-api-model/src/main/mdo/maven.mdo

              <description>
                This element specifies a directory containing the script sources of the
                project. This directory is meant to be different from the sourceDirectory, in that its
                contents will be copied to the output directory in most cases (since scripts are
                interpreted rather than compiled).
                The default value is {@code src/main/scripts}.
              </description>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
Back to top