This might help you,
http://people.apache.org/~epunzalan/maven-assembly-plugin/examples/single/filtering-some-distribution-files.html
-allan
Christian Goetze 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?
For example, I'd like to say:
<fileSet>
<directory>src/main/bat/${DO}/bat</directory>
<outputDirectory>bin</outputDirectory>
<includes>
<include>*.bat</include>
</includes>
</fileSet>
(For those asking why: ${DO} maps to my external build system's
equivalent of the "target" directory in maven, and it's the one which
generates the files to be included - and please don't tell me I need
to give that up - thanks)
--
cg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]