Fix Publish/Compilation settings

- target JVM 1.6
- prevent publishing root and samples