RE: Downloading source/javadocs

2006-02-08 Thread Brian E. Fox
The svn version 1.1 of dependency-maven-plugin can download all these
types of jars based on the dependencies in your project. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 08, 2006 12:19 PM
To: Maven Users List
Subject: Downloading source/javadocs

I've created a project (we'll call it ModuleA).ModuleA has been 
released to a maven-proxy.Thus, sources and javadocs have been
nicely 
packaged, digested, and deployed.Now, another developer wants to use

ModuleA as a compile time dependency on his project - calledyou
guessed it...ModuleB.

While he can build from command line perfectly well using a straight 
dependency, his application is working quite like he'd like it to.
So, 
he does a mvn idea:idea and opens the project in IntelliJ for some 
debugging.As he's debugging, he feels a desire to view the javadocs 
and perhaps even step into my code. 

What's the protocol for gaining access to the javadocs/sources of a 
released product?Yeah, I can download them manually, put them 
somewhere, and point my intellij project to them.Is there an 
intelligent alternative?

Let's slice this into two problems:
1)Maven pulling sources/javadocs for ModuleA into my local
repository
2)Getting idea:idea to incorporate those sources (if found) into the

project

Thanks,
Brian Yoffe

This communication is for informational purposes only. It is not
intended as an offer or solicitation for the purchase or sale of any
financial instrument or as an official confirmation of any transaction.
All market prices, data and other information are not warranted as to
completeness or accuracy and are subject to change without notice. Any
comments or statements made herein do not necessarily reflect those of
JPMorgan Chase  Co., its subsidiaries and affiliates



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



RE: Downloading source / javadocs

2004-08-27 Thread James . Shute
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
   groupIdtcw-core/groupId
   artifactIdtcw-core-utilities/artifactId
   version1.1.0-RC11/version
   typejavadoc/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]



Re: Downloading source / javadocs

2004-08-27 Thread Dion Gillard
On Fri, 27 Aug 2004 19:12:13 +0200, Arnaud HERITIER [EMAIL PROTECTED] wrote:
 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.

Huh? I thought the artifact plugin WAS the standard deployment mechanism.


-- 
http://www.multitask.com.au/people/dion/

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



RE: Downloading source / javadocs

2004-08-27 Thread Arnaud HERITIER
 
 Huh? I thought the artifact plugin WAS the standard deployment mechanism.
 


Yes, it is the standard deployment mechanism but with a particular typeHandler, the 
maven repository structure isn't respected
(${groupId}/${type}s/${artifactId}-${release}.${type}).

In this case maven can't automatically download the artifact?


Arnaud




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