Commit d7705663 authored by Stephane Nicoll's avatar Stephane Nicoll

Add a warning about fully executable archive

Closes gh-9574
parent b037d7a4
...@@ -152,6 +152,12 @@ public class RepackageMojo extends AbstractDependencyFilterMojo { ...@@ -152,6 +152,12 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
/** /**
* Make a fully executable jar for *nix machines by prepending a launch script to the * Make a fully executable jar for *nix machines by prepending a launch script to the
* jar. * jar.
* <br/>
* Currently, some tools do not accept this format so you may not always be able to
* use this technique. For example, <code>jar -xf</code> may silently fail to extract
* a jar or war that has been made fully-executable. It is recommended that you only
* enable this option if you intend to execute it directly, rather than running it
* with <code>java -jar</code> or deploying it to a servlet container.
* @since 1.3 * @since 1.3
*/ */
@Parameter(defaultValue = "false") @Parameter(defaultValue = "false")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment