Removes the contents of obsolete target dir.
Configures to 1.7 the compiler plugin from Maven.
Adds a sample class file.