Changed scala version to 2.11. Added publishing configuration.