Jochen Wiedmann wrote:

On 11/17/06, Christian Goetze <[EMAIL PROTECTED]> wrote:

I'd like to pass in something either via the environment or via -D on
the mvn command line, and have that be visible within the assembly
description. How do I do that?


Use a filtered resource to create the actual assembly descriptor. In
other words,
if your assembly descriptor with ${DO} is src/main/assembly/bin.xml,
then specify "src/main/assembly" as a filtered resource. That will
give you a file "target/classes/bin.xml", which you'll give as a
descriptor to the assembly plugin.

Neat! Vielen Dank!
--
cg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to