jar engineering package, using the eclipse tool.
1. Right of the project, Export - JAR file - Next.
The effect is as follows:
2. Click next, according to your needs by checking the appropriate box. Then you can finish. This will generate a package dependency jar can be referenced.