Maven Archetype to generate a starter project for the Algorithms Course taught by Robert Sedgewick and Keving 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
jar
tool (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.zip
to download the file containing the .jar file, findalgs4.jar
in the folderlift/lib/algs4.jar
Once 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, that is, answer the questions the above command will ask you.