Yes, but I don't think making a specific plugin just for adding zip
packaging is optimal. Hence the idea of having it in the assembly plugin.
Thinking of it though, one very likely wants to create both a zip and a tar
file. So maybe the packaging type should be something else, and then it
creates both types. But then I always advocate that one maven project
should only create one artifact...hmm.

/Anders

On Thu, Dec 11, 2014 at 8:55 AM, Paul Benedict <pbened...@apache.org> wrote:

> Anders, like make a maven-zip-plugin project?
> On Dec 11, 2014 1:50 AM, "Anders Hammar" <and...@hammar.net> wrote:
>
> > I don't think that the zip package type should be part of Maven core, but
> > we could provide some plugin which provides for it as a custom packaging
> > type. Possibly this could be part of the assembly plugin.
> >
> > /Anders
> >
> > On Thu, Dec 11, 2014 at 7:33 AM, Paul Benedict <pbened...@apache.org>
> > wrote:
> >
> > > Well my experience in building a zip *as a dependency* feels like it's
> > > hackish. For example, I create a "pom" packaging type and then
> configure
> > > the assembly plugin for the "package" phase. Okay, but I say this is
> > > hackish because it's not straight forward, and the zip is a second
> > artifact
> > > (the pom is first) for installation. This pattern kind of smells to me
> > and
> > > makes me think an official "zip" type really is needed. Having such a
> > type
> > > can take away all this boilerplate.
> > >
> > >
> > > Cheers,
> > > Paul
> > >
> > > On Thu, Dec 11, 2014 at 12:27 AM, Kristian Rosenvold <
> > > kristian.rosenv...@gmail.com> wrote:
> > > >
> > > > Probably because people just use the assembly plugin ?
> > > >
> > > > Kristian
> > > >
> > > >
> > > >
> > > > 2014-12-11 6:38 GMT+01:00 Paul Benedict <pbened...@apache.org>:
> > > > > Recently I needed to create zip artifacts for overlays into WAR.
> > Maven
> > > > > doesn't have support for "zip" packaging type projects, but
> MNG-1683
> > > > wants
> > > > > to introduce it.
> > > > >
> > > > > I am curious why this issue has been ignored. Is it just a lack of
> > time
> > > > or
> > > > > interest? Or is there a philosophical issue behind the delay? I
> can't
> > > see
> > > > > much difference between the zip lifecycle and jar lifecycle except
> > > there
> > > > is
> > > > > no default "compile" or "test" bindings.
> > > > >
> > > > > Cheers,
> > > > > Paul
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > > > For additional commands, e-mail: dev-h...@maven.apache.org
> > > >
> > > >
> > >
> >
>

Reply via email to