Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for toXml (0.01 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

            assertNotNull(pluginManagementElement, "Should create pluginManagement element");
    
            // Verify it was added to the document
            String xmlOutput = DomUtils.toXml(doc);
            assertTrue(xmlOutput.contains("<pluginManagement>"), "Should contain pluginManagement element");
        }
    
        @Test
        void testInsertContentElement() throws Exception {
            String pomXml = """
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

         *
         * @param document the domtrip Document
         * @return the XML string with preserved formatting
         *
         */
        public static String toXml(Document document) {
            Editor editor = new Editor(document);
            return editor.toXml();
        }
    
        /**
         * Removes an element from its parent.
         *
         * @param element the element to remove
         *
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                UpgradeContext context = createMockContext();
                strategy.doApply(context, pomMap);
    
                // Convert to string to check formatting
                String result = DomUtils.toXml(document);
    
                // Check that the plugin version was upgraded
                assertTrue(result.contains("<version>3.2</version>"), "Plugin version should be upgraded to 3.2");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

                Path pomPath = entry.getKey();
                Document document = entry.getValue();
                try {
                    // Use domtrip for perfect formatting preservation
                    String xmlContent = DomUtils.toXml(document);
                    Files.writeString(pomPath, xmlContent);
                    context.detail("Saved: " + pomPath);
                } catch (Exception e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

         * Writes a Document to a file using the same format as the existing codebase.
         */
        private void writePomToFile(Document document, Path filePath) throws Exception {
            Files.writeString(filePath, document.toXml());
        }
    
        /**
         * Analyzes plugins using effective models built from the temp directory.
         * Returns a map of POM path to the set of plugin keys that need management.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 37K bytes
    - Viewed (0)
  6. pyproject.toml

    Sebastián Ramírez <******@****.***> 1766840096 -0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. gradle/libs.versions.toml

    renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 1766181950 -0500
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 19 22:05:50 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. .github/labeler.yml

            - '!fastapi/**'
            - '!pyproject.toml'
            - '!docs/en/data/sponsors.yml'
            - '!docs/en/overrides/main.html'
    
    lang-all:
      - all:
        - changed-files:
          - any-glob-to-any-file:
            - docs/*/docs/**
          - all-globs-to-all-files:
            - '!docs/en/docs/**'
            - '!docs/*/**/_*.md'
            - '!fastapi/**'
            - '!pyproject.toml'
    
    internal:
      - all:
        - changed-files:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Nov 23 20:10:04 UTC 2025
    - 921 bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/behind-a-proxy.md

    Então, crie um arquivo `traefik.toml` com:
    
    ```TOML hl_lines="3"
    [entryPoints]
      [entryPoints.http]
        address = ":9999"
    
    [providers]
      [providers.file]
        filename = "routes.toml"
    ```
    
    Isso diz ao Traefik para escutar na porta 9999 e usar outro arquivo `routes.toml`.
    
    /// tip | Dica
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  10. .github/workflows/build-docs.yml

          id: filter
          with:
            filters: |
              docs:
                - README.md
                - docs/**
                - docs_src/**
                - requirements-docs.txt
                - pyproject.toml
                - mkdocs.yml
                - mkdocs.env.yml
                - .github/workflows/build-docs.yml
                - .github/workflows/deploy-docs.yml
                - scripts/mkdocs_hooks.py
      langs:
        needs:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top