A descriptor path pattern is used to recognize descriptor files (like .pom
or ivy.xml
files).
Using a specific descriptor path pattern is optional. When not used, Artifactory constructs module information for descriptor files using the artifact path pattern.
Even though descriptor path patterns are optional, usage of them is highly recommended in cases of distinctive descriptors, such as Ivy ivy_-1.0.xml
and Maven bobs-tools-1.0.pom
.
For example:
To represent a normal Maven descriptor path: "
org/eclipse/jetty/jetty-ajp/7.0.2.v20100331/jetty-ajp-7.0.2.v20100331.pom
"Use the descriptor path pattern:
[orgPath]/[module]/[baseRev](-[folderItegRev])/[module]-[baseRev](-[fileItegRev])(-[classifier]).pom
To represent a default Gradle descriptor path: "
org.eclipse.jetty/jetty-ajp/ivy-7.0.2.v20100331.xml
"Use the descriptor path pattern:
[org]/[module]/ivy-[baseRev](-[fileItegRev]).xml