You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by di...@multitask.com.au on 2004/02/02 06:56:11 UTC
Re: Re: [2nd edition] MAVEN dependencies' mechanism
>From
http://maven.apache.org/reference/project-descriptor.html#dependencies
"The url of the dependency's homepage.
This url will be provided to the user if the jar file cannot be downloaded
from the central repository. "
It's NOT used for downloads.
--
dIon Gillard, Multitask Consulting
Blog: http://blogs.codehaus.org/people/dion/
Alex Karasulu <ao...@bellsouth.net> wrote on 31/01/2004 01:41:46 AM:
> Until someone from the maven team clarifies everything is questionable
> but I had thought the URL tag is used just for the website link to the
> dependent library when generating docs.
>
> It is not used to locate or download the resource.
>
> Alex
>
> >
> > From: Daniel Bonniot <Da...@inria.fr>
> > Date: 2004/01/30 Fri AM 05:31:58 EST
> > To: users@maven.apache.org
> > Subject: Re: [2nd edition] MAVEN dependencies' mechanism
> >
> > > If I did not miss-understand the maven dependencies' mechanism in
> > > project.xml :
> > >
> > >
> > > With
> > > <dependencies>
> > > <dependency>
> > > <id>DEPEND</id>
> > > <version>1.0</version>
> > > <url>http://address/plugin/</url>
> > > </dependency>
> > > </dependencies>
> > > Maven will first try to download
"http://address/plugin/DEPEND/jars/DEPEND
> > > -1.0.jar" under
$MAVEN_HOME_LOCAL/repository/DEPEND/jars/DEPEND-1.0.jar
> >
> > (I'm new to Maven, so take this with a grain of salt)
> >
> > I first had the same impression as you, but after investigation it
seems that
> > the url tag is just used to suggest that URL to the user if the
download failed,
> > so that the user can download it manually (e.g. if the license does
not allow
> > the jar to be put in a repository).
> >
> > If you want a plugin to be downloaded from an alternate repository,
what I know
> > works is to declare it in a file build.properties in your home
directory
> > (~/build.properties on Unix, not sure about windows). Example:
> >
> >
maven.repo.remote=http://nice.sf.net/maven,http://www.ibiblio.org/maven
> >
> > (ibiblio is the default maven repository)
> >
> > Daniel
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org