Template project to build a JavaFX application as a JAR with dependencies with Maven
Recently, I was asked what the best way is to build a Fat JAR (a JAR with all dependencies) using Maven.
Recently, I was asked what the best way is to build a Fat JAR (a JAR with all dependencies) using Maven.
In “The MagPi Magazine” #93 and #94, published by the Raspberry Pi Foundation, you can find two articles which describe how you can get started with Java, Maven, Visual Studio Code and Pi4J on the Raspberry Pi.
Using the Java library I created (see previous post), it was a piece of cake to create a JavaFX UI on top of it!
Next step in my book progress, is getting more into the details of hardware components. And as always starting with the smallest most-used ones: resistors!
The best way to understand and learn something new, is to document it yourself. That’s what I’m doing in every step for my book-in-progress.
My very first open source JavaFX library is now available in the Maven repository! A small step for mankind, one giant leap for myself ;-)
I prefer a Java app above a web app, because starting a new “modern” web development requires you to pull a bunch of dependencies and a lot of files before you can start.