Files
java-devops-demo/maven4-build-vs-consumer-pom/output/13-mvnup-apply.txt
T

229 lines
11 KiB
Plaintext

$ mvnup apply --all
[INFO] Maven Upgrade Tool - Apply
[INFO]
[INFO] Discovering POM files...
[INFO] Found 2 POM file(s)
[INFO]
[INFO] Maven Upgrade Tool
[INFO] Options:
[INFO] all: true (applying all available upgrades)
[INFO]
[INFO] Executing 13 upgrade strategy(ies):
[INFO] - Upgrading POM model version
[INFO] - Applying Maven inference optimizations
[INFO] - Removing duplicate XML elements
[INFO] - Applying Maven 4 compatibility fixes
[INFO] - Migrating source configuration to <source> elements
[INFO] - Deduplicating dependency and plugin declarations
[INFO] - Injecting standalone Nashorn for antrun JavaScript compatibility
[INFO] - Widening RequireMavenVersion ranges to allow Maven 4
[INFO] - Adding binary file extension exclusions to resource filtering
[INFO] - Adding maven-toolchains-plugin for JDK source level compatibility
[INFO] - Upgrading HTTP repository URLs to HTTPS
[INFO] - Fixing invalid Automatic-Module-Name manifest entries
[INFO] - Upgrading Maven plugins to recommended versions
[INFO]
[INFO] === Upgrading POM model version ===
[INFO] Upgrading POM model version
[INFO] <module>/.work/legacy-upgraded/pom.xml (current: 4.0.0)
[INFO] ? Upgrading from 4.0.0 to 4.1.0
[INFO] ? Updated modelVersion to 4.1.0
[INFO] ? Updated namespace to http://maven.apache.org/POM/4.1.0
[INFO] ? Updated xsi:schemaLocation
[INFO] ? Converted <modules> to <subprojects>
[INFO] ? Converted 1 <module> elements to <subproject>
[INFO] ? Model upgrade completed
[INFO] <module>/.work/legacy-upgraded/core/pom.xml (current: 4.0.0)
[INFO] ? Upgrading from 4.0.0 to 4.1.0
[INFO] ? Updated modelVersion to 4.1.0
[INFO] ? Updated namespace to http://maven.apache.org/POM/4.1.0
[INFO] ? Updated xsi:schemaLocation
[INFO] ? Model upgrade completed
[INFO]
[INFO] Upgrading POM model version Summary:
[INFO] 2 POM(s) modified
[INFO] 0 POM(s) needed no changes
[INFO] ? Strategy completed successfully
[INFO] Processed: 2 POMs
[INFO] ? Modified: 2 POMs
[INFO]
[INFO] === Applying Maven inference optimizations ===
[INFO] Applying Maven inference optimizations
[INFO] Computing artifacts for inference from 2 POM(s)...
[INFO] Computed 2 unique artifact(s) for inference
[INFO] <module>/.work/legacy-upgraded/pom.xml (current: 4.1.0)
[INFO] ? Removed: redundant subprojects list (matches direct children)
[INFO] ? Removed: modelVersion element (can be inferred from namespace)
[INFO] ? Full inference optimizations applied
[INFO] <module>/.work/legacy-upgraded/core/pom.xml (current: 4.1.0)
[INFO] ? Removed: parent groupId (child has no explicit groupId)
[INFO] ? Removed: parent version (child has no explicit version)
[INFO] ? Removed: parent artifactId (can be inferred from relativePath)
[INFO] ? Removed: modelVersion element (can be inferred from namespace)
[INFO] ? Full inference optimizations applied
[INFO]
[INFO] Applying Maven inference optimizations Summary:
[INFO] 2 POM(s) modified
[INFO] 0 POM(s) needed no changes
[INFO] ? Strategy completed successfully
[INFO] Processed: 2 POMs
[INFO] ? Modified: 2 POMs
[INFO]
[INFO] === Removing duplicate XML elements ===
[INFO] Removing duplicate XML elements
[INFO] <module>/.work/legacy-upgraded/pom.xml (checking for duplicate XML elements)
[INFO] ? No duplicate XML elements found
[INFO] <module>/.work/legacy-upgraded/core/pom.xml (checking for duplicate XML elements)
[INFO] ? No duplicate XML elements found
[INFO]
[INFO] Removing duplicate XML elements Summary:
[INFO] 0 POM(s) modified
[INFO] 2 POM(s) needed no changes
[INFO] Strategy completed (no changes needed)
[INFO] Processed: 2 POMs
[INFO]
[INFO] === Applying Maven 4 compatibility fixes ===
[INFO] Applying Maven 4 compatibility fixes
[INFO] <module>/.work/legacy-upgraded/pom.xml (checking for Maven 4 compatibility issues)
[INFO] ? No Maven 4 compatibility issues found
[INFO] <module>/.work/legacy-upgraded/core/pom.xml (checking for Maven 4 compatibility issues)
[INFO] ? No Maven 4 compatibility issues found
[INFO]
[INFO] Applying Maven 4 compatibility fixes Summary:
[INFO] 0 POM(s) modified
[INFO] 2 POM(s) needed no changes
[INFO] Strategy completed (no changes needed)
[INFO] Processed: 2 POMs
[INFO]
[INFO] === Migrating source configuration to <source> elements ===
[INFO] Migrating source configuration to <source> elements
[INFO] <module>/.work/legacy-upgraded/pom.xml (current: 4.1.0)
[INFO] ? Migrated properties: maven.compiler.source = maven.compiler.target = 17
[INFO] ? Set targetVersion: 17
[INFO] ? Source configuration migrated to <source> elements
[INFO] <module>/.work/legacy-upgraded/core/pom.xml (current: 4.1.0)
[INFO] ? No source configuration to migrate
[INFO]
[INFO] Migrating source configuration to <source> elements Summary:
[INFO] 1 POM(s) modified
[INFO] 1 POM(s) needed no changes
[INFO] ? Strategy completed successfully
[INFO] Processed: 2 POMs
[INFO] ? Modified: 1 POMs
[INFO]
[INFO] === Deduplicating dependency and plugin declarations ===
[INFO] Deduplicating dependency and plugin declarations
[INFO] <module>/.work/legacy-upgraded/pom.xml (checking for duplicate declarations)
[INFO] ? No duplicate declarations found
[INFO] <module>/.work/legacy-upgraded/core/pom.xml (checking for duplicate declarations)
[INFO] ? No duplicate declarations found
[INFO]
[INFO] Deduplicating dependency and plugin declarations Summary:
[INFO] 0 POM(s) modified
[INFO] 2 POM(s) needed no changes
[INFO] Strategy completed (no changes needed)
[INFO] Processed: 2 POMs
[INFO]
[INFO] === Injecting standalone Nashorn for antrun JavaScript compatibility ===
[INFO] Injecting standalone Nashorn for antrun JavaScript compatibility
[INFO] <module>/.work/legacy-upgraded/pom.xml (checking for antrun JavaScript usage)
[INFO] ? No antrun JavaScript usage found
[INFO] <module>/.work/legacy-upgraded/core/pom.xml (checking for antrun JavaScript usage)
[INFO] ? No antrun JavaScript usage found
[INFO]
[INFO] Injecting standalone Nashorn for antrun JavaScript compatibility Summary:
[INFO] 0 POM(s) modified
[INFO] 2 POM(s) needed no changes
[INFO] Strategy completed (no changes needed)
[INFO] Processed: 2 POMs
[INFO]
[INFO] === Widening RequireMavenVersion ranges to allow Maven 4 ===
[INFO] Widening RequireMavenVersion ranges to allow Maven 4
[INFO] <module>/.work/legacy-upgraded/pom.xml (checking for RequireMavenVersion range restrictions)
[INFO] ? No RequireMavenVersion range restrictions found
[INFO] <module>/.work/legacy-upgraded/core/pom.xml (checking for RequireMavenVersion range restrictions)
[INFO] ? No RequireMavenVersion range restrictions found
[INFO]
[INFO] Widening RequireMavenVersion ranges to allow Maven 4 Summary:
[INFO] 0 POM(s) modified
[INFO] 2 POM(s) needed no changes
[INFO] Strategy completed (no changes needed)
[INFO] Processed: 2 POMs
[INFO]
[INFO] === Adding binary file extension exclusions to resource filtering ===
[INFO] Adding binary file extension exclusions to resource filtering
[INFO] <module>/.work/legacy-upgraded/pom.xml (checking for resource filtering of binary files)
[INFO] ? No resource filtering issues found
[INFO] <module>/.work/legacy-upgraded/core/pom.xml (checking for resource filtering of binary files)
[INFO] ? No resource filtering issues found
[INFO]
[INFO] Adding binary file extension exclusions to resource filtering Summary:
[INFO] 0 POM(s) modified
[INFO] 2 POM(s) needed no changes
[INFO] Strategy completed (no changes needed)
[INFO] Processed: 2 POMs
[INFO]
[INFO] === Adding maven-toolchains-plugin for JDK source level compatibility ===
[INFO] Adding maven-toolchains-plugin for JDK source level compatibility
[INFO] <module>/.work/legacy-upgraded/pom.xml (checking JDK source level compatibility)
[INFO] ? --source 17 is supported by all current JDKs
[INFO] <module>/.work/legacy-upgraded/core/pom.xml (checking JDK source level compatibility)
[INFO] ? --source 17 is supported by all current JDKs
[INFO]
[INFO] Adding maven-toolchains-plugin for JDK source level compatibility Summary:
[INFO] 0 POM(s) modified
[INFO] 2 POM(s) needed no changes
[INFO] Strategy completed (no changes needed)
[INFO] Processed: 2 POMs
[INFO]
[INFO] === Upgrading HTTP repository URLs to HTTPS ===
[INFO] Upgrading HTTP repository URLs to HTTPS
[INFO] <module>/.work/legacy-upgraded/pom.xml (checking for HTTP repository URLs)
[INFO] ? No HTTP repository URLs found
[INFO] <module>/.work/legacy-upgraded/core/pom.xml (checking for HTTP repository URLs)
[INFO] ? No HTTP repository URLs found
[INFO]
[INFO] Upgrading HTTP repository URLs to HTTPS Summary:
[INFO] 0 POM(s) modified
[INFO] 2 POM(s) needed no changes
[INFO] Strategy completed (no changes needed)
[INFO] Processed: 2 POMs
[INFO]
[INFO] === Fixing invalid Automatic-Module-Name manifest entries ===
[INFO] Fixing invalid Automatic-Module-Name manifest entries
[INFO] <module>/.work/legacy-upgraded/pom.xml (checking Automatic-Module-Name entries)
[INFO] ? No invalid Automatic-Module-Name entries found
[INFO] <module>/.work/legacy-upgraded/core/pom.xml (checking Automatic-Module-Name entries)
[INFO] ? No invalid Automatic-Module-Name entries found
[INFO]
[INFO] Fixing invalid Automatic-Module-Name manifest entries Summary:
[INFO] 0 POM(s) modified
[INFO] 2 POM(s) needed no changes
[INFO] Strategy completed (no changes needed)
[INFO] Processed: 2 POMs
[INFO]
[INFO] === Upgrading Maven plugins to recommended versions ===
[INFO] Upgrading Maven plugins to recommended versions
[INFO] <module>/.work/legacy-upgraded/pom.xml (checking for plugin upgrades)
[INFO] ? No plugin upgrades needed
[INFO] <module>/.work/legacy-upgraded/core/pom.xml (checking for plugin upgrades)
[INFO] ? No plugin upgrades needed
[INFO]
[INFO] Upgrading Maven plugins to recommended versions Summary:
[INFO] 0 POM(s) modified
[INFO] 2 POM(s) needed no changes
[INFO] Strategy completed (no changes needed)
[INFO] Processed: 2 POMs
[INFO]
[INFO] === Overall Results ===
[INFO] Total POMs processed: 2
[INFO] ? Total POMs modified: 2
[INFO]
[INFO] Creating .mvn directory if needed to avoid root directory warnings...
[INFO] ? .mvn directory already exists at <module>/.work/legacy-upgraded/.mvn
[INFO]
[INFO] Saving modified POMs...
[INFO] ? Saved: <module>/.work/legacy-upgraded/pom.xml
[INFO] ? Saved: <module>/.work/legacy-upgraded/core/pom.xml
[INFO] ? All modifications saved successfully