Added explicit maven support.
- Attempt Sonatype compatibility.
- Do not publish test artifacts.
- Generate pomExtra from settings.