Re: Packaging and artifact extension.

2009-06-26 Thread Erick Dovale
Perhaps this question was more appropriate to the dev list.
Anyway, I figure out how and wanted to share it with you in case someone
ever needs something like this.
The mistery is in defining a new ArtifactHandler to provide the desired
extension. This artifact handler will have to be declared in the
components.xml file for the plugin.
Hope it helps someone in the future.

cheers.

On Thu, Jun 25, 2009 at 11:28 AM, Erick Dovale  wrote:

> Folks,
> How could I have the artifact of a project use an extension different that
> the packaging name?
> I am writing a plugin that creates a zip file with content relevant to a
> particular application. I created a new packaging type called 'mypackaging'
> and it turns out that maven is installing a file called
> artifact-version.mypackaging.
> I need to have maven installed this file as a zip. Any ideas?
>
> Thanks.
>
> Erick.
>


Packaging and artifact extension.

2009-06-25 Thread Erick Dovale
Folks,
How could I have the artifact of a project use an extension different that
the packaging name?
I am writing a plugin that creates a zip file with content relevant to a
particular application. I created a new packaging type called 'mypackaging'
and it turns out that maven is installing a file called
artifact-version.mypackaging.
I need to have maven installed this file as a zip. Any ideas?

Thanks.

Erick.