Currently, for example the optaplanner zip, has in it's root 4 directories (binaries, examples, sources, webexamples). So if you unzip this into ~/tmp/ with already 2 dirs (bar, foo), you get in ~/tmp a clutter of 6 dirs: ~/tmp ~/tmp/bar // Not part of BRMS ~/tmp/binaries ~/tmp/examples ~/tmp/foo // Not part of BRMS ~/tmp/sources ~/tmp/webexamples In the maven assembly, simply add this 1 liner: <includeBaseDirectory>true</includeBaseDirectory> And you get: ~/tmp ~/tmp/bar ~/tmp/foo ~/tmp/jboss-bpms-brms-6.0.0-redhat-5-optaplanner/ ~/tmp/jboss-bpms-brms-6.0.0-redhat-5-optaplanner/binaries ~/tmp/jboss-bpms-brms-6.0.0-redhat-5-optaplanner/examples ~/tmp/jboss-bpms-brms-6.0.0-redhat-5-optaplanner/sources ~/tmp/jboss-bpms-brms-6.0.0-redhat-5-optaplanner/webexamples Much handier.
Currently all product zip is followed that no base directory. After discussion with Geoffrey in IRC, Geoffrey think it would be better to make all product to have a base directory for better experience. I want to make sure this change won't impact QE's test work. Lukas,Marek, could you comfirm if this changes to BPMS, BRMS product zip would be ok with the test work?
Verified on BRMS 6.0.0 ER7.