Am 28.02.2012 22:02 schrieb "Billy Newman" <[email protected]>:
>
> So what is the recommended way to create different flavors of jars with a
> 'classifier'?
>
> Also I don't see how I am fighting maven I am sure this is possible as
> people build a 'sources' and 'javadoc' classifier within one module.

True. However, the main artifact has no classifier, even in these cases.
Sources and javadoc are so-called "attached" artifacts, which derive their
coordinates from those of the main artifact, plus the classifier.

Pick a different artifactId for your different flavours.

Best

Ansgar

>
>
> On Tue, Feb 28, 2012 at 1:48 PM, Stephen Connolly <
> [email protected]> wrote:
>
> > You are fighting maven. One artifact one module
> >
> > Sent from my iPhone
> >
> > On 28 Feb 2012, at 19:40, Billy Newman <[email protected]> wrote:
> >
> > > I have a pretty simple pom file setup to build a jar.  I can deploy
to my
> > > internal repository just fine.  However I want to build different
flavors
> > > of my jar and use the 'classifier' tag  and deploy.
> > >
> > > However I can specify a 'classifier' in my pom file (with the
> > > group/artifact id and version), and I cannot seem to find how to
specifiy
> > > the 'classifier' in the maven-deploy-plugin either.
> > >
> > > Since I am building with maven I do not want to use the deploy-file
> > plugin.
> > >
> > > What am I missing?
> > >
> > > Thanks in advance.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >

Reply via email to