add maven deploy plugin, you need add settings.xml under ~/.m2 for a ssh server