Specifying maven-assembly-plugin descriptors from separate profiles

2009-12-23 Thread Ricky Clarkson
Hi, I have one profile, windows, which configures the maven-assembly-plugin with the src/main/assembly/win32.xml assembly descriptor, and another profile, installer, which configures it with the src/main/assembly/executable.xml assembly descriptor. Unfortunately specifying -Pinstaller makes it so

Re: Specifying maven-assembly-plugin descriptors from separate profiles

2009-12-23 Thread Ricky Clarkson
I think I have an answer. Have the windows profile set the property os-specific-descriptorwindows/os-specific-descriptor, then in the installer profile, specify descriptor${os-specific-descriptor}/descriptor descriptorsrc/main/assembly/executable.xml/descriptor. To reduce duplication, I'll need