Have a look at the jelly code for the dist plugin.

You should be able to add a pregoal or postgoal which copies your data to the distribution diretory(ies) before the archive is constructed.

e.g. you could add a postgoal to "dist:prepare-bin-filesystem" which copies the data to maven.dist.bin.assembly.dir. Similarly for the src distribution.

Luke.


Andy Jefferson wrote:


I've got a project where I have a src directory, as well as a directory
with data in it. I want to add this data directory into the
'distribution' tar.gz that is built by the 'dist' plugin, yet havent
managed to pursuade it to include naything more than the src directory.


Is there a section in project.xml where I can specify a directory and
include path for this plugin ?

TIA


--
 Luke Taylor.                      Monkey Machine Ltd.
 PGP Key ID: 0x57E9523C            http://www.monkeymachine.ltd.uk




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



Reply via email to