@@ -26,7 +26,7 @@ Add the following `plugin` tag to your `pom.xml`.
26
26
<plugin >
27
27
<groupId >fvarrui.maven</groupId >
28
28
<artifactId >javapackager</artifactId >
29
- <version >0.6 .0</version >
29
+ <version >0.7 .0</version >
30
30
<executions >
31
31
<execution >
32
32
<phase >package</phase >
@@ -37,6 +37,11 @@ Add the following `plugin` tag to your `pom.xml`.
37
37
<mainClass >path.to.your.mainClass</mainClass >
38
38
<bundleJre >true|false</bundleJre >
39
39
<administratorRequired >true|false</administratorRequired >
40
+ <additionalResources >
41
+ <param >file path</param >
42
+ <param >folder path</param >
43
+ <param >...</param >
44
+ </additionalResources >
40
45
</configuration >
41
46
</execution >
42
47
</executions >
@@ -45,11 +50,13 @@ Add the following `plugin` tag to your `pom.xml`.
45
50
46
51
Where:
47
52
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. |
53
60
54
61
Some assets, like app icons, must to be located in:
55
62
@@ -66,6 +73,8 @@ Some assets, like app icons, must to be located in:
66
73
67
74
> Where ** projectname** corresponds to ` name ` property in ` pom.xml ` .
68
75
76
+ > :warning : If icon is not specified, it will use a default icon for every platform.
77
+
69
78
Execute next command in project's root folder:
70
79
71
80
``` bash
0 commit comments