Is there a way to define placeholders in a Maven assembly descriptor? -
i'm not expert on maven, i'm sorry if question bit silly.
i using 3 descriptors in pom.xml. in each of these descriptors, file being filtered. use placeholder reference id of descriptor inside file.
for example, if 1 of 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 use ${placeholder.for.my.id}
(or something) in run.sh, "descriptornumbertwo". possible?
thanks in advance!!
Comments
Post a Comment