On Wed, Nov 28, 2012 at 4:06 PM, Steve Cohen <stevec...@comcast.net> wrote:
> Are properties defined in pom.xml available in the execution of an assembly
> descriptor invoked from pom.xml via the assembly plugin?

I don't think so (TBH, I didn't even try, because I first saw… see below)

> If not, is there a way to pass such definitions to the assembly plugin?

You can use the maven-resources-plugin to copy and filter the
descriptor, and point the maven-assembly-plugin at the filtered
descriptor. This is what Sonatype does when packaging Nexus:
https://github.com/sonatype/nexus/blob/master/nexus/nexus-oss-webapp/pom.xml

--
Thomas Broyer
/tɔ.ma.bʁwa.je/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to