You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@continuum.apache.org by "Jesse McConnell (JIRA)" <ji...@codehaus.org> on 2005/07/27 23:57:57 UTC

[jira] Created: (CONTINUUM-258) https:// doesn't seem to be a supported mechanism for referencing a pom

https:// doesn't seem to be a supported mechanism for referencing a pom
-----------------------------------------------------------------------

         Key: CONTINUUM-258
         URL: http://jira.codehaus.org/browse/CONTINUUM-258
     Project: Continuum
        Type: Bug
  Components: continuum-web  
 Reporter: Jesse McConnell


I have a svn repository setup with https:// certificate and AD LDAP password authentication...

would be real nice to be able to point to a pom with 

https://svn.company.com/svn/g-maven-plugins/trunk/pom.xml

and have it picked up.

right now it just grumbles about 

 Enter the URL to the Maven 2 POM    [ The URL you provided doesn't exist ] (in red even :)

-- 
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: (CONTINUUM-258) https:// doesn't seem to be a supported mechanism for referencing a pom

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-258?page=all ]
     
Emmanuel Venisse closed CONTINUUM-258:
--------------------------------------

    Resolution: Fixed

Applied. Thanks.

> https:// doesn't seem to be a supported mechanism for referencing a pom
> -----------------------------------------------------------------------
>
>          Key: CONTINUUM-258
>          URL: http://jira.codehaus.org/browse/CONTINUUM-258
>      Project: Continuum
>         Type: Bug
>   Components: continuum-web
>     Reporter: Jesse McConnell
>      Fix For: 1.0-alpha-4
>  Attachments: MungedHttpsURL.java, secure-url-continuum-api.patch, secure-url-continuum-core.patch, secure-url-continuum-pre.patch, secure-url-plexus.patch, secure-url-validation.patch
>
>
> I have a svn repository setup with https:// certificate and AD LDAP password authentication...
> would be real nice to be able to point to a pom with 
> https://svn.company.com/svn/g-maven-plugins/trunk/pom.xml
> and have it picked up.
> right now it just grumbles about 
>  Enter the URL to the Maven 2 POM    [ The URL you provided doesn't exist ] (in red even :)

-- 
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: (CONTINUUM-258) https:// doesn't seem to be a supported mechanism for referencing a pom

Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-258?page=all ]

Jesse McConnell updated CONTINUUM-258:
--------------------------------------

    Attachment: secure-url.patch

/home/jesse/osrc/plexus/secure-url.patch

this patchs in the usage of the file I'll be attaching next for resolution of funky secure urls

> https:// doesn't seem to be a supported mechanism for referencing a pom
> -----------------------------------------------------------------------
>
>          Key: CONTINUUM-258
>          URL: http://jira.codehaus.org/browse/CONTINUUM-258
>      Project: Continuum
>         Type: Bug
>   Components: continuum-web
>     Reporter: Jesse McConnell
>      Fix For: 1.0-alpha-4
>  Attachments: secure-url-continuum-pre.patch, secure-url-validation.patch, secure-url.patch
>
>
> I have a svn repository setup with https:// certificate and AD LDAP password authentication...
> would be real nice to be able to point to a pom with 
> https://svn.company.com/svn/g-maven-plugins/trunk/pom.xml
> and have it picked up.
> right now it just grumbles about 
>  Enter the URL to the Maven 2 POM    [ The URL you provided doesn't exist ] (in red even :)

-- 
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] Commented: (CONTINUUM-258) https:// doesn't seem to be a supported mechanism for referencing a pom

Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-258?page=comments#action_44200 ] 

Jesse McConnell commented on CONTINUUM-258:
-------------------------------------------

shoot, no dice on that approach

[ You must provide a valid url ]

password has a * in it though so that might be borking it as well..



> https:// doesn't seem to be a supported mechanism for referencing a pom
> -----------------------------------------------------------------------
>
>          Key: CONTINUUM-258
>          URL: http://jira.codehaus.org/browse/CONTINUUM-258
>      Project: Continuum
>         Type: Bug
>   Components: continuum-web
>     Reporter: Jesse McConnell
>      Fix For: 1.0-beta-1

>
>
> I have a svn repository setup with https:// certificate and AD LDAP password authentication...
> would be real nice to be able to point to a pom with 
> https://svn.company.com/svn/g-maven-plugins/trunk/pom.xml
> and have it picked up.
> right now it just grumbles about 
>  Enter the URL to the Maven 2 POM    [ The URL you provided doesn't exist ] (in red even :)

-- 
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: (CONTINUUM-258) https:// doesn't seem to be a supported mechanism for referencing a pom

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-258?page=all ]

Brett Porter updated CONTINUUM-258:
-----------------------------------

    Fix Version:     (was: 1.0-beta-1)
                 1.0-alpha-4

bringing forward since there is a patch

> https:// doesn't seem to be a supported mechanism for referencing a pom
> -----------------------------------------------------------------------
>
>          Key: CONTINUUM-258
>          URL: http://jira.codehaus.org/browse/CONTINUUM-258
>      Project: Continuum
>         Type: Bug
>   Components: continuum-web
>     Reporter: Jesse McConnell
>      Fix For: 1.0-alpha-4
>  Attachments: secure-url-continuum-pre.patch, secure-url-validation.patch
>
>
> I have a svn repository setup with https:// certificate and AD LDAP password authentication...
> would be real nice to be able to point to a pom with 
> https://svn.company.com/svn/g-maven-plugins/trunk/pom.xml
> and have it picked up.
> right now it just grumbles about 
>  Enter the URL to the Maven 2 POM    [ The URL you provided doesn't exist ] (in red even :)

-- 
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: (CONTINUUM-258) https:// doesn't seem to be a supported mechanism for referencing a pom

Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-258?page=all ]

Jesse McConnell updated CONTINUUM-258:
--------------------------------------

    Attachment: MungedHttpsURL.java

/home/jesse/osrc/plexus/plexus-components/plexus-formica/src/main/java/org/codehaus/plexus/formica/util/MungedHttpsURL.java

object for dealing with munged URL's of the format https://u:p@host.com/bar

> https:// doesn't seem to be a supported mechanism for referencing a pom
> -----------------------------------------------------------------------
>
>          Key: CONTINUUM-258
>          URL: http://jira.codehaus.org/browse/CONTINUUM-258
>      Project: Continuum
>         Type: Bug
>   Components: continuum-web
>     Reporter: Jesse McConnell
>      Fix For: 1.0-alpha-4
>  Attachments: MungedHttpsURL.java, secure-url-continuum-pre.patch, secure-url-validation.patch, secure-url.patch
>
>
> I have a svn repository setup with https:// certificate and AD LDAP password authentication...
> would be real nice to be able to point to a pom with 
> https://svn.company.com/svn/g-maven-plugins/trunk/pom.xml
> and have it picked up.
> right now it just grumbles about 
>  Enter the URL to the Maven 2 POM    [ The URL you provided doesn't exist ] (in red even :)

-- 
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: (CONTINUUM-258) https:// doesn't seem to be a supported mechanism for referencing a pom

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-258?page=all ]

Brett Porter updated CONTINUUM-258:
-----------------------------------

    Fix Version: 1.0-beta-1

> https:// doesn't seem to be a supported mechanism for referencing a pom
> -----------------------------------------------------------------------
>
>          Key: CONTINUUM-258
>          URL: http://jira.codehaus.org/browse/CONTINUUM-258
>      Project: Continuum
>         Type: Bug
>   Components: continuum-web
>     Reporter: Jesse McConnell
>      Fix For: 1.0-beta-1

>
>
> I have a svn repository setup with https:// certificate and AD LDAP password authentication...
> would be real nice to be able to point to a pom with 
> https://svn.company.com/svn/g-maven-plugins/trunk/pom.xml
> and have it picked up.
> right now it just grumbles about 
>  Enter the URL to the Maven 2 POM    [ The URL you provided doesn't exist ] (in red even :)

-- 
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: (CONTINUUM-258) https:// doesn't seem to be a supported mechanism for referencing a pom

Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-258?page=all ]

Jesse McConnell updated CONTINUUM-258:
--------------------------------------

    Attachment: secure-url-continuum-core.patch
                secure-url-continuum-api.patch
                secure-url-plexus.patch

/home/jesse/osrc/plexus/secure-url-plexus.patch

used in combination with the MungedHttpsURL file attached

/home/jesse/osrc/continuum/secure-url-continuum-api.patch

includes pom.xml addition to add the plexus-formica package as a dependency for the new class 

/home/jesse/osrc/continuum/secure-url-continuum-core.patch

includes pom.xml addition to add the plexus-formica package as a dependency for the new class 


in all cases the change to the interface has forces changes in a number of unit tests which are as included and all still validates locally (given the patch into plexus)

There was talk about new components, or different ways to solve the problem, but this at least gets the change in a fairly nonintrusive manner..if someone wants me to look into building out a different type of component or mechanism then let me know.

cheers

> https:// doesn't seem to be a supported mechanism for referencing a pom
> -----------------------------------------------------------------------
>
>          Key: CONTINUUM-258
>          URL: http://jira.codehaus.org/browse/CONTINUUM-258
>      Project: Continuum
>         Type: Bug
>   Components: continuum-web
>     Reporter: Jesse McConnell
>      Fix For: 1.0-alpha-4
>  Attachments: MungedHttpsURL.java, secure-url-continuum-api.patch, secure-url-continuum-core.patch, secure-url-continuum-pre.patch, secure-url-plexus.patch, secure-url-validation.patch
>
>
> I have a svn repository setup with https:// certificate and AD LDAP password authentication...
> would be real nice to be able to point to a pom with 
> https://svn.company.com/svn/g-maven-plugins/trunk/pom.xml
> and have it picked up.
> right now it just grumbles about 
>  Enter the URL to the Maven 2 POM    [ The URL you provided doesn't exist ] (in red even :)

-- 
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] Commented: (CONTINUUM-258) https:// doesn't seem to be a supported mechanism for referencing a pom

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-258?page=comments#action_44197 ] 

Emmanuel Venisse commented on CONTINUUM-258:
--------------------------------------------

https is supported, the pb is with authentication.

Can you try with an url like https://username:password@svn.company.com/svn/g-maven-plugins/trunk/pom.xml ?


> https:// doesn't seem to be a supported mechanism for referencing a pom
> -----------------------------------------------------------------------
>
>          Key: CONTINUUM-258
>          URL: http://jira.codehaus.org/browse/CONTINUUM-258
>      Project: Continuum
>         Type: Bug
>   Components: continuum-web
>     Reporter: Jesse McConnell
>      Fix For: 1.0-beta-1

>
>
> I have a svn repository setup with https:// certificate and AD LDAP password authentication...
> would be real nice to be able to point to a pom with 
> https://svn.company.com/svn/g-maven-plugins/trunk/pom.xml
> and have it picked up.
> right now it just grumbles about 
>  Enter the URL to the Maven 2 POM    [ The URL you provided doesn't exist ] (in red even :)

-- 
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: (CONTINUUM-258) https:// doesn't seem to be a supported mechanism for referencing a pom

Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-258?page=all ]

Jesse McConnell updated CONTINUUM-258:
--------------------------------------

    Attachment: secure-url-continuum-pre.patch

/home/jesse/osrc/continuum/secure-url-continuum-pre.patch

this is just a initial dump of what I had to do to get things working for review so I can clean things up nicely for a real patch

> https:// doesn't seem to be a supported mechanism for referencing a pom
> -----------------------------------------------------------------------
>
>          Key: CONTINUUM-258
>          URL: http://jira.codehaus.org/browse/CONTINUUM-258
>      Project: Continuum
>         Type: Bug
>   Components: continuum-web
>     Reporter: Jesse McConnell
>      Fix For: 1.0-beta-1
>  Attachments: secure-url-continuum-pre.patch, secure-url-validation.patch
>
>
> I have a svn repository setup with https:// certificate and AD LDAP password authentication...
> would be real nice to be able to point to a pom with 
> https://svn.company.com/svn/g-maven-plugins/trunk/pom.xml
> and have it picked up.
> right now it just grumbles about 
>  Enter the URL to the Maven 2 POM    [ The URL you provided doesn't exist ] (in red even :)

-- 
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: (CONTINUUM-258) https:// doesn't seem to be a supported mechanism for referencing a pom

Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-258?page=all ]

Jesse McConnell updated CONTINUUM-258:
--------------------------------------

    Attachment: secure-url-validation.patch

this is an attempt at a patch for this issue on the plexis UrlSourceValidator

I couldn't locate the mechanism that plexus would use for a cleaner way of obtaining url, username and password from the https:// url string so I added a couple of scrapeX methods to the bottom.

it builds in plexus-formica just fine...I haven't tried it yet with my continuum build but I built it from the commandline testing version I was playing with to get the things right should it should be good to go.

I looked into adding to the test class for it but I don't know the policy for locating a https:// box for general testing of it.

just grab me on irc or email if you have questions or want me to revisit parts of it.  it did dirty up a pretty simple class to get it worked around.

> https:// doesn't seem to be a supported mechanism for referencing a pom
> -----------------------------------------------------------------------
>
>          Key: CONTINUUM-258
>          URL: http://jira.codehaus.org/browse/CONTINUUM-258
>      Project: Continuum
>         Type: Bug
>   Components: continuum-web
>     Reporter: Jesse McConnell
>      Fix For: 1.0-beta-1
>  Attachments: secure-url-validation.patch
>
>
> I have a svn repository setup with https:// certificate and AD LDAP password authentication...
> would be real nice to be able to point to a pom with 
> https://svn.company.com/svn/g-maven-plugins/trunk/pom.xml
> and have it picked up.
> right now it just grumbles about 
>  Enter the URL to the Maven 2 POM    [ The URL you provided doesn't exist ] (in red even :)

-- 
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] Commented: (CONTINUUM-258) https:// doesn't seem to be a supported mechanism for referencing a pom

Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-258?page=comments#action_45192 ] 

Jesse McConnell commented on CONTINUUM-258:
-------------------------------------------

I am in the process of creating a plexus-url-http component that wraps this functionality into MungedHttpsURL...leaving us the chance to do a better solution in DefaultHttpsURL down the road that prompts the user for cert acceptance and username/password..It is pretty close to done I think, will need to play around getting it plugged in bit should be a much cleaner patch coming once I get a few hours...hopefully this week

> https:// doesn't seem to be a supported mechanism for referencing a pom
> -----------------------------------------------------------------------
>
>          Key: CONTINUUM-258
>          URL: http://jira.codehaus.org/browse/CONTINUUM-258
>      Project: Continuum
>         Type: Bug
>   Components: continuum-web
>     Reporter: Jesse McConnell
>      Fix For: 1.0-alpha-4
>  Attachments: secure-url-continuum-pre.patch, secure-url-validation.patch
>
>
> I have a svn repository setup with https:// certificate and AD LDAP password authentication...
> would be real nice to be able to point to a pom with 
> https://svn.company.com/svn/g-maven-plugins/trunk/pom.xml
> and have it picked up.
> right now it just grumbles about 
>  Enter the URL to the Maven 2 POM    [ The URL you provided doesn't exist ] (in red even :)

-- 
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] Commented: (CONTINUUM-258) https:// doesn't seem to be a supported mechanism for referencing a pom

Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-258?page=comments#action_45216 ] 

Jesse McConnell commented on CONTINUUM-258:
-------------------------------------------

attachments from the 25th are the ones that ought to be good to go, the others were for review and whatnot

> https:// doesn't seem to be a supported mechanism for referencing a pom
> -----------------------------------------------------------------------
>
>          Key: CONTINUUM-258
>          URL: http://jira.codehaus.org/browse/CONTINUUM-258
>      Project: Continuum
>         Type: Bug
>   Components: continuum-web
>     Reporter: Jesse McConnell
>      Fix For: 1.0-alpha-4
>  Attachments: MungedHttpsURL.java, secure-url-continuum-api.patch, secure-url-continuum-core.patch, secure-url-continuum-pre.patch, secure-url-plexus.patch, secure-url-validation.patch
>
>
> I have a svn repository setup with https:// certificate and AD LDAP password authentication...
> would be real nice to be able to point to a pom with 
> https://svn.company.com/svn/g-maven-plugins/trunk/pom.xml
> and have it picked up.
> right now it just grumbles about 
>  Enter the URL to the Maven 2 POM    [ The URL you provided doesn't exist ] (in red even :)

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