Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for toXml (0.02 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. docs/zh/docs/advanced/behind-a-proxy.md

    然后创建包含如下内容的 `traefik.toml` 文件:
    
    ```TOML hl_lines="3"
    [entryPoints]
      [entryPoints.http]
        address = ":9999"
    
    [providers]
      [providers.file]
        filename = "routes.toml"
    ```
    
    这个文件把 Traefik 监听端口设置为 `9999`,并设置要使用另一个文件 `routes.toml`。
    
    /// tip | 提示
    
    使用端口 9999 代替标准的 HTTP 端口 80,这样就不必使用管理员权限运行(`sudo`)。
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/behind-a-proxy.md

    Dann erstellen Sie eine Datei `traefik.toml` mit:
    
    ```TOML hl_lines="3"
    [entryPoints]
      [entryPoints.http]
        address = ":9999"
    
    [providers]
      [providers.file]
        filename = "routes.toml"
    ```
    
    Dadurch wird Traefik angewiesen, Port 9999 abzuhören und eine andere Datei `routes.toml` zu verwenden.
    
    /// tip | Tipp
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. docs/ru/docs/advanced/behind-a-proxy.md

    Затем создайте файл `traefik.toml` со следующим содержимым:
    
    ```TOML hl_lines="3"
    [entryPoints]
      [entryPoints.http]
        address = ":9999"
    
    [providers]
      [providers.file]
        filename = "routes.toml"
    ```
    
    Это говорит Traefik слушать порт 9999 и использовать другой файл `routes.toml`.
    
    /// tip | Совет
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  9. docs/es/docs/advanced/behind-a-proxy.md

    Luego crea un archivo `traefik.toml` con:
    
    ```TOML hl_lines="3"
    [entryPoints]
      [entryPoints.http]
        address = ":9999"
    
    [providers]
      [providers.file]
        filename = "routes.toml"
    ```
    
    Esto le dice a Traefik que escuche en el puerto 9999 y que use otro archivo `routes.toml`.
    
    /// tip | Consejo
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/behind-a-proxy.md

    Then create a file `traefik.toml` with:
    
    ```TOML hl_lines="3"
    [entryPoints]
      [entryPoints.http]
        address = ":9999"
    
    [providers]
      [providers.file]
        filename = "routes.toml"
    ```
    
    This tells Traefik to listen on port 9999 and to use another file `routes.toml`.
    
    /// tip
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.4K bytes
    - Viewed (0)
Back to top