You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Franck Rasolo (JIRA)" <ji...@apache.org> on 2009/06/25 13:38:07 UTC

[jira] Created: (BUILDR-290) Dependencies cannot be downloaded over SSL

Dependencies cannot be downloaded over SSL
------------------------------------------

                 Key: BUILDR-290
                 URL: https://issues.apache.org/jira/browse/BUILDR-290
             Project: Buildr
          Issue Type: Bug
          Components: Dependency management
    Affects Versions: 1.3.4
         Environment: buildr 1.3.4 on Mac OS X with ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]
            Reporter: Franck Rasolo


Running buildr, I get the following:

To use Buildr you need a buildfile. Do you want me to create one?:
1. From Maven2 POM file
2. From directory structure
3. Cancel
?  1
Downloading org.hamcrest:hamcrest-all:pom:1.2
undefined method `use_ssl=' for #<Net::HTTP maven.atlassian.com:443 open=false>
Buildr aborted!
Failed to download org.hamcrest:hamcrest-all:pom:1.2, tried the following repositories:
http://scala-tools.org/repo-releases/
http://scala-tools.org/repo-snapshots/
http://scala-tools.org/repo-snapshots/
http://www.mvnsearch.org/maven2/
http://www.ibiblio.org/maven2//
https://maven.atlassian.com/3rdparty/

(See full trace by running task with --trace)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-290) Dependencies cannot be downloaded over SSL

Posted by "Franck Rasolo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Franck Rasolo updated BUILDR-290:
---------------------------------

    Attachment: pom.xml

> Dependencies cannot be downloaded over SSL
> ------------------------------------------
>
>                 Key: BUILDR-290
>                 URL: https://issues.apache.org/jira/browse/BUILDR-290
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.3.4
>         Environment: buildr 1.3.4 on Mac OS X with ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]
>            Reporter: Franck Rasolo
>         Attachments: pom.xml
>
>
> Running buildr, I get the following:
> To use Buildr you need a buildfile. Do you want me to create one?:
> 1. From Maven2 POM file
> 2. From directory structure
> 3. Cancel
> ?  1
> Downloading org.hamcrest:hamcrest-all:pom:1.2
> undefined method `use_ssl=' for #<Net::HTTP maven.atlassian.com:443 open=false>
> Buildr aborted!
> Failed to download org.hamcrest:hamcrest-all:pom:1.2, tried the following repositories:
> http://scala-tools.org/repo-releases/
> http://scala-tools.org/repo-snapshots/
> http://scala-tools.org/repo-snapshots/
> http://www.mvnsearch.org/maven2/
> http://www.ibiblio.org/maven2//
> https://maven.atlassian.com/3rdparty/
> (See full trace by running task with --trace)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (BUILDR-290) Dependencies cannot be downloaded over SSL

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme resolved BUILDR-290.
-----------------------------------

    Fix Version/s: 1.3.5
       Resolution: Fixed

Either this was fixed for 1.3.5 or this is out of date. Please reopen otherwise.

> Dependencies cannot be downloaded over SSL
> ------------------------------------------
>
>                 Key: BUILDR-290
>                 URL: https://issues.apache.org/jira/browse/BUILDR-290
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.3.4
>         Environment: buildr 1.3.4 on Mac OS X with ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]
>            Reporter: Franck Rasolo
>             Fix For: 1.3.5
>
>         Attachments: pom.xml
>
>
> Running buildr, I get the following:
> To use Buildr you need a buildfile. Do you want me to create one?:
> 1. From Maven2 POM file
> 2. From directory structure
> 3. Cancel
> ?  1
> Downloading org.hamcrest:hamcrest-all:pom:1.2
> undefined method `use_ssl=' for #<Net::HTTP maven.atlassian.com:443 open=false>
> Buildr aborted!
> Failed to download org.hamcrest:hamcrest-all:pom:1.2, tried the following repositories:
> http://scala-tools.org/repo-releases/
> http://scala-tools.org/repo-snapshots/
> http://scala-tools.org/repo-snapshots/
> http://www.mvnsearch.org/maven2/
> http://www.ibiblio.org/maven2//
> https://maven.atlassian.com/3rdparty/
> (See full trace by running task with --trace)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-290) Dependencies cannot be downloaded over SSL

Posted by "Daniel Spiewak (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724244#action_12724244 ] 

Daniel Spiewak commented on BUILDR-290:
---------------------------------------

This is very weird.  Could you attach either a POM or a buildfile which reproduces this error?

> Dependencies cannot be downloaded over SSL
> ------------------------------------------
>
>                 Key: BUILDR-290
>                 URL: https://issues.apache.org/jira/browse/BUILDR-290
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.3.4
>         Environment: buildr 1.3.4 on Mac OS X with ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]
>            Reporter: Franck Rasolo
>
> Running buildr, I get the following:
> To use Buildr you need a buildfile. Do you want me to create one?:
> 1. From Maven2 POM file
> 2. From directory structure
> 3. Cancel
> ?  1
> Downloading org.hamcrest:hamcrest-all:pom:1.2
> undefined method `use_ssl=' for #<Net::HTTP maven.atlassian.com:443 open=false>
> Buildr aborted!
> Failed to download org.hamcrest:hamcrest-all:pom:1.2, tried the following repositories:
> http://scala-tools.org/repo-releases/
> http://scala-tools.org/repo-snapshots/
> http://scala-tools.org/repo-snapshots/
> http://www.mvnsearch.org/maven2/
> http://www.ibiblio.org/maven2//
> https://maven.atlassian.com/3rdparty/
> (See full trace by running task with --trace)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-290) Dependencies cannot be downloaded over SSL

Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724774#action_12724774 ] 

Assaf Arkin commented on BUILDR-290:
------------------------------------

Thanks. The POM works on my machine with the new change (in SVN).

> Dependencies cannot be downloaded over SSL
> ------------------------------------------
>
>                 Key: BUILDR-290
>                 URL: https://issues.apache.org/jira/browse/BUILDR-290
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.3.4
>         Environment: buildr 1.3.4 on Mac OS X with ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]
>            Reporter: Franck Rasolo
>         Attachments: pom.xml
>
>
> Running buildr, I get the following:
> To use Buildr you need a buildfile. Do you want me to create one?:
> 1. From Maven2 POM file
> 2. From directory structure
> 3. Cancel
> ?  1
> Downloading org.hamcrest:hamcrest-all:pom:1.2
> undefined method `use_ssl=' for #<Net::HTTP maven.atlassian.com:443 open=false>
> Buildr aborted!
> Failed to download org.hamcrest:hamcrest-all:pom:1.2, tried the following repositories:
> http://scala-tools.org/repo-releases/
> http://scala-tools.org/repo-snapshots/
> http://scala-tools.org/repo-snapshots/
> http://www.mvnsearch.org/maven2/
> http://www.ibiblio.org/maven2//
> https://maven.atlassian.com/3rdparty/
> (See full trace by running task with --trace)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-290) Dependencies cannot be downloaded over SSL

Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724370#action_12724370 ] 

Assaf Arkin commented on BUILDR-290:
------------------------------------

indeed net/https doesn't get required in some cases. fix coming.

> Dependencies cannot be downloaded over SSL
> ------------------------------------------
>
>                 Key: BUILDR-290
>                 URL: https://issues.apache.org/jira/browse/BUILDR-290
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.3.4
>         Environment: buildr 1.3.4 on Mac OS X with ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]
>            Reporter: Franck Rasolo
>
> Running buildr, I get the following:
> To use Buildr you need a buildfile. Do you want me to create one?:
> 1. From Maven2 POM file
> 2. From directory structure
> 3. Cancel
> ?  1
> Downloading org.hamcrest:hamcrest-all:pom:1.2
> undefined method `use_ssl=' for #<Net::HTTP maven.atlassian.com:443 open=false>
> Buildr aborted!
> Failed to download org.hamcrest:hamcrest-all:pom:1.2, tried the following repositories:
> http://scala-tools.org/repo-releases/
> http://scala-tools.org/repo-snapshots/
> http://scala-tools.org/repo-snapshots/
> http://www.mvnsearch.org/maven2/
> http://www.ibiblio.org/maven2//
> https://maven.atlassian.com/3rdparty/
> (See full trace by running task with --trace)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (BUILDR-290) Dependencies cannot be downloaded over SSL

Posted by "Franck Rasolo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724049#action_12724049 ] 

Franck Rasolo edited comment on BUILDR-290 at 6/26/09 1:20 AM:
---------------------------------------------------------------

Inserting require 'net/https' into $BUILDR_HOME/lib/buildr/core/transports.rb at line 19 solves it.

      was (Author: fraz):
    Inserting require 'net/https' to $BUILDR_HOME/lib/buildr/core/transports.rb at line 19 solves it.
  
> Dependencies cannot be downloaded over SSL
> ------------------------------------------
>
>                 Key: BUILDR-290
>                 URL: https://issues.apache.org/jira/browse/BUILDR-290
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.3.4
>         Environment: buildr 1.3.4 on Mac OS X with ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]
>            Reporter: Franck Rasolo
>         Attachments: pom.xml
>
>
> Running buildr, I get the following:
> To use Buildr you need a buildfile. Do you want me to create one?:
> 1. From Maven2 POM file
> 2. From directory structure
> 3. Cancel
> ?  1
> Downloading org.hamcrest:hamcrest-all:pom:1.2
> undefined method `use_ssl=' for #<Net::HTTP maven.atlassian.com:443 open=false>
> Buildr aborted!
> Failed to download org.hamcrest:hamcrest-all:pom:1.2, tried the following repositories:
> http://scala-tools.org/repo-releases/
> http://scala-tools.org/repo-snapshots/
> http://scala-tools.org/repo-snapshots/
> http://www.mvnsearch.org/maven2/
> http://www.ibiblio.org/maven2//
> https://maven.atlassian.com/3rdparty/
> (See full trace by running task with --trace)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-290) Dependencies cannot be downloaded over SSL

Posted by "Franck Rasolo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724049#action_12724049 ] 

Franck Rasolo commented on BUILDR-290:
--------------------------------------

Inserting require 'net/https' to $BUILDR_HOME/lib/buildr/core/transports.rb at line 19 solves it.

> Dependencies cannot be downloaded over SSL
> ------------------------------------------
>
>                 Key: BUILDR-290
>                 URL: https://issues.apache.org/jira/browse/BUILDR-290
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.3.4
>         Environment: buildr 1.3.4 on Mac OS X with ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]
>            Reporter: Franck Rasolo
>
> Running buildr, I get the following:
> To use Buildr you need a buildfile. Do you want me to create one?:
> 1. From Maven2 POM file
> 2. From directory structure
> 3. Cancel
> ?  1
> Downloading org.hamcrest:hamcrest-all:pom:1.2
> undefined method `use_ssl=' for #<Net::HTTP maven.atlassian.com:443 open=false>
> Buildr aborted!
> Failed to download org.hamcrest:hamcrest-all:pom:1.2, tried the following repositories:
> http://scala-tools.org/repo-releases/
> http://scala-tools.org/repo-snapshots/
> http://scala-tools.org/repo-snapshots/
> http://www.mvnsearch.org/maven2/
> http://www.ibiblio.org/maven2//
> https://maven.atlassian.com/3rdparty/
> (See full trace by running task with --trace)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-290) Dependencies cannot be downloaded over SSL

Posted by "Franck Rasolo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724429#action_12724429 ] 

Franck Rasolo commented on BUILDR-290:
--------------------------------------

I've just attached our project's POM so that you can try and reproduce this error. Hope it helps.

> Dependencies cannot be downloaded over SSL
> ------------------------------------------
>
>                 Key: BUILDR-290
>                 URL: https://issues.apache.org/jira/browse/BUILDR-290
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.3.4
>         Environment: buildr 1.3.4 on Mac OS X with ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]
>            Reporter: Franck Rasolo
>         Attachments: pom.xml
>
>
> Running buildr, I get the following:
> To use Buildr you need a buildfile. Do you want me to create one?:
> 1. From Maven2 POM file
> 2. From directory structure
> 3. Cancel
> ?  1
> Downloading org.hamcrest:hamcrest-all:pom:1.2
> undefined method `use_ssl=' for #<Net::HTTP maven.atlassian.com:443 open=false>
> Buildr aborted!
> Failed to download org.hamcrest:hamcrest-all:pom:1.2, tried the following repositories:
> http://scala-tools.org/repo-releases/
> http://scala-tools.org/repo-snapshots/
> http://scala-tools.org/repo-snapshots/
> http://www.mvnsearch.org/maven2/
> http://www.ibiblio.org/maven2//
> https://maven.atlassian.com/3rdparty/
> (See full trace by running task with --trace)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.