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
|`${name}`| Directory with the native application and other needed assets. |
65
+
|`${name}-${version}-runnable.jar`| Runnable JAR file. |
66
+
|`${name}_${version}.deb`| DEB package file if it's executed on GNU/Linux (requires **dpkg-deb**). |
67
+
|`${name}_${version}.rpm`| RPM package file if it's executed on GNU/Linux (requires **alien** & **rpmbuild**). |
68
+
|`${name}_${version}.exe`| Installer file if it's executed on Windows (requires [**Inno Setup**](http://www.jrsoftware.org/isinfo.php)). |
69
+
|`${name}_${version}.dmg`| Disk image file if it's executed on Mac OS X (requires **hdiutil**). |
70
+
|`${name}-${version}-bundle.zip`| Zipball containing generated directory `${name}` if `createZipball` property is `true`. |
71
+
|`${name}-${version}-bundle.tar`| Tarball containing generated directory `${name}` if `createTarball` property is `true`. |
72
+
|`${name}-${version}-bundle.tar.gz`| Compressed tarball containing generated directory `${name}` if `createTarball` property is `true`. |
70
73
71
74
> :warning: DEB, RPM, EXE installer and DMG files will be ommited if `generateInstaller` plugin property is `false` or if target platform is different from execution platform.
72
75
@@ -79,6 +82,8 @@ And by default it will generate next artifacts in `target ` folder:
79
82
|`administratorRequired`|:x:|`false`| App will run as administrator (with elevated privileges). |
80
83
|`bundleJre`|:x:|`false`| Embeds a customized JRE with the app. |
81
84
|`copyDependencies`|:x:|`true`| Bundles all dependencies (JAR files) with the app. |
85
+
|`createTarball`|:x:|`false`| Bundles app folder in tarball. |
86
+
|`createZipball`|:x:|`false`| Bundles app folder in zipball. |
82
87
|`customizedJre`|:x:|`true`| Generates a customized JRE, including only identified or specified modules. Otherwise, all modules will be included. |
83
88
|`description`|:x:|`${project.description}` or `${displayName}`| Project description. |
84
89
|`displayName`|:x:|`${project.name}` or `${name}`| App name to show. |
@@ -165,9 +170,10 @@ It is possible to use your own customized templates. You just have to put one of
165
170
├── macosx/
166
171
| ├── Info.plist.vtl # Info.plist template
167
172
│ └── startup.vtl # Startup script template
168
-
└── windows/
169
-
├── exe.manifest.vtl # exe.manifest template
170
-
└── iss.vtl # Inno Setup Script template
173
+
├── windows/
174
+
| ├── exe.manifest.vtl # exe.manifest template
175
+
│ └── iss.vtl # Inno Setup Script template
176
+
└── assembly.xml.vtl # assembly.xml template for maven-assembly-plugin
171
177
```
172
178
173
179
> Use [default templates](https://github.com/fvarrui/JavaPackager/tree/master/src/main/resources) as examples.
@@ -191,6 +197,8 @@ A map called `info` is passed to all templates when they are rendered with next
191
197
| `${info.license}` | String | Full path to license file. |
192
198
| `${info.envPath}` | String | Same as `envPath` plugin property. |
193
199
| `${info.vmArgs}` | String | Same as `vmArgs` plugin property. |
200
+
| `${info.createTarball}` | Boolean | Same as `createTarball` plugin property. |
201
+
| `${info.createZipball}` | Boolean | Same as `createZipball` plugin property. |
0 commit comments