The JDK URL connection doesn't appear to follow the spec, and in our
attempts to fix it up it didn't always work.

In Maven 1.1, we have ensured it follows the spec (and allows a couple
of others for backwards compat).

If you change file:///${user.home}... to file:${user.home} it should work.

-- Brett

On 5/26/05, Rahul <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I need to set up a file-system based local repository on my system and
> have updated the project.properties file as follows :
> 
> <snip>
> 
> maven.plugin.unpacked.dir=${user.home}/release-packaging
> 
> # following looks for folder called 'repository'
> maven.home.local=${user.home}/release-packaging
> 
> # Location of remote repository
> #maven.repo.remote=http://www.ibiblio.org/maven
> maven.repo.remote=file:///${user.home}/release-packaging/repository
> maven.repo.remote.enabled=false
> 
> # Yes, I am connected to internet
> maven.mode.online=true
> 
> </snip>
> 
> 
> However, I get the following error when I run "maven java:compile".
> 
> <snip>
> 
> Error retrieving artifact from
> [file://home/www/projects/release-packaging/repository/struts/jars/struts-1.1.0.jar]:
> java.net.UnknownHostException: home
> WARNING: Failed to download struts-1.1.0.jar.
> The build cannot continue because of the following unsatisfied dependency:
> 
> </snip>
> 
> Is there an issue with Maven 1.0.2 to resolve local file-system based
> repositories? I didn't find anything in mail archives. Appreciate any
> pointers.
> 
> TIA,
> 
> Rahul
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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