use both assembly and share for jar files