slachiewicz opened a new pull request, #1504: URL: https://github.com/apache/maven-release/pull/1504
maven-invoker is deprecated in favour of [maven-executor](https://github.com/apache/maven-executor) (apache/maven-invoker#164). `InvokerMavenExecutor`, the default `mavenExecutorId`, keeps its id and behaviour but runs Maven with `ForkedMavenExecutor` on the release environment's Maven home: the invoker's setters become options (`-X` in debug, `-B` unless interactive, `-Dmaven.repo.local`, `-f`, `-s` for the encrypted settings copy), `JAVA_HOME` goes through the request's environment, `additionalArguments` are split with plexus-utils `translateCommandline`, the same splitting the `forked` executor uses, and the build's stdout and stderr reach the plugin's logger line by line as before. Interactive mode still hands `System.in` to the build. Three ITs (MRELEASE-533, MRELEASE-618, MRELEASE-966) assert the invoker's debug line about a POM not named `pom.xml`; the executor logs the same sentence when it adds `-f`, and also the full command line at debug level. Verified: `mvn -Prun-its install` → 55 ITs passed; maven-release-manager unit tests → 769 passed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
