You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Alexander Hars <al...@inventivio.com> on 2005/11/02 18:38:55 UTC

[m2] How can I register an archiver?

The assembly mechanism has a small problem: It can not be used to just 
copy plain files plus dependencies into some target directory structure 
(without compressing/zipping/packing or changing the copied files in any 
way).
In my case, I need this because I am using an unsupported packaging 
mechanism (I am generating an installation executable using a command 
line install file generator). But there are probably many other cases 
where this would be useful. There is at least one other user who has 
created his own plugin to get around some of these problems but I 
believe the best approach would be to just add another non-packaging 
archiver.

I have looked into the codehaus archiver classes. It would be easy to 
add my own AbstractArchiver descendant but it would have to be 
registered by the  ArchiverManager. How can that be done?

Thanks for your help.

- Alexander




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


Re: [m2] How can I register an archiver?

Posted by Brett Porter <br...@gmail.com>.
I think you'll find that this goal already exists in the SVN version
of the assembly plugin.

- Brett

On 11/3/05, Alexander Hars <al...@inventivio.com> wrote:
> The assembly mechanism has a small problem: It can not be used to just
> copy plain files plus dependencies into some target directory structure
> (without compressing/zipping/packing or changing the copied files in any
> way).
> In my case, I need this because I am using an unsupported packaging
> mechanism (I am generating an installation executable using a command
> line install file generator). But there are probably many other cases
> where this would be useful. There is at least one other user who has
> created his own plugin to get around some of these problems but I
> believe the best approach would be to just add another non-packaging
> archiver.
>
> I have looked into the codehaus archiver classes. It would be easy to
> add my own AbstractArchiver descendant but it would have to be
> registered by the  ArchiverManager. How can that be done?
>
> Thanks for your help.
>
> - Alexander
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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