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.

Jochen


--
My wife Mary and I have been married for forty-seven years and not
once have we had an argument serious enough to consider divorce;
murder, yes, but divorce, never.
(Jack Benny)

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

Reply via email to