The project can be built with the command
mvn clean install assembly:single
Or, alternatively,
mvn clean compile assembly:single
After building the project, the application can be run with the command
java -jar target/Flashcards.jar
I started out using the ObjectOutputStream class to serialize data to file. But I ran into some issues when I tried to deserialize a file that was serialized with a different version of code. These issues were caused by changes to the data structure. For this reason I decided to save the deck as an XML file.