You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Andy Jefferson <an...@ajsoft.net> on 2003/07/13 19:36:33 UTC
"Dist" plugin
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
--
Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: "Dist" plugin
Posted by Luke Taylor <ne...@freesurf.ch>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org