Maven can be as simple or as complicated as you’d like. The maven command line interface is mvn. You can quickly find the version using the –version option: mvn –version This is useful for a lot, but most notably to see where Maven is, which is in the home line. You can then create a project by using the archetype:generate option. Let’s say I wanted to create an artifactID of Precache with a standard environment (DarchetypeArtifactId) that doesn’t need to be interactive. That would look as follows using the mvn command: mvn archetype:generate –DgroupId=com.precache –DartifactId=precache –DarchetypeArtifactId=maven–archetype–quickstart –DinteractiveMode=false This creates a directory in Maven with a full hierarchy that matches what maven will…
-
-
When My Code Actually Compiles
Rarely, but Happily!
-
Howto Install wget for Mac OS X
The wget command is used to download files from the web and is one of the most useful commands around. But while it comes included with most distributions of Linux, it is not built into Mac OS X by default. Therefore, let’s look at installing wget. To get started, install the developer tools for Mac OS X so that you can get a working copy of a compiler (gcc). Once the developer tools have been installed, you’ll want to download the latest version of wget from gnu. To do so, either download it manually from http://www.gnu.org/software/wget or use the ftp command to do so for you: ftp ftp://ftp.gnu.org/gnu/wget/wget-latest.tar.gz Next, extract…