- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for doUpgrade (0.05 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
@Inject public AbstractUpgradeGoal(StrategyOrchestrator orchestrator) { this.orchestrator = orchestrator; } /** * Executes the upgrade goal. * Template method that calls doUpgrade and optionally saves modifications. */ @Override public int execute(UpgradeContext context) throws Exception { UpgradeOptions options = context.options();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 12.5K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
public int testExecuteWithTargetModel(UpgradeContext context, String targetModel) { try { Map<Path, Document> pomMap = Map.of(); // Empty for this test return doUpgrade(context, targetModel, pomMap); } catch (Exception e) { throw new RuntimeException(e); } } // Helper method from AbstractUpgradeStrategyRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 13.7K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java
assertEquals("package", packageExecution.child("phase").orElse(null).textContent()); } } @Nested @DisplayName("Downgrade Handling") class DowngradeHandlingTests { @Test @DisplayName("should fail with error when attempting downgrade from 4.1.0 to 4.0.0") void shouldFailWhenAttemptingDowngrade() throws Exception { String pomXml = """
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 38.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
fun wrongConnectionHeader() { webServer.enqueue( MockResponse .Builder() .code(101) .setHeader("Upgrade", "websocket") .setHeader("Connection", "Downgrade") .setHeader("Sec-WebSocket-Accept", "ujmZX4KXZqjwy6vi1aQFH5p4Ygk=") .build(), ) webServer.enqueue( MockResponse .Builder() .onRequestStart(CloseSocket())
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 35.5K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
} @ParameterizedTest(name = "from {0} to {1}") @MethodSource("provideInvalidPathUpgradeVersions") @DisplayName("should reject downgrade") void shouldRejectDowngrade(String from, String to) { assertFalse(ModelVersionUtils.canUpgrade(from, to)); } private static Stream<Arguments> provideInvalidPathUpgradeVersions() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 19.6K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.34.md
- DRA: The scheduler plugin prevented abnormal filter runtimes by timing out after 10...
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Wed Dec 10 01:13:50 UTC 2025 - 333.3K bytes - Viewed (1)