You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "nicolas de loof (JIRA)" <ji...@codehaus.org> on 2007/04/05 09:18:01 UTC

[jira] Created: (WAGON-81) connect( x , y ) deprecation cause IllegalStateExceptions

connect( x , y ) deprecation cause IllegalStateExceptions
---------------------------------------------------------

                 Key: WAGON-81
                 URL: http://jira.codehaus.org/browse/WAGON-81
             Project: wagon
          Issue Type: Improvement
          Components: wagon-provider-api
    Affects Versions: 1.0
            Reporter: nicolas de loof
            Priority: Trivial
         Attachments: abstractWagon.patch

Wagon-provider-api 2.0 SNAPSHOT deprecates the connect methods with arguments (repository, proxyInfo...)

Deprecation breaks existing code, as the parameters are not used to set the internal repository/proxyInfo/authenticationInfo and connect() throws an IllegalStateException

Having those deprecated connect( x ) call the required setters solves the issue.

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

        

[jira] Closed: (WAGON-81) connect( x , y ) deprecation cause IllegalStateExceptions

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed WAGON-81.
-----------------------------

         Assignee: Brett Porter
       Resolution: Won't Fix
    Fix Version/s:     (was: 1.0-beta-3)

we rolled back the 2.0 changes

> connect( x , y ) deprecation cause IllegalStateExceptions
> ---------------------------------------------------------
>
>                 Key: WAGON-81
>                 URL: http://jira.codehaus.org/browse/WAGON-81
>             Project: Maven Wagon
>          Issue Type: Improvement
>          Components: wagon-provider-api
>    Affects Versions: 1.0-beta-3
>            Reporter: nicolas de loof
>            Assignee: Brett Porter
>            Priority: Trivial
>         Attachments: abstractWagon.patch
>
>
> Wagon-provider-api 2.0 SNAPSHOT deprecates the connect methods with arguments (repository, proxyInfo...)
> Deprecation breaks existing code, as the parameters are not used to set the internal repository/proxyInfo/authenticationInfo and connect() throws an IllegalStateException
> Having those deprecated connect( x ) call the required setters solves the issue.

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

        

[jira] Updated: (WAGON-81) connect( x , y ) deprecation cause IllegalStateExceptions

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated WAGON-81:
------------------------------

    Fix Version/s: 1.0-beta-3

> connect( x , y ) deprecation cause IllegalStateExceptions
> ---------------------------------------------------------
>
>                 Key: WAGON-81
>                 URL: http://jira.codehaus.org/browse/WAGON-81
>             Project: Maven Wagon
>          Issue Type: Improvement
>          Components: wagon-provider-api
>    Affects Versions: 1.0-beta-3
>            Reporter: nicolas de loof
>            Priority: Trivial
>             Fix For: 1.0-beta-3
>
>         Attachments: abstractWagon.patch
>
>
> Wagon-provider-api 2.0 SNAPSHOT deprecates the connect methods with arguments (repository, proxyInfo...)
> Deprecation breaks existing code, as the parameters are not used to set the internal repository/proxyInfo/authenticationInfo and connect() throws an IllegalStateException
> Having those deprecated connect( x ) call the required setters solves the issue.

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