Before packaging a Java module into a JAR file, you need to configure a JAR artifact. See Working with Artifacts.
- On the main menu, choose .
-
From the drop-down list, select the desired artifact of the type JAR.
The list shows all the artifacts configured for the current project. To have all the configured artifacts built, choose the Build all artifacts option.