The classic snake-game desctop application: a single-player computer game where the player manouvers a growing line (snake) moving on the screen.
Program code can be run from Netbeans or from terminal with command
mvn compile exec:java -Dexec.mainClass=anadis.snakegame.ui.Main
Test can be run with command
mvn test
Code coverage report can be generated with command
mvn jacoco:report
The code coverage report can be reviewed by running file target/site/jacoco/index.html in browser
Running command
mvn package
generates jar file SnakeGame-1.0-SNAPSHOT.jar to the repositorio target and can be run with command
java -jar SnakeGame-1.0-SNAPSHOT.jar
Style checking as defined in the document checkstyle.xml can be run with command
mvn jxr:jxr checkstyle:checkstyle
And possible style violations be reviewed by running file target/site/checkstyle.html in browser
JavaDoc is generates by command
mvn javadoc:javadoc
and reviewed by running files found in target/site/apidocs/