IntelliJ IDEA 12.1.0 Web Help

Some features described here are available in Ultimate edition only.

An artifact is a draft that defines the layout of the project output. An artifact can be an archive (jar,war, ear) or a directory. Artifact layouts are constituted from elements of various types such as libraries, facet resources, and other artifacts. These elements are grouped into archives and folders.

Once you have configured the artifact layout, you no longer need to get into these details every time you build your application.

Note the difference between artifacts and facets.

In other words, to define the layout of your project output you need to configure the artifacts and arrange them in a list.

On this page:

To manage the list of project artifacts
  1. Open the Project Structure settings.
  2. Click Artifacts to open the Artifacts page. The page shows all the artifacts that are available in the project. Manage the list using the toolbar buttons:
    • To create an artifact, click the New button add.png and choose the artifact type (JAR, WAR, EAR, Android, or an exploded directory) in the New drop-down list.
    • To remove an artifact, select it and click the Remove button delete.png.
    • To view a list of artifacts in which the selected artifact is included, click the Find Usages button find.gif.
    • To edit an artifact, select it and update its settings in the Artifact Layout pane that opens.
To configure an artifact
  1. In the list of artifacts, select the one to be configured. Its settings are displayed in the Artifact Layout pane.
  2. Specify the general settings of the artifact.
  3. Complete the artifact definition by following these general steps:

Tip

If you are using a Weblogic application server, you can specify additional server-specific validations. Switch to the Validation tab and configure a list of server validation extensions to apply.

See Also

Concepts:

Procedures:

Reference:

Web Resources: