Layout configuration is available to administrator users in the Administration module under Repositories | Layouts.
Additional layouts can be created from scratch by clicking New or by duplicating an existing layout.
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]