You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Edmund Urbani <em...@emu.no-ip.org> on 2003/10/27 12:41:38 UTC

maven-1.0-rc1 bug with https

Has anybody every tried to let maven resolve dependencies by letting it 
download artifacts via https?

I added this line to my build.properties
maven.repo.remote=https://repository.liland.org:21/maven
(don't bother trying to connect there. you can't without the certificate 
and private key, that you don't have)

However maven keeps getting java.net.ConnectExceptions trying to access 
"https:/repository.liland.org:21/maven". Note that there is only 1 slash 
after "https:" (!!)

If i modify the line in build.properties like this
maven.repo.remote=https:///repository.liland.org:21/maven
it works fine

maven-1.0-rc1 keeps dropping one of the slashes for some reason

I hope the next release fixes this. Till then I'll probably use the 
"///"-workaround.

 Edmund


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


Re: maven-1.0-rc1 bug with https

Posted by Jason van Zyl <jv...@maven.org>.
On Tue, 2003-10-28 at 15:11, Edmund Urbani wrote:

> Thanks for the quick fix. It works fine now - at least on my system (a 
> colleage of mine still has trouble getting maven to work with Win2000, 
> but that's a totally different problem - this list might see a mail 
> about it soon). I'm glad I could get rid of that ugly workaround now.

Not a problem.

As clear explanation of the problem and a simple thank you will go a
long way toward someone helping you with your next problem. At the very
least I will remember.

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

Jason van Zyl
jason@zenplex.com
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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


Re: maven-1.0-rc1 bug with https

Posted by Edmund Urbani <em...@emu.no-ip.org>.
Jason van Zyl wrote:

>On Mon, 2003-10-27 at 06:41, Edmund Urbani wrote:
>  
>
>>Has anybody every tried to let maven resolve dependencies by letting it 
>>download artifacts via https?
>>
>>I added this line to my build.properties
>>maven.repo.remote=https://repository.liland.org:21/maven
>>(don't bother trying to connect there. you can't without the certificate 
>>and private key, that you don't have)
>>
>>However maven keeps getting java.net.ConnectExceptions trying to access 
>>"https:/repository.liland.org:21/maven". Note that there is only 1 slash 
>>after "https:" (!!)
>>
>>If i modify the line in build.properties like this
>>maven.repo.remote=https:///repository.liland.org:21/maven
>>it works fine
>>
>>maven-1.0-rc1 keeps dropping one of the slashes for some reason
>>
>>I hope the next release fixes this. Till then I'll probably use the 
>>"///"-workaround.
>>    
>>
>
>Fixed in CVS HEAD. You might want to try it yourself, I don't do Maven
>work until the evening so I won't bootstrap until then but I believe
>I've isolated the problem.
>  
>
Thanks for the quick fix. It works fine now - at least on my system (a 
colleage of mine still has trouble getting maven to work with Win2000, 
but that's a totally different problem - this list might see a mail 
about it soon). I'm glad I could get rid of that ugly workaround now.

 Edmund


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


Re: maven-1.0-rc1 bug with https

Posted by Jason van Zyl <jv...@maven.org>.
On Mon, 2003-10-27 at 06:41, Edmund Urbani wrote:
> Has anybody every tried to let maven resolve dependencies by letting it 
> download artifacts via https?
> 
> I added this line to my build.properties
> maven.repo.remote=https://repository.liland.org:21/maven
> (don't bother trying to connect there. you can't without the certificate 
> and private key, that you don't have)
> 
> However maven keeps getting java.net.ConnectExceptions trying to access 
> "https:/repository.liland.org:21/maven". Note that there is only 1 slash 
> after "https:" (!!)
> 
> If i modify the line in build.properties like this
> maven.repo.remote=https:///repository.liland.org:21/maven
> it works fine
> 
> maven-1.0-rc1 keeps dropping one of the slashes for some reason
> 
> I hope the next release fixes this. Till then I'll probably use the 
> "///"-workaround.

Fixed in CVS HEAD. You might want to try it yourself, I don't do Maven
work until the evening so I won't bootstrap until then but I believe
I've isolated the problem.

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

Jason van Zyl
jason@zenplex.com
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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


Re: maven-1.0-rc1 bug with https

Posted by Martin Skopp <sk...@riege.com>.
Hi Edmund,

please report the bug to JIRA.

http://maven.apache.org/issue-tracking.html

Thanks,
Martin

On Mon, 2003-10-27 at 12:41, Edmund Urbani wrote:
> Has anybody every tried to let maven resolve dependencies by letting it 
> download artifacts via https?
> 
> I added this line to my build.properties
> maven.repo.remote=https://repository.liland.org:21/maven
> (don't bother trying to connect there. you can't without the certificate 
> and private key, that you don't have)
> 
> However maven keeps getting java.net.ConnectExceptions trying to access 
> "https:/repository.liland.org:21/maven". Note that there is only 1 slash 
> after "https:" (!!)
> 
> If i modify the line in build.properties like this
> maven.repo.remote=https:///repository.liland.org:21/maven
> it works fine
> 
> maven-1.0-rc1 keeps dropping one of the slashes for some reason
> 
> I hope the next release fixes this. Till then I'll probably use the 
> "///"-workaround.
> 
>  Edmund
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
-- 
Martin Skopp
Riege Software International GmbH
Support: mailto:maint@riege.com, Information: http://www.riege.com
 
This email is intended to be viewed with a nonproportional font.
Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
Fingerprint: 1970 C78D 9A1D 99FA 5CE4  5C0D 29E6 6A95 3D40 27B5



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