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�: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Envoy�: vendredi 27 ao�t 2004 19:02
> ��: [EMAIL PROTECTED]
> Objet�: RE: Downloading source / javadocs
> 
> With dist:deploy-src
> 
> -----Original Message-----
> From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
> 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�: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > Envoy�: vendredi 27 ao�t 2004 17:50
> > ��: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > 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:[EMAIL PROTECTED]
> > Sent: 27 August 2004 16:08
> > To: Maven Users List
> > Subject: Re: Downloading source / javadocs
> >
> >
> > On Fri, 27 Aug 2004 10:52:33 +0100, [EMAIL PROTECTED]
> > <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> > ----------------------------------------------------------------------
> > --
> > 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> > #================== gPopper Menu ===================#
> > Delete from Gmail inbox:   mailto:del|[EMAIL PROTECTED]
> > Mark message as unread:    mailto:unr|[EMAIL PROTECTED]
> > Mark message as read:      mailto:rea|[EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> #====== gPopper Menu =======
> Delete from Gmail inbox:   mailto:del|[EMAIL PROTECTED]
> Mark message as unread:    mailto:unr|[EMAIL PROTECTED]
> Mark message as read:      mailto:rea|[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to