Gson is available in maven, so you can just add a dependency, see http://search.maven.org/#artifactdetails|com.google.code.gson|gson|2.2.4|jar, it has the snippet you need for your pom.
If mnist-tools
isn't in a maven repo anywhere, you can add it to your local repo using mvn install-file
.
Your structure probably looks like it would work (you tell us, does it?), but unless there's a good reason to change it, stick with the default structure maven uses. I.e. src/main/java
, src/main/resources
, src/test/java
etc. If I add more I usually try to keep them in the same structure e.g. src/main/scripts