Is there a way to define placeholders in a Maven assembly descriptor?

I'm not a Maven expert, so sorry if this question is a little silly.

I am using 3 descriptors in my pom.xml. The file is filtered in each of these descriptors. I would like to use a placeholder to refer to the descriptor id from within the file.

For example, if this is one of my assembly descriptors:




I want to use ${}

(or something) in my to get "descriptorNumberTwo". Is it possible?

Thanks in advance!


source to share

All Articles