Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 60 for toXml (0.11 seconds)

  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 = """
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 31.3K bytes
    - Click Count (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");
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (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) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (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.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  5. pyproject.toml

        "pygithub >=2.3.0,<3.0.0",
        "pyyaml >=5.3.1,<7.0.0",
        "smokeshow >=0.5.0",
    ]
    tests = [
        { include-group = "docs-tests" },
        "anyio[trio] >=3.2.1,<5.0.0",
        "coverage[toml] >=7.13,<8.0",
        "dirty-equals >=0.9.0",
        "flask >=3.0.0,<4.0.0",
        "inline-snapshot >=0.21.1",
        "mypy >=1.14.1",
        "pwdlib[argon2] >=0.2.1",
        "pyjwt >=2.9.0",
        "pytest >=9.0.0",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  6. gradle/libs.versions.toml

    renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 1774994508 +0100
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 31 22:01:48 GMT 2026
    - 12K bytes
    - Click Count (0)
  7. scripts/tests/test_translation_fixer/test_complex_doc/data/translated_doc.md

    ```python
    # Это пример блока кода на Python
    def hello_world():
        # Комментарий с отступом
        print("Hello, world!")  # Печать приветствия
    ```
    
    ```toml
    # Это пример блока кода на TOML
    title = "TOML Example"  # Заголовок документа
    ```
    
    ```console
    // Используйте команду "live" и передайте код языка в качестве аргумента CLI
    $ python ./scripts/docs.py live es
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 08:08:04 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  8. scripts/tests/test_translation_fixer/test_complex_doc/data/translated_doc_expected.md

    ```python
    # Это пример блока кода на Python
    def hello_world():
        # Комментарий с отступом
        print("Hello, world!")  # Печать приветствия
    ```
    
    ```toml
    # Это пример блока кода на TOML
    title = "TOML Example"  # Заголовок документа
    ```
    
    ```console
    // Используйте команду "live" и передайте код языка в качестве аргумента CLI
    $ python ./scripts/docs.py live es
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 08:08:04 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  9. 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
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  10. docs/tr/docs/advanced/behind-a-proxy.md

    Ardından `traefik.toml` adında bir dosya oluşturup şunu yazın:
    
    ```TOML hl_lines="3"
    [entryPoints]
      [entryPoints.http]
        address = ":9999"
    
    [providers]
      [providers.file]
        filename = "routes.toml"
    ```
    
    Bu, Traefik'e 9999 portunda dinlemesini ve `routes.toml` adlı başka bir dosyayı kullanmasını söyler.
    
    /// tip | İpucu
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 16.5K bytes
    - Click Count (0)
Back to Top