Skip to content

Commit 7348b17

Browse files
committed
Update README.md
1 parent 0b7619d commit 7348b17

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

README.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Add the following `plugin` tag to your `pom.xml`.
2626
<plugin>
2727
<groupId>fvarrui.maven</groupId>
2828
<artifactId>javapackager</artifactId>
29-
<version>0.6.0</version>
29+
<version>0.7.0</version>
3030
<executions>
3131
<execution>
3232
<phase>package</phase>
@@ -37,6 +37,11 @@ Add the following `plugin` tag to your `pom.xml`.
3737
<mainClass>path.to.your.mainClass</mainClass>
3838
<bundleJre>true|false</bundleJre>
3939
<administratorRequired>true|false</administratorRequired>
40+
<additionalResources>
41+
<param>file path</param>
42+
<param>folder path</param>
43+
<param>...</param>
44+
</additionalResources>
4045
</configuration>
4146
</execution>
4247
</executions>
@@ -45,11 +50,13 @@ Add the following `plugin` tag to your `pom.xml`.
4550

4651
Where:
4752

48-
| Property | Description |
49-
| ----------------------- | ---------------------------------------------------- |
50-
| `mainClass` | Full path to your app main class. |
51-
| `bundleJre` | Embed a customized JRE with the app. |
52-
| `administratorRequired` | If true, app will run with administrator privileges. |
53+
| Property | Mandatory | Default value | Description |
54+
| ----------------------- | --------- | ------------- | ----------------------------------------------------------- |
55+
| `mainClass` | Yes | `null` | Full path to your app main class. |
56+
| `bundleJre` | No | `false` | Embed a customized JRE with the app. |
57+
| `forceJreOptimization` | No | `false` | If JDK version < 13, it will try to reduce the bundled JRE. |
58+
| `administratorRequired` | No | `false` | If true, app will run with administrator privileges. |
59+
| `additionalResources` | No | [] | Additional files and folders to include in the bundled app. |
5360

5461
Some assets, like app icons, must to be located in:
5562

@@ -66,6 +73,8 @@ Some assets, like app icons, must to be located in:
6673

6774
> Where **projectname** corresponds to `name` property in `pom.xml`.
6875
76+
> :warning: If icon is not specified, it will use a default icon for every platform.
77+
6978
Execute next command in project's root folder:
7079

7180
```bash

0 commit comments

Comments
 (0)