You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-14Lines changed: 12 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,20 +5,20 @@
5
5
6
6
JavaPackager is a hybrid plugin for **Maven** and **Gradle** which provides an easy way to package Java applications in native Windows, MacOS or GNU/Linux executables, and generate installers for them.
7
7
8
-
> SNAPSHOT version is not released to Maven Central, so you have to [install it manually](#how-to-build-and-install-the-plugin).
8
+
> SNAPSHOT version (available in `devel` branch) is not released to Maven Central, so you have to [install it manually](#how-to-build-and-install-the-plugin).
9
9
10
10
> :eyes: See [JavaPackager changes and fixes](https://github.com/fvarrui/JavaPackager/releases).
11
11
12
12
## History
13
13
14
-
It was born while teaching to my students how to build and distribute their Java apps, and after seeing that a chain of several plugins was needed to achieve this task, I decided to develop a plugin :ring: to govern them all.
14
+
It was born while teaching to my students how to build and distribute their Java apps, and after seeing that a chain of several plugins was needed to achieve this task, I decided to develop a plugin :ring: to rule them all.
|`${name}-${version}-${platform}.zip`| Zipball containing generated directory `${name}`. | All ||
138
138
|`${name}-${version}-${platform}.tar.gz`| Compressed tarball containing generated directory `${name}`. | All ||
139
139
|`assets`| Directory with all intermediate files generated by JavaPackager. | All ||
@@ -157,7 +157,7 @@ By default it will generate next artifacts in `${outputDirectory} ` folder:
157
157
|`customizedJre`|:x:|`true`| Generates a customized JRE, including only identified or specified modules. Otherwise, all modules will be included. |
158
158
|`description`|:x:|`${project.description}` or `${displayName}`| Project description. |
159
159
|`displayName`|:x:|`${project.name}` or `${name}`| App name to show. |
160
-
|`envPath`|:x:|| Defines PATH environment variable in GNU/Linux and MacOS startup scripts. |
160
+
|`envPath`|:x:|| Defines PATH environment variable in GNU/Linux and MacOS startup scripts. |
161
161
|`extra`|:x:|| Map with extra properties to be used in customized Velocity templates, accesible through `$info.extra` variable. |
162
162
|`fileAssociations`|:x:|[`FileAssociation[]`](https://github.com/fvarrui/JavaPackager/blob/master/src/main/java/io/github/fvarrui/javapackager/model/FileAssociation.java)| Associate file extensions or MIME types to the app. |
163
163
|`forceInstaller`|:x:|`false`| If `true`, skips operating system check when generating installers. |
@@ -180,7 +180,7 @@ By default it will generate next artifacts in `${outputDirectory} ` folder:
180
180
|`runnableJar`|:x:|| Defines your own JAR file to be bundled. If it's ommited, the plugin packages your code in a runnable JAR and bundle it with the app. |
181
181
|`scripts`|:x:|| Specify bootstrap script. **Pre and post-install scripts comming soon!**|
182
182
|`url`|:x:|| App website URL. |
183
-
|`useResourcesAsWorkingDir`|:x:|`true`| Uses app resources folder as default working directory (always `true` on MacOS). |
183
+
|`useResourcesAsWorkingDir`|:x:|`true`| Uses app resources folder as default working directory (always `true` on MacOS). |
|`linuxConfig`|:x:|[GNU/Linux specific properties](docs/linux-specific-properties.md). |
194
-
|`macConfig`|:x:|[MacOS specific properties](docs/macosx-specific-properties.md). |
194
+
|`macConfig`|:x:|[MacOS specific properties](docs/macosx-specific-properties.md). |
195
195
|`winConfig`|:x:|[Windows specific properties](docs/windows-specific-properties.md). |
196
196
197
197
> :warning: Be careful when using the `platform` property if your project uses platform dependent libraries, so the libraries of the current platform will be copied, not those required for the target platform. You can solve this problem using `classifiers`.
@@ -294,12 +294,10 @@ Execute next commands in BASH (GNU/Linux or macOS) or CMD (Windows):
294
294
1. Download source code and change to the project directory:
0 commit comments