Set explicitly the packaging to jar.