Skip to content

3.8.0

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 21:14
· 5 commits to master since this release
3.8.0

Exec Maven Plugin 3.8.0 can run exec:java in the background for integration tests, passes long command lines through an argument file, and never calls Thread.stop().

✨ Highlights

  • Background mode for exec:java. With async set, the program starts and the build waits until asyncStartCheck succeeds (a tcp:// or http(s):// address, or a script), the program ends or throws, or asyncStartTimeout (60000 ms by default) runs out. The new exec:java-stop goal, bound to post-integration-test, stops the program and fails the build if it threw (#586).
  • argumentsFile for exec:exec. When set, the arguments are written to a file and passed as @file, which avoids the operating system's command line length limit, notably on Windows. The program must understand @ argument files, as java does (#518 by @IvoLimmen).
  • No more thread stopping. stopUnresponsiveDaemonThreads is deprecated and has no effect on any JDK; setting it to true logs a warning. A thread that is still alive after the interruption and daemonThreadJoinTimeout is logged with its name and stack trace, and the new failOnLingeringThreads (default false) fails the build instead (#589).
  • Compact source classes run with exec:java on Java 25 (#515 by @mihxil).
  • Arguments after a path option are kept. -p, --module-path, -cp or -classpath followed by another option no longer swallows that option (#570).
  • Updated libraries: plexus-utils 4.2.0 and plexus-xml 3.1.1 (#573).
  • Documentation moved to Markdown and now covers the options added in 3.7.0 (#582).
  • Requirements are unchanged: Maven 3.9.0 or later and Java 8 or later.

🚀 New features and improvements

🐛 Bug Fixes

  • Compact classes not working (#515) @mihxil
  • Keep the argument after a path option that is followed by another option (#570) @slachiewicz

📝 Documentation updates

  • Remove the metadata block from the site pages (#594) @slachiewicz
  • Refresh README and site, document the 3.7.0 options, convert the site pages to Markdown, require documentation updates (#582) @slachiewicz
  • Fix stale documentation references (#581) @slachiewicz

👻 Maintenance

🔧 Build

📦 Dependency updates

Thanks to @IvoLimmen, @mihxil, @slachiewicz, Ivo Limmen and @kaoh.

Full changelog