Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.1-beta-2
-
Fix Version/s: 1.1-beta-3
-
Component/s: core
-
Labels:None
-
Environment:Windows XP
-
Number of attachments :
Description
Maven 1.1 beta2 doesn't support the https repositories (it tries to handle it as file protocol)
In fact, org.apache.maven.verifier.DependencyVerifier line 374 reads:
if ( repository.getProtocol().equals( "http" ) )
{ wagon = new HttpWagon(); }else
{ wagon = new FileWagon(); }This used to work with Maven 1.0.2 (which apparently isn't using Wagon for downloading dependency jars.)
Simply changing the problematic line to:
if ( repository.getProtocol().equals( "http" ) || repository.getProtocol().equals( "https" ) )
seems to make it work.