maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnaud HERITIER" <aherit...@gmail.com>
Subject RE: Downloading source / javadocs
Date Fri, 27 Aug 2004 17:12:13 GMT
The dist plugin doesn't use the standard deployment mechanism:

   <artifact:deploy
      artifact="${maven.dist.dir}/${maven.final.name}-src.tar.gz"
      type="distribution-src-targz"
      project="${pom}"
      typeHandler="${distTypeHandler}"
    />
    <artifact:deploy
      artifact="${maven.dist.dir}/${maven.final.name}-src.zip"
      type="distribution-src-zip"
      project="${pom}"
      typeHandler="${distTypeHandler}"
    />

Sorry, but I don't think that you can specify a typeHandler in a dependency.

Arnaud

> -----Message d'origine-----
> De : James.Shute@barclayscapital.com [mailto:James.Shute@barclayscapital.com]
> Envoyé : vendredi 27 août 2004 19:02
> À : users@maven.apache.org
> Objet : RE: Downloading source / javadocs
> 
> With dist:deploy-src
> 
> -----Original Message-----
> From: Arnaud HERITIER [mailto:aheritier@gmail.com]
> Sent: 27 August 2004 17:57
> To: 'Maven Users List'
> Subject: RE: Downloading source / javadocs
> 
> 
> Be careful James,
> 
> 	In the next javadoc plugin release (currently in CVS) the type for
> the javadoc will be "javadoc.jar"
> 
> 	I'm not sure that you can do it for sources.
> 
> 	How do you deploy your sources?
> 
> Arnaud
> 
> > -----Message d'origine-----
> > De : James.Shute@barclayscapital.com
> > [mailto:James.Shute@barclayscapital.com]
> > Envoyé : vendredi 27 août 2004 17:50
> > À : users@maven.apache.org; dion.gillard@gmail.com
> > Objet : RE: Downloading source / javadocs
> >
> > What's the syntax for the src dependency?  I got the javadoc to work
> > with this
> >
> > 	  <dependency>
> > 			<groupId>tcw-core</groupId>
> > 			<artifactId>tcw-core-utilities</artifactId>
> > 			<version>1.1.0-RC11</version>
> > 			<type>javadoc</type>
> > 	  </dependency>
> >
> > But couldn't see what to tweak to bring down the src
> >
> > thanks
> >
> > James
> >
> > -----Original Message-----
> > From: Dion Gillard [mailto:dion.gillard@gmail.com]
> > Sent: 27 August 2004 16:08
> > To: Maven Users List
> > Subject: Re: Downloading source / javadocs
> >
> >
> > On Fri, 27 Aug 2004 10:52:33 +0100, james.shute@barclayscapital.com
> > <james.shute@barclayscapital.com> wrote:
> > > Say I build project X and deploy it to the repository, along with
> > > the src distribution and javadoc, and then have project Y which
> > > depends on X.
> > >
> > > Is there any way to configure project Y to also download the src and
> > > javadocs?
> > Sure specify them as dependencies.
> >
> > --
> > http://www.multitask.com.au/people/dion/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
> > ----------------------------------------------------------------------
> > --
> > For more information about Barclays Capital, please
> > visit our web site at http://www.barcap.com.
> >
> >
> > Internet communications are not secure and therefore the Barclays
> > Group does not accept legal responsibility for the contents of this
> > message.  Although the Barclays Group operates anti-virus programmes,
> > it does not accept responsibility for any damage whatsoever that is
> > caused by viruses being passed.  Any views or opinions presented are
> > solely those of the author and do not necessarily represent those of
> > the Barclays Group.  Replies to this email may be monitored by the
> > Barclays Group for operational or business reasons.
> >
> > ----------------------------------------------------------------------
> > --
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
> > #================== gPopper Menu ===================#
> > Delete from Gmail inbox:   mailto:del|fea0f0e14789823@gPopper
> > Mark message as unread:    mailto:unr|fea0f0e14789823@gPopper
> > Mark message as read:      mailto:rea|fea0f0e14789823@gPopper
> 
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> 
> #====== gPopper Menu =======
> Delete from Gmail inbox:   mailto:del|fea13281509d016@gPopper
> Mark message as unread:    mailto:unr|fea13281509d016@gPopper
> Mark message as read:      mailto:rea|fea13281509d016@gPopper



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


Mime
View raw message