diff --git a/README.md b/README.md
index c04f3d09f..508518799 100644
--- a/README.md
+++ b/README.md
@@ -29,9 +29,9 @@ You can also override various messages and defaults by editing [src/main/resourc
- JDK 11+
- Maven
-- Optional: Visual Studio Code as IDE as you can utilize the versioned settings.
+- Optional: Visual Studio Code as IDE as you can utilize the versioned settings (launch config).
-### Scripts
+### Goals
#### `mvn package`
@@ -39,7 +39,9 @@ Prepares all essential application artifacts in `./target`:
- `dependency-jars/`
- `preparedJDK/` - JLink-ed JDK (JRE) prepared for bundling with the application.
-- `whitelabel-*.jar` - Executable JAR with the application itself.
+- `whitelabel-*.jar` - JAR with the application itself.
+
+Assembles a .zip and .tar.xz with the content mention above and launch.sh/.bat which can be used to run it.
## License
diff --git a/pom.xml b/pom.xml
index a39e19ae4..8397e177f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -203,9 +203,11 @@
java.datatransfer
java.net.http
java.logging
+ java.sql
java.scripting
jdk.unsupported
+ jdk.httpserver
@@ -227,7 +229,7 @@
src/assembly/bin.xml
- ${artifactId}-${version}-${platform}
+ ${project.artifactId}-${project.version}-${platform}
false
diff --git a/src/assembly/bin.xml b/src/assembly/bin.xml
index f6925150a..e983b87c8 100644
--- a/src/assembly/bin.xml
+++ b/src/assembly/bin.xml
@@ -16,20 +16,27 @@
NOTICE*
-
- ${project.build.directory}
- /
-
- *.jar
-
-
${project.build.directory}/dependency-jars
/dependency-jars
${project.build.directory}/preparedJDK
- /preparedJDK
+ /jre
+
+
+ ${project.basedir}/src/assembly
+ /
+
+ launch.*
+
+
+
+
+ /
+ ${project.artifactId}.${packaging}
+
+
diff --git a/src/assembly/launch.bat b/src/assembly/launch.bat
new file mode 100644
index 000000000..6ad2c800f
--- /dev/null
+++ b/src/assembly/launch.bat
@@ -0,0 +1 @@
+.\jre\bin\java -add-opens jdk.crypto.cryptoki/sun.security.pkcs11=ALL-UNNAMED --add-opens jdk.crypto.mscapi/sun.security.mscapi=ALL-UNNAMED --add-opens java.base/java.security=ALL-UNNAMED -jar ./whitelabel.jar
diff --git a/src/assembly/launch.sh b/src/assembly/launch.sh
new file mode 100755
index 000000000..936a6aad1
--- /dev/null
+++ b/src/assembly/launch.sh
@@ -0,0 +1,2 @@
+# Shell launcher for UNIX-like systems
+./jre/bin/java --add-opens jdk.crypto.cryptoki/sun.security.pkcs11=ALL-UNNAMED -jar ./whitelabel.jar