Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for unindent (0.06 sec)

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

            // Test indentation methods don't throw exceptions
            context.indent();
            context.indent();
            context.info("Indented message");
    
            context.unindent();
            context.unindent();
            context.unindent(); // Should not go below 0
            context.info("Unindented message");
        }
    
        @Test
        @DisplayName("should handle icon rendering based on terminal capabilities")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jul 15 09:35:08 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Help.java

            context.println();
            context.info("Available goals:");
            context.indent();
            context.info("help  - display this help message");
            context.info("check - check for available upgrades");
            context.info("apply - apply available upgrades");
            context.unindent();
            context.println();
            context.info("Usage: mvnup [options] <goal>");
            context.println();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

                context.indent();
                context.info("Processed: " + result.processedPoms().size() + " POMs");
                context.success("Modified: " + result.modifiedPoms().size() + " POMs");
                context.unindent();
            } else {
                context.info("Strategy completed (no changes needed)");
                context.indent();
                context.info("Processed: " + result.processedPoms().size() + " POMs");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

            context.info(getDescription() + " Summary:");
            context.indent();
            context.info(result.modifiedCount() + " POM(s) modified");
            context.info(result.unmodifiedCount() + " POM(s) needed no changes");
            if (result.errorCount() > 0) {
                context.info(result.errorCount() + " POM(s) had errors");
            }
            context.unindent();
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeContext.java

        }
    
        /**
         * Increases the indentation level for nested logging.
         */
        public void indent() {
            indentLevel++;
        }
    
        /**
         * Decreases the indentation level for nested logging.
         */
        public void unindent() {
            if (indentLevel > 0) {
                indentLevel--;
            }
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                            pomMap.put(pomPath, upgradedDocument);
                        } finally {
                            context.unindent();
                        }
                        context.success("Model upgrade completed");
                        modifiedPoms.add(pomPath);
                    } else {
                        // Treat invalid upgrades (including downgrades) as errors, not warnings
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

                    context.failure("Failed to fix Maven 4 compatibility issues" + ": " + e.getMessage());
                    errorPoms.add(pomPath);
                } finally {
                    context.unindent();
                }
            }
    
            return new UpgradeResult(processedPoms, modifiedPoms, errorPoms);
        }
    
        /**
         * Fixes unsupported combine.children attribute values.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                } catch (Exception e) {
                    context.failure("Failed to apply inference optimizations" + ": " + e.getMessage());
                    errorPoms.add(pomPath);
                } finally {
                    context.unindent();
                }
            }
    
            return new UpgradeResult(processedPoms, modifiedPoms, errorPoms);
        }
    
        /**
         * Applies limited parent-related inference optimizations for Maven 4.0.0+ models.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                    } catch (Exception e) {
                        context.failure("Failed to upgrade plugins: " + e.getMessage());
                        errorPoms.add(pomPath);
                    } finally {
                        context.unindent();
                    }
                }
    
                // Clean up temp directory
                cleanupTempDirectory(tempDir);
    
            } catch (Exception e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 37K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

                }
                for (String line : entry.getValue()) {
                    consumer.accept(indent + "  " + line);
                }
            }
            for (SecDispatcher.ValidationResponse subsystem : response.getSubsystems()) {
                dumpResponse(context, indent + "  ", subsystem);
            }
        }
    
        protected abstract int doExecute(EncryptContext context) throws Exception;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top