You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ha...@AFSCN.com on 2005/07/13 02:25:13 UTC
[M1.0.2] Can a CD be a remote repository
I am trying to use Maven to install an application on a secure system. The
system can not have access to the WEB. I have put all required libraries in
a repository on the CD, but it appears Maven can not access them as part of
the download (from the plugin jelly code it appears it has to be a http
site). The following does not work even though Maven sets up the right URL.
The getFile method in plugin-plugin is using class
org.apache.maven.util.HttpUtils regardless of the URL type.
maven.repo.remote = file://d:\\CustomLib\\repository
I can fake the system by creating an equivalent local repository on the CD
and then copying it onto the %HOME%/.maven/repository folder as part of the
post install steps. Is that the only (best) way to accomplish moving the
libraries from the CD to to repository?
Bud Curtis
JDIMS Project
L-3 Communications
(719) 637-5633
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org