This is an example maven application, non-Eclipse, maven3 java7 (tested).
http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
git clone git@github.com:dblommesteijn/maven-example.git
cd maven-example
Build
mvn package
Run Main
java -cp target/maven-example-1.0-SNAPSHOT.jar com.blommesteijn.maven.example.App