A RCP Demo Project as example as well as for communication of issues like Java Version, OpenJFX, OSGI and topics like this
Running on Windows and Linux environment (at least):
# build without tests and generating the products
./mvnw -B -f rcp.demo.build -PDefault
# tests without product generation
./mvnw -B -f rcp.demo.build/pom.tests.core.xml -PTest
The rcp.demo.product/target folder will contain then all three distributions:
Please note: Requires at least Java 11.
You also can use Docker on Windows for testing the Build under Linux
docker run --rm -v %CD%:/workspace -it adoptopenjdk/openjdk11-openj9 /workspace/build.sh