Skip to content

Releases

3.7.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 19:18
3.7.0

Exec Maven Plugin 3.7.0 raises the minimum Maven version to 3.9.0, adds three long-requested exec:java options, and fixes a batch of old bugs in how commands and Java programs are started. Java 8 is still enough to run it. Builds on Maven 3.6.3 to 3.8.x must stay on 3.6.4.

✨ Highlights

  • Maven 3.9.0 or later is required (#548). Older Maven versions fail at startup with a prerequisite error.
  • classpathDependencyExcludes removes chosen dependencies from the class path of exec:java and exec:exec (#562, requested in #68 by @pramodanarase).
  • mainClass from the manifest. When executableDependency is set and mainClass is not, the Main-Class attribute of that dependency's manifest is used (#563, #89 by @sewe).
  • keepClassLoaderOpen leaves the exec:java class loader open after the program returns, so shutdown hooks and background threads can still load classes (#561, #513 by @tzaeschke).
  • exec:java threading. The main class runs in a non-daemon bootstrap thread that the plugin waits for, so IDE builds such as m2e no longer interrupt it (#572, #526 by @sbj42). A program's own UncaughtExceptionHandler now receives its uncaught exceptions (#569, #141 by @dedeibel).
  • exec:exec fixes. async together with outputFile keeps the output file open until the process ends (#565, #63 by @tarioch). A relative executable resolves against workingDirectory again (#567, #92 by @deepakab03). Unquoted line breaks and tabs in commandlineArgs count as spaces instead of creating empty arguments (#571, #466 by @cebaa). A failed command logs its message at error level and keeps the stack trace for -X (#568).
  • Module path. Resource directories stay off the module path (#560, #534 by @inaldt), and the %modulepath token is handled (#532 by @pzygielo).
  • Documentation moved from APT to Markdown, and the module path argument file is now documented (#557, #566).

🚨 Removed

🚀 New features and improvements

🐛 Bug Fixes

📝 Documentation updates

👻 Maintenance

🔧 Build

📦 Dependency updates

Thanks to @pzygielo and @slachiewicz.

Full changelog

3.6.4

Choose a tag to compare

@github-actions github-actions released this 11 Sep 20:48

📝 Documentation updates

👻 Maintenance

📦 Dependency updates

14 changes

3.6.3

Choose a tag to compare

@github-actions github-actions released this 21 Dec 21:34

📝 Documentation updates

👻 Maintenance

📦 Dependency updates

3.6.2

Choose a tag to compare

@github-actions github-actions released this 19 Oct 07:48
3.6.2
416fdf1

🚀 New features and improvements

  • Add JPMS ServiceLoader Support with Multi-Release JAR (#500) @ascheman

📦 Dependency updates

3.6.1

Choose a tag to compare

@github-actions github-actions released this 05 Oct 19:15
3.6.1
53087eb

🐛 Bug Fixes

📦 Dependency updates

3.6.0

Choose a tag to compare

@github-actions github-actions released this 30 Sep 06:19
3.6.0
febfc6f

🚀 New features and improvements

🐛 Bug Fixes

👻 Maintenance

📦 Dependency updates

3.5.1

Choose a tag to compare

@github-actions github-actions released this 27 May 18:07
3.5.1
bd1f6f7

🐛 Bug Fixes

📦 Dependency updates

👻 Maintenance

3.5.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 07:49
3.5.0
b80d3d6

🚀 New features and improvements

  • Add toolchain java path to environment variables in ExecMojo (#455) @michalm2000

🐛 Bug Fixes

  • #322, enable to control the exec:java interaction with JVM classloader more finely (#337) @rmannibucau

📦 Dependency updates

  • Bump org.codehaus.mojo:mojo-parent from 85 to 86 (#445) @dependabot
  • Bump commons-io:commons-io from 2.7 to 2.14.0 in /src/it/projects/project6/project5lib (#451) @dependabot
  • Bump asm.version from 9.7 to 9.7.1 (#452) @dependabot
  • Bump commons-io:commons-io from 2.7 to 2.14.0 in /src/it/projects/setup-parent (#450) @dependabot
  • Bump commons-io:commons-io from 2.7 to 2.14.0 in /src/test/projects/project13 (#449) @dependabot
  • Bump org.codehaus.plexus:plexus-utils from 4.0.1 to 4.0.2 (#447) @dependabot

👻 Maintenance

3.4.1

Choose a tag to compare

@github-actions github-actions released this 12 Aug 19:53
3.4.1
7b0be2c

🐛 Bug Fixes

  • Environment variable Path should be used as case-insensitive (#442) @slawekjaranowski
  • fix: NPE because declared MavenSession field hides field of superclass (#439) @sebthom

📦 Dependency updates

👻 Maintenance

🔧 Build

3.4.0

Choose a tag to compare

@github-actions github-actions released this 06 Aug 21:40
3.4.0
6c4996f

🚀 New features and improvements

  • Allow <includePluginDependencies> to be specified for the exec:exec goal (#432) @sebthom

🐛 Bug Fixes

📦 Dependency updates

👻 Maintenance

🔧 Build