I'm not an expert on Maven, so I'm sorry if this question is a bit silly.
I am using 3 descriptors in my pom.xml. In each of these descriptors, a file is being filtered. I would like to use a placeholder to reference the id of the descriptor from inside the file.
For example, if this is one of my assembly descriptors:
<assembly>
<id>descriptorNumberTwo</id>
...
<file>
<source>src/main/assembly/run.sh</source>
<fileMode>0755</fileMode>
<lineEnding>unix</lineEnding>
<filtered>true</filtered>
</file>
...
</assembly>
I want to use ${placeholder.for.my.id}
(or something) in my run.sh, to get "descriptorNumberTwo".
Is this possible?
Thanks in advance!!