Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Formatting (0.07 sec)

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

                strategy.doApply(context, pomMap);
    
                // Convert to string to check formatting
                String result = DomUtils.toXml(document);
    
                // If pluginManagement was added, verify proper formatting
                if (result.contains("<pluginManagement>")) {
                    // Verify that the XML formatting is correct - no malformed closing tags
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java

         */
        private static String toPlatformSpecific(String expected) {
            return expected.replace("/", File.separator).replace(":", File.pathSeparator);
        }
    
        /**
         * Tests the formatting of an option without module name.
         */
        @Test
        public void testOption() {
            String[] formatted = JavaPathType.MODULES.option(paths());
            assertEquals(2, formatted.length);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 13 14:20:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

            return parent.child(name).orElse(null);
        }
    
        /**
         * Serializes a domtrip Document to XML string with preserved formatting.
         *
         * @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();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

    /**
     * Utility class for handling Maven model version operations during upgrades.
     *
     * <p>This class uses domtrip internally for superior formatting preservation
     * and simplified API while maintaining the same external interface.
     */
    public final class ModelVersionUtils {
    
        private ModelVersionUtils() {
            // Utility class
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/resources/extractor/markdown/test.md

    ## Features
    
    The extractor should handle:
    
    - YAML front matter extraction
    - Heading structure
    - **Bold text** and *italic text*
    - Lists and other formatting
    
    ### Code Examples
    
    Here is some inline `code` and a code block:
    
    ```java
    public class Example {
        public static void main(String[] args) {
            System.out.println("Hello, World!");
        }
    }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 767 bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     * </ul>
     *
     * <h3>Format Preservation</h3>
     * <ul>
     *   <li><strong>Whitespace Preservation</strong>: Maintains original formatting when removing elements</li>
     *   <li><strong>Comment Preservation</strong>: Preserves XML comments and processing instructions</li>
     *   <li><strong>Line Separator Handling</strong>: Uses system-appropriate line separators</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. CLAUDE.md

    # From IDE: Run main method in org.codelibs.fess.FessBoot
    # Access at: http://localhost:8080/
    # Admin UI: http://localhost:8080/admin/ (admin/admin)
    
    # From command line (after building)
    ./bin/fess
    ```
    
    ### Code Formatting
    ```bash
    # Format code
    mvn formatter:format
    
    # Add license headers
    mvn license:format
    ```
    
    ## Tech Stack
    
    - **Web Framework**: LastaFlute (MVC framework)
    - **DI Container**: Lasta Di
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

    /**
     * Strategy interface for different types of upgrade operations.
     * Each strategy handles a specific aspect of the Maven upgrade process.
     *
     * <p>Strategies work with domtrip Documents for perfect formatting preservation.
     * Individual strategies can create domtrip Editors from Documents as needed:
     * <pre>
     * Editor editor = new Editor(document);
     * // ... perform domtrip operations ...
     * // Document is automatically updated
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java

     *
     * <p>This class recursively discovers all POM files in a Maven project hierarchy
     * and loads them as domtrip Documents. Individual strategies can create domtrip Editors
     * from these Documents as needed for superior formatting preservation.
     */
    public class PomDiscovery {
    
        private PomDiscovery() {
            // noop
        }
    
        /**
         * Discovers and loads all POM files starting from the given directory.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

    /**
     * Abstract base class for upgrade strategies that provides common functionality
     * and reduces code duplication across strategy implementations.
     *
     * <p>Strategies work with domtrip Documents for perfect formatting preservation.
     * Subclasses can create domtrip Editors from Documents as needed:
     * <pre>
     * Editor editor = new Editor(document);
     * // ... perform domtrip operations ...
     * // Document is automatically updated
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top