Properly configure maven publish.