To add resources to an artifact
- Open the Output Layout tab.
- In the Available Elements pane, select the element you want to add to the artifact that is being configured.
Drag the selected element to the desired target node (archive or folder) in the Artifact Layout pane.
Alternatively, you can double-click the selected element or choose Put on the context menu of the selection. In this case, IntelliJ IDEA adds the selected element to the default location depending on the type of the artifact and the element.