Layout Configuration

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

Administrators can access layout configuration in the Administration module under Artifactory Settings > Repositories Layouts.

repository-layouts_7_117.png

Create additional layouts by doing one of the following:

  • Click New Repository Layout.

    New-Repo-Layout_button.png
  • Click the copy icon at the end of a table row to duplicate an existing layout.

    duplicate-repo-layout.png
new-repo-layout_dbox_7_117.png

Testing Layouts

Once you have finished configuring your layout, you can test it on an artifact path and see how the system builds module information from the path using the layout definitions.

Path Patterns

Path patterns are used to define the artifact path pattern and the descriptor path pattern (optional), as explained above.

Use patterns in the directory part of the path

To achieve best path matching results, it is highly recommended that artifact and descriptor patterns also contain the mandatory tokens ([org] or [orgPath], [module] and [baseRev]) within the directory structure itself.

For example, Gradle's artifact path pattern:

[org]/[module]/[baseRev](-[folderItegRev])/[module]-[baseRev](-[fileItegRev])(-[classifier]).[ext]