Added more robust scala build to allow for future clean releases, and publish settings for later integration. 

Added more robust scala build to allow for future clean releases, and publish settings for later integration. 
Ah, ok thanks, didn't catch that.