maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raphaël Piéroni" <raphaelpier...@gmail.com>
Subject Re: Archetype packaging
Date Mon, 14 May 2007 11:47:33 GMT
2007/5/13, Brett Porter <brett@apache.org>:
>
> What will be contained in this metadata? For the plugins, it is to
> link a plugin prefix to a plugin artifact ID - I don't see the
> parallel concept in archetype.


For archetypes, the group metadata is used to prompt a list of archetypes in
a group for the user to choose from (if in interactive mode)


Anyway, you can copy what plugin-plugin does: the plugin lifecycle
> includes a goal in package for attaching the metadata, and it calls
> the project helper method to attach it to the artifact that will be
> uploaded.


Thanks, i will dig that direction.

- Brett
>
> On 07/05/2007, at 3:34 PM, Raphaël Piéroni wrote:
>
> > Hi
> >
> > if i would create a new packaging for archetypes,
> > what is the way (i don't need doco link about lifecycle hook
> > of a mojo, i already know it ;) )
> > to have a specific metadata uploaded as long with the
> > artifact during the install and deploy phases.
> >
> > My point is how to create metadata and how to
> > have them automagically uploaded;
> >
> > for a group, say org.apache.maven.archetypes,
> > and an archetype, quickstart-archetype, at version 1.0
> > i need a metadata in the org/apache/maven/archetypes
> > directory, and in org/apache/maven/archetypes/quickstart-archetype
> > just like the maven-plugins.
> >
> > Many thanks for any help.
> >
> > Regards
> >
> > Raphaël
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message