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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -