You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Kohsuke Kawaguchi (JIRA)" <ji...@codehaus.org> on 2006/01/15 09:37:01 UTC

[jira] Created: (MAVEN-1740) https repositories are not supported

https repositories are not supported
------------------------------------

         Key: MAVEN-1740
         URL: http://jira.codehaus.org/browse/MAVEN-1740
     Project: Maven
        Type: Bug

  Components: core  
    Versions: 1.1-beta-2    
 Environment: Windows XP
    Reporter: Kohsuke Kawaguchi


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.)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Closed: (MAVEN-1740) https repositories are not supported

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MAVEN-1740?page=all ]
     
Lukas Theussl closed MAVEN-1740:
--------------------------------

     Resolution: Fixed
    Fix Version: 1.1-beta-3

Fixed. Thanks!

> https repositories are not supported
> ------------------------------------
>
>          Key: MAVEN-1740
>          URL: http://jira.codehaus.org/browse/MAVEN-1740
>      Project: Maven
>         Type: Bug

>   Components: core
>     Versions: 1.1-beta-2
>  Environment: Windows XP
>     Reporter: Kohsuke Kawaguchi
>      Fix For: 1.1-beta-3

>
>
> 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.)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (MAVEN-1740) https repositories are not supported

Posted by "Kohsuke Kawaguchi (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVEN-1740?page=comments#action_55900 ] 

Kohsuke Kawaguchi commented on MAVEN-1740:
------------------------------------------

Simply changing the problematic line to:

if ( repository.getProtocol().equals( "http" ) || repository.getProtocol().equals( "https" ) )

seems to make it work.

> https repositories are not supported
> ------------------------------------
>
>          Key: MAVEN-1740
>          URL: http://jira.codehaus.org/browse/MAVEN-1740
>      Project: Maven
>         Type: Bug

>   Components: core
>     Versions: 1.1-beta-2
>  Environment: Windows XP
>     Reporter: Kohsuke Kawaguchi

>
>
> 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.)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (MAVEN-1740) https repositories are not supported

Posted by "Kohsuke Kawaguchi (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVEN-1740?page=comments#action_55901 ] 

Kohsuke Kawaguchi commented on MAVEN-1740:
------------------------------------------

This currently prevents Maven 1.1 beta2 users from accessing the java.net maven repository.
See WAGONHTTP-5 for another blocker.

> https repositories are not supported
> ------------------------------------
>
>          Key: MAVEN-1740
>          URL: http://jira.codehaus.org/browse/MAVEN-1740
>      Project: Maven
>         Type: Bug

>   Components: core
>     Versions: 1.1-beta-2
>  Environment: Windows XP
>     Reporter: Kohsuke Kawaguchi

>
>
> 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.)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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