Maven Archetype to generate a starter project for the Algorithms Course taught by Robert Sedgewick and Kevin Wayne, available for free in Coursera.
You will need to have algs4.jar in your local Maven Repository.
There are some videos I have prepared to assist you in the process.
- In this video you can learn how to use the
jartool (Arriving with the JDK) to extract .zip files. - In this video you see how to install the aforementioned library in your local maven repository, the official code repository for the aforementioned library can be found here. If you want a shortcut you can use
curl -O https://lift.cs.princeton.edu/java/linux/lift-cli.zipto download the file containing the .jar file, findalgs4.jarin the folderlift/lib/algs4.jarOnce you have extracted the content fromlift-cli.zip - Clone this repository
- Change directory to the recently cloned repository.
- Execute
mvn clean install - Execute
mvn archetype:generate -DarchetypeCatalog=local - Follow the instructions, and that's it.