Well according to http://jira.codehaus.org/browse/MECLIPSE-33 the
Javadoc jar isn't download when a source jar is found, which makes
sense because you don't need it. Otherwise, the Javadoc jar gets
automatically downloaded.

If you still want the Javadoc jar to get included, I *think* you could
use the dependency classifier element but you should search in the
archives of this list to find more about it.

On 3/7/06, Stephen Duncan <[EMAIL PROTECTED]> wrote:
> Generally, source jars are only downloaded by the Eclipse plugin (or
> probably other IDE plugins), not during a normal build.  According to
> this: http://jira.codehaus.org/browse/MECLIPSE-33 javadoc jars are
> downloaded if the source jar is not available.  Haven't noticed/tested
> this myself though.
>
> I think placing the jar file in the appropriate place in your local
> repository will be enough for the eclipse plugin to use it.
>
> Not sure on the adding of the sources jar, but if nobody answers on
> that one, it can't hurt to make an upload request with it.
>
> -Stephen
>
> On 3/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Hi Wayne,
> >
> > First off, thanks for the quick (and informative) response.  Also, please
> > extend my thanks to the author(s) of guide-ibiblio-upload.html.  We users
> > (including myself in this group) tend to be quick to request new features
> > and functionality, not so much so when it comes to expressing our
> > appreciation for what already exists :)
> >
> > Now, on to the follow-up questions:
> >
> > For those projects that do include source and/or javadoc bundles, will they
> > be downloaded at the same time that the JAR is downloaded when meeting
> > project dependencies, or do we need to specifiy seperate dependencies for
> > the lib, source and javadoc bundles?
> >
> > I have created a hibernate-3.0.5-sources.jar bundle using the jar
> > executable and the sources distributed with Hibernate.  In order to make
> > use of this file, do I need to "install" it using "mvn
> > install:install-file", or is it sufficient just copying the .JAR into the
> > appropriate location in my local repository?
> >
> > Is it permissible for me, as an end-user, to file a JIRA to have the
> > Sources JAR that I have created added to IBiblio, or does this need to come
> > from someone on the Hibernate team?
> >
> >
> > Thanks,
> > Ian
> >
> > It's better to be hated for who you are
> > than loved for who you are not
> >
> > Ian D. Stewart
> > Appl Dev Analyst-Advisory, DCS Automation
> > JPMorganChase Global Technology Infrastructure
> > Phone: (614) 244-2564
> > Pager: (888) 260-0078
> >
> >
> >
> >                       "Wayne Fay"
> >                       <[EMAIL PROTECTED]        To:       "Maven Users 
> > List" <[email protected]>
> >                       om>                      cc:
> >                                                Subject:  Re: Source 
> > Dependencies
> >                       03/07/2006 03:52
> >                       PM
> >                       Please respond to
> >                       "Maven Users
> >                       List"
> >
> >
> >
> >
> >
> > Hi Ian,
> >
> > > 1) Is this expected behaviour for either Maven2 or the Eclipse plugin?
> > If
> > > so, is this documented somewhere (no, www.google.com doesn't count)?
> > I don't use M2 with Eclipse, so I can't answer this specifically.
> >
> >
> > > 2) Is there a "sources" repository that I can add to my pom.xml and/or
> > > settings.xml for retrieving source dependencies?
> > This is a "newish" thing for Maven. Several bundles include sources,
> > and some even include javadocs. You happened to pick a project which
> > has not chosen to include its sources at this point. This will
> > hopefully change as more projects use the "mvn source:jar javadoc:jar
> > repository:bundle-create" rather than simply bundle-create.
> >
> > The Maven developers responsible for uploading artifacts into Maven
> > repo are starting to ask that sources be included in bundles. At some
> > point, perhaps they will even require it, unless the source code
> > itself cannot be distributed for license reasons.
> >
> > More info here:
> > http://maven.apache.org/guides/mini/guide-ibiblio-upload.html
> >
> >
> > Wayne
> >
> > ---------------------------------------------------------------------
> > 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]
> >
> >
>
>
> --
> Stephen Duncan Jr
> www.stephenduncanjr.com
>
> ---------------------------------------------------------------------
> 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]

Reply via email to