You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Henry S. Isidro" <hi...@exist.com> on 2006/08/01 11:47:22 UTC

Re: Using mvn to download jars to local repository (without pom/project)

On Monday, July 31, 2006 17:24, Jan Galinski wrote:
> Hi,
>
> on a server, I want to use mvn (2.0.4) to manage a central jar repository.
> Even non maven applications should benifit from this, beacause there
> will be be on common repository from where to link commons, db-drivers
> etc. Its not going to be a real mirror, merely an "on demand" storage
> folder.
>
> So my question is:  How can I (using the mvn cli) just download and
> store a jar from the central repo to my local repo without creating a
> fake project and a pom?
>
>
> <pseudo>
> mvn download  -package=mysql -file=driver -version=3.10
> </pseudo>
>
> Seems to be rather simple, but its hard to search for (maven,
> download, jar, repository ... gives me anything but an answer to my
> problem).
>
> Any hint, sytnax, cli-line appreciated
>
> thanks
> Jan
>
>

This seems like something the repository manager would do. Check it out 
http://svn.apache.org/repos/asf/maven/repository-manager/trunk

HTH

Henry

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