Run Maven Project from CLI

This is just a quick not on how to run a maven project from the CLI – command line interface. cd into the root directory of the project. Run mvn compile. Then, to execute a class with a main method (usually the Application class) execute the following Maven command: mvn exec:java -Dexec.mainClass=[your class here] For […]

Ubuntu System Services

This post about systemd has been published from a draft, so it’s not been proofed for publication. I find it useful, so I would like it readily available on-line. If you find anything wrong with it, please Ubuntu, like many GNU/Linux distributions, uses systemd. systemd is a system used by the OS tor manage process, […]

Maven: Setting Compiler Version

I recently started a new JavaFX project. I decided to use Maven because the tool is great for building Java projects in a standard way that conforms with best practices. Unfortunately, I’m not the most well versed in the tool. I’ve used it a few times, and “it just worked”. This evening I got the […]

Redirect Apache Requests to Applications

When requests come into the Apache Web server, they are routed by default to the files in the Document Root. Sometimes we want to redirect those requests elsewhere. We can do this with the Rewrite module. Add the Rewrite directives to the Apache config file, an .htaccess file, or do what I usually do and […]