You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2008/07/26 07:28:26 UTC

[jira] Created: (MRM-891) Unable to use archiva as http source with maven-stage-plugin

Unable to use archiva as http source with maven-stage-plugin
------------------------------------------------------------

                 Key: MRM-891
                 URL: http://jira.codehaus.org/browse/MRM-891
             Project: Archiva
          Issue Type: Bug
          Components: browser
    Affects Versions: 1.1
         Environment: linux, windows
            Reporter: Dan Tran


great - feel free to file a bug in Archiva too - though it's not
incorrect, it'd be better without it and we can probably fix this more
easily than getting the updated version to the maven client.
- Hide quoted text -

2008/7/26 Dan Tran <da...@gmail.com>:
> I look the html contents for repo1.apache.org/maven2 and the archiva
> at http://archiva.openqa.org/repository/releases/
>
> the repo1 shows
> <img src="/icons/folder.gif" alt="[DIR]"> <a href="abbot/">abbot/</a>
>    31-Oct-2005 23:09    -
>
> the archiva shows
>
> <li><a href="./org/">org/</li>
>
>
> So the problem  area seems to be at the extra "./" at archiva.
>
> will write up a test case for this.
>
> -D
>
> On Fri, Jul 25, 2008 at 10:01 PM, Dan Tran <da...@gmail.com> wrote:
>> sure, i will look into it
>>
>> thanks
>>
>> -D
>>
>> On Fri, Jul 25, 2008 at 9:57 PM, Brett Porter <br...@gmail.com> wrote:
>>> Yes, that'd be the place to look (it's just that it's on the end of
>>> the stage plugin where it is occurring :)
>>>
>>> 2008/7/26 Dan Tran <da...@gmail.com>:
>>>> you mean http wagon?
>>>>
>>>> -D
>>>>
>>>> On Fri, Jul 25, 2008 at 9:45 PM, Brett Porter <br...@gmail.com> wrote:
>>>>> That would be an issue with the stage plugin I think - the HTML on
>>>>> Archiva looks fine to me.
>>>>>
>>>>> 2008/7/26 Dan Tran <da...@gmail.com>:
>>>>>> From the other post, is it is same error for both 1.1( mine) and 1.0.2
>>>>>> (other user)  archiva.  When the stage plugin asks for a list
>>>>>> of files available at source repo ( ie the staging repo), it gets a
>>>>>> list of one item ( a space )
>>>>>>
>>>>>> on windows, the error is access deny, and unix it complains about cant
>>>>>> not create directory.
>>>>>>
>>>>>> -D
>>>>>>
>>>>>> On Fri, Jul 25, 2008 at 9:33 PM, Brett Porter <br...@gmail.com> wrote:
>>>>>>> The stage plugin doesn't support http targets, that's correct.
>>>>>>>
>>>>>>> There was previously some bugs in the HTML rendering, but they should
>>>>>>> be fine under 1.1. Is that what you are seeing?
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Brett
>>>>>>>
>>>>>>> 2008/7/26 Dan Tran <da...@gmail.com>:
>>>>>>>> Dont think it is a bug, but worth to ask.
>>>>>>>>
>>>>>>>> see http://www.nabble.com/Re%3A-error-plugin-stage-to16634443.html
>>>>>>>>
>>>>>>>> I am using archiva 1.1 on linux
>>>>>>>>
>>>>>>>> -D
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Brett Porter
>>>>>>> Blog: http://blogs.exist.com/bporter/
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Brett Porter
>>>>> Blog: http://blogs.exist.com/bporter/
>>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Brett Porter
>>> Blog: http://blogs.exist.com/bporter/
>>>
>>
>


-- 
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: (MRM-891) Unable to use archiva as http source with maven-stage-plugin

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143205#action_143205 ] 

Dan Tran commented on MRM-891:
------------------------------

my suspicion is correct.

I took the contents of a archiva page at archiva.openqa.org and feed it to the httpwagon html parser test at
http://svn.apache.org/repos/asf/maven/wagon/trunk/wagon-providers/wagon-http-shared/src/test/java/org/apache/maven/wagon/shared/http/HtmlFileListParserTest.java

The test fails since it detect no element. However when taken out the prefix "./", it is able to parse the content

note, my last note mentions about a list of one item ( a space, it is actually an empty string) is because the stage plugin
appends that item to the list when it is empty.

So who should fix this? wagon or archiva?  not much wagon can do since cyberneko parser not able to detect the link.



> Unable to use archiva as http source with maven-stage-plugin
> ------------------------------------------------------------
>
>                 Key: MRM-891
>                 URL: http://jira.codehaus.org/browse/MRM-891
>             Project: Archiva
>          Issue Type: Bug
>          Components: browser
>    Affects Versions: 1.1
>         Environment: linux, windows
>            Reporter: Dan Tran
>
> great - feel free to file a bug in Archiva too - though it's not
> incorrect, it'd be better without it and we can probably fix this more
> easily than getting the updated version to the maven client.
> - Hide quoted text -
> 2008/7/26 Dan Tran <da...@gmail.com>:
> > I look the html contents for repo1.apache.org/maven2 and the archiva
> > at http://archiva.openqa.org/repository/releases/
> >
> > the repo1 shows
> > <img src="/icons/folder.gif" alt="[DIR]"> <a href="abbot/">abbot/</a>
> >    31-Oct-2005 23:09    -
> >
> > the archiva shows
> >
> > <li><a href="./org/">org/</li>
> >
> >
> > So the problem  area seems to be at the extra "./" at archiva.
> >
> > will write up a test case for this.
> >
> > -D
> >
> > On Fri, Jul 25, 2008 at 10:01 PM, Dan Tran <da...@gmail.com> wrote:
> >> sure, i will look into it
> >>
> >> thanks
> >>
> >> -D
> >>
> >> On Fri, Jul 25, 2008 at 9:57 PM, Brett Porter <br...@gmail.com> wrote:
> >>> Yes, that'd be the place to look (it's just that it's on the end of
> >>> the stage plugin where it is occurring :)
> >>>
> >>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>> you mean http wagon?
> >>>>
> >>>> -D
> >>>>
> >>>> On Fri, Jul 25, 2008 at 9:45 PM, Brett Porter <br...@gmail.com> wrote:
> >>>>> That would be an issue with the stage plugin I think - the HTML on
> >>>>> Archiva looks fine to me.
> >>>>>
> >>>>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>>>> From the other post, is it is same error for both 1.1( mine) and 1.0.2
> >>>>>> (other user)  archiva.  When the stage plugin asks for a list
> >>>>>> of files available at source repo ( ie the staging repo), it gets a
> >>>>>> list of one item ( a space )
> >>>>>>
> >>>>>> on windows, the error is access deny, and unix it complains about cant
> >>>>>> not create directory.
> >>>>>>
> >>>>>> -D
> >>>>>>
> >>>>>> On Fri, Jul 25, 2008 at 9:33 PM, Brett Porter <br...@gmail.com> wrote:
> >>>>>>> The stage plugin doesn't support http targets, that's correct.
> >>>>>>>
> >>>>>>> There was previously some bugs in the HTML rendering, but they should
> >>>>>>> be fine under 1.1. Is that what you are seeing?
> >>>>>>>
> >>>>>>> Cheers,
> >>>>>>> Brett
> >>>>>>>
> >>>>>>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>>>>>> Dont think it is a bug, but worth to ask.
> >>>>>>>>
> >>>>>>>> see http://www.nabble.com/Re%3A-error-plugin-stage-to16634443.html
> >>>>>>>>
> >>>>>>>> I am using archiva 1.1 on linux
> >>>>>>>>
> >>>>>>>> -D
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> Brett Porter
> >>>>>>> Blog: http://blogs.exist.com/bporter/
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Brett Porter
> >>>>> Blog: http://blogs.exist.com/bporter/
> >>>>>
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Brett Porter
> >>> Blog: http://blogs.exist.com/bporter/
> >>>
> >>
> >

-- 
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: (MRM-891) Unable to use archiva as http source with maven-stage-plugin

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

Brett Porter updated MRM-891:
-----------------------------

         Assignee: Brett Porter
    Fix Version/s: 1.1.1

I think we can remove the leading ./ to help out, though the bug should be filed with wagon (if you could attach a patch that contains the failing test, that'd be a good starting point).

> Unable to use archiva as http source with maven-stage-plugin
> ------------------------------------------------------------
>
>                 Key: MRM-891
>                 URL: http://jira.codehaus.org/browse/MRM-891
>             Project: Archiva
>          Issue Type: Bug
>          Components: browser
>    Affects Versions: 1.1
>         Environment: linux, windows
>            Reporter: Dan Tran
>            Assignee: Brett Porter
>             Fix For: 1.1.1
>
>
> great - feel free to file a bug in Archiva too - though it's not
> incorrect, it'd be better without it and we can probably fix this more
> easily than getting the updated version to the maven client.
> - Hide quoted text -
> 2008/7/26 Dan Tran <da...@gmail.com>:
> > I look the html contents for repo1.apache.org/maven2 and the archiva
> > at http://archiva.openqa.org/repository/releases/
> >
> > the repo1 shows
> > <img src="/icons/folder.gif" alt="[DIR]"> <a href="abbot/">abbot/</a>
> >    31-Oct-2005 23:09    -
> >
> > the archiva shows
> >
> > <li><a href="./org/">org/</li>
> >
> >
> > So the problem  area seems to be at the extra "./" at archiva.
> >
> > will write up a test case for this.
> >
> > -D
> >
> > On Fri, Jul 25, 2008 at 10:01 PM, Dan Tran <da...@gmail.com> wrote:
> >> sure, i will look into it
> >>
> >> thanks
> >>
> >> -D
> >>
> >> On Fri, Jul 25, 2008 at 9:57 PM, Brett Porter <br...@gmail.com> wrote:
> >>> Yes, that'd be the place to look (it's just that it's on the end of
> >>> the stage plugin where it is occurring :)
> >>>
> >>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>> you mean http wagon?
> >>>>
> >>>> -D
> >>>>
> >>>> On Fri, Jul 25, 2008 at 9:45 PM, Brett Porter <br...@gmail.com> wrote:
> >>>>> That would be an issue with the stage plugin I think - the HTML on
> >>>>> Archiva looks fine to me.
> >>>>>
> >>>>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>>>> From the other post, is it is same error for both 1.1( mine) and 1.0.2
> >>>>>> (other user)  archiva.  When the stage plugin asks for a list
> >>>>>> of files available at source repo ( ie the staging repo), it gets a
> >>>>>> list of one item ( a space )
> >>>>>>
> >>>>>> on windows, the error is access deny, and unix it complains about cant
> >>>>>> not create directory.
> >>>>>>
> >>>>>> -D
> >>>>>>
> >>>>>> On Fri, Jul 25, 2008 at 9:33 PM, Brett Porter <br...@gmail.com> wrote:
> >>>>>>> The stage plugin doesn't support http targets, that's correct.
> >>>>>>>
> >>>>>>> There was previously some bugs in the HTML rendering, but they should
> >>>>>>> be fine under 1.1. Is that what you are seeing?
> >>>>>>>
> >>>>>>> Cheers,
> >>>>>>> Brett
> >>>>>>>
> >>>>>>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>>>>>> Dont think it is a bug, but worth to ask.
> >>>>>>>>
> >>>>>>>> see http://www.nabble.com/Re%3A-error-plugin-stage-to16634443.html
> >>>>>>>>
> >>>>>>>> I am using archiva 1.1 on linux
> >>>>>>>>
> >>>>>>>> -D
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> Brett Porter
> >>>>>>> Blog: http://blogs.exist.com/bporter/
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Brett Porter
> >>>>> Blog: http://blogs.exist.com/bporter/
> >>>>>
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Brett Porter
> >>> Blog: http://blogs.exist.com/bporter/
> >>>
> >>
> >

-- 
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: (MRM-891) Unable to use archiva as http source with maven-stage-plugin

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143220#action_143220 ] 

Dan Tran commented on MRM-891:
------------------------------

I am able to reproduce the probem as stated using the wagon test, will need to further investigation.

> Unable to use archiva as http source with maven-stage-plugin
> ------------------------------------------------------------
>
>                 Key: MRM-891
>                 URL: http://jira.codehaus.org/browse/MRM-891
>             Project: Archiva
>          Issue Type: Bug
>          Components: browser
>    Affects Versions: 1.1
>         Environment: linux, windows
>            Reporter: Dan Tran
>
> great - feel free to file a bug in Archiva too - though it's not
> incorrect, it'd be better without it and we can probably fix this more
> easily than getting the updated version to the maven client.
> - Hide quoted text -
> 2008/7/26 Dan Tran <da...@gmail.com>:
> > I look the html contents for repo1.apache.org/maven2 and the archiva
> > at http://archiva.openqa.org/repository/releases/
> >
> > the repo1 shows
> > <img src="/icons/folder.gif" alt="[DIR]"> <a href="abbot/">abbot/</a>
> >    31-Oct-2005 23:09    -
> >
> > the archiva shows
> >
> > <li><a href="./org/">org/</li>
> >
> >
> > So the problem  area seems to be at the extra "./" at archiva.
> >
> > will write up a test case for this.
> >
> > -D
> >
> > On Fri, Jul 25, 2008 at 10:01 PM, Dan Tran <da...@gmail.com> wrote:
> >> sure, i will look into it
> >>
> >> thanks
> >>
> >> -D
> >>
> >> On Fri, Jul 25, 2008 at 9:57 PM, Brett Porter <br...@gmail.com> wrote:
> >>> Yes, that'd be the place to look (it's just that it's on the end of
> >>> the stage plugin where it is occurring :)
> >>>
> >>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>> you mean http wagon?
> >>>>
> >>>> -D
> >>>>
> >>>> On Fri, Jul 25, 2008 at 9:45 PM, Brett Porter <br...@gmail.com> wrote:
> >>>>> That would be an issue with the stage plugin I think - the HTML on
> >>>>> Archiva looks fine to me.
> >>>>>
> >>>>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>>>> From the other post, is it is same error for both 1.1( mine) and 1.0.2
> >>>>>> (other user)  archiva.  When the stage plugin asks for a list
> >>>>>> of files available at source repo ( ie the staging repo), it gets a
> >>>>>> list of one item ( a space )
> >>>>>>
> >>>>>> on windows, the error is access deny, and unix it complains about cant
> >>>>>> not create directory.
> >>>>>>
> >>>>>> -D
> >>>>>>
> >>>>>> On Fri, Jul 25, 2008 at 9:33 PM, Brett Porter <br...@gmail.com> wrote:
> >>>>>>> The stage plugin doesn't support http targets, that's correct.
> >>>>>>>
> >>>>>>> There was previously some bugs in the HTML rendering, but they should
> >>>>>>> be fine under 1.1. Is that what you are seeing?
> >>>>>>>
> >>>>>>> Cheers,
> >>>>>>> Brett
> >>>>>>>
> >>>>>>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>>>>>> Dont think it is a bug, but worth to ask.
> >>>>>>>>
> >>>>>>>> see http://www.nabble.com/Re%3A-error-plugin-stage-to16634443.html
> >>>>>>>>
> >>>>>>>> I am using archiva 1.1 on linux
> >>>>>>>>
> >>>>>>>> -D
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> Brett Porter
> >>>>>>> Blog: http://blogs.exist.com/bporter/
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Brett Porter
> >>>>> Blog: http://blogs.exist.com/bporter/
> >>>>>
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Brett Porter
> >>> Blog: http://blogs.exist.com/bporter/
> >>>
> >>
> >

-- 
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: (MRM-891) Unable to use archiva as http source with maven-stage-plugin

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Tran updated MRM-891:
-------------------------

    Attachment: MRM-891.patch

I think i found the root cause of AIOE see MRM-893 for details.

Also, I think I can also get staging-plugin with wagon-beta-2 to work with some help from archiva to
remove the prefix "./".    See attached patch.  ( hope is ok since I work again the 1.1 tag )

> Unable to use archiva as http source with maven-stage-plugin
> ------------------------------------------------------------
>
>                 Key: MRM-891
>                 URL: http://jira.codehaus.org/browse/MRM-891
>             Project: Archiva
>          Issue Type: Bug
>          Components: browser
>    Affects Versions: 1.1
>         Environment: linux, windows
>            Reporter: Dan Tran
>            Assignee: Brett Porter
>             Fix For: 1.1.1
>
>         Attachments: MRM-891.patch
>
>
> great - feel free to file a bug in Archiva too - though it's not
> incorrect, it'd be better without it and we can probably fix this more
> easily than getting the updated version to the maven client.
> - Hide quoted text -
> 2008/7/26 Dan Tran <da...@gmail.com>:
> > I look the html contents for repo1.apache.org/maven2 and the archiva
> > at http://archiva.openqa.org/repository/releases/
> >
> > the repo1 shows
> > <img src="/icons/folder.gif" alt="[DIR]"> <a href="abbot/">abbot/</a>
> >    31-Oct-2005 23:09    -
> >
> > the archiva shows
> >
> > <li><a href="./org/">org/</li>
> >
> >
> > So the problem  area seems to be at the extra "./" at archiva.
> >
> > will write up a test case for this.
> >
> > -D
> >
> > On Fri, Jul 25, 2008 at 10:01 PM, Dan Tran <da...@gmail.com> wrote:
> >> sure, i will look into it
> >>
> >> thanks
> >>
> >> -D
> >>
> >> On Fri, Jul 25, 2008 at 9:57 PM, Brett Porter <br...@gmail.com> wrote:
> >>> Yes, that'd be the place to look (it's just that it's on the end of
> >>> the stage plugin where it is occurring :)
> >>>
> >>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>> you mean http wagon?
> >>>>
> >>>> -D
> >>>>
> >>>> On Fri, Jul 25, 2008 at 9:45 PM, Brett Porter <br...@gmail.com> wrote:
> >>>>> That would be an issue with the stage plugin I think - the HTML on
> >>>>> Archiva looks fine to me.
> >>>>>
> >>>>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>>>> From the other post, is it is same error for both 1.1( mine) and 1.0.2
> >>>>>> (other user)  archiva.  When the stage plugin asks for a list
> >>>>>> of files available at source repo ( ie the staging repo), it gets a
> >>>>>> list of one item ( a space )
> >>>>>>
> >>>>>> on windows, the error is access deny, and unix it complains about cant
> >>>>>> not create directory.
> >>>>>>
> >>>>>> -D
> >>>>>>
> >>>>>> On Fri, Jul 25, 2008 at 9:33 PM, Brett Porter <br...@gmail.com> wrote:
> >>>>>>> The stage plugin doesn't support http targets, that's correct.
> >>>>>>>
> >>>>>>> There was previously some bugs in the HTML rendering, but they should
> >>>>>>> be fine under 1.1. Is that what you are seeing?
> >>>>>>>
> >>>>>>> Cheers,
> >>>>>>> Brett
> >>>>>>>
> >>>>>>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>>>>>> Dont think it is a bug, but worth to ask.
> >>>>>>>>
> >>>>>>>> see http://www.nabble.com/Re%3A-error-plugin-stage-to16634443.html
> >>>>>>>>
> >>>>>>>> I am using archiva 1.1 on linux
> >>>>>>>>
> >>>>>>>> -D
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> Brett Porter
> >>>>>>> Blog: http://blogs.exist.com/bporter/
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Brett Porter
> >>>>> Blog: http://blogs.exist.com/bporter/
> >>>>>
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Brett Porter
> >>> Blog: http://blogs.exist.com/bporter/
> >>>
> >>
> >

-- 
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: (MRM-891) Unable to use archiva as http source with maven-stage-plugin

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143274#action_143274 ] 

Brett Porter commented on MRM-891:
----------------------------------

yep, I agree both should be done

> Unable to use archiva as http source with maven-stage-plugin
> ------------------------------------------------------------
>
>                 Key: MRM-891
>                 URL: http://jira.codehaus.org/browse/MRM-891
>             Project: Archiva
>          Issue Type: Bug
>          Components: browser
>    Affects Versions: 1.1
>         Environment: linux, windows
>            Reporter: Dan Tran
>            Assignee: Brett Porter
>             Fix For: 1.1.1
>
>
> great - feel free to file a bug in Archiva too - though it's not
> incorrect, it'd be better without it and we can probably fix this more
> easily than getting the updated version to the maven client.
> - Hide quoted text -
> 2008/7/26 Dan Tran <da...@gmail.com>:
> > I look the html contents for repo1.apache.org/maven2 and the archiva
> > at http://archiva.openqa.org/repository/releases/
> >
> > the repo1 shows
> > <img src="/icons/folder.gif" alt="[DIR]"> <a href="abbot/">abbot/</a>
> >    31-Oct-2005 23:09    -
> >
> > the archiva shows
> >
> > <li><a href="./org/">org/</li>
> >
> >
> > So the problem  area seems to be at the extra "./" at archiva.
> >
> > will write up a test case for this.
> >
> > -D
> >
> > On Fri, Jul 25, 2008 at 10:01 PM, Dan Tran <da...@gmail.com> wrote:
> >> sure, i will look into it
> >>
> >> thanks
> >>
> >> -D
> >>
> >> On Fri, Jul 25, 2008 at 9:57 PM, Brett Porter <br...@gmail.com> wrote:
> >>> Yes, that'd be the place to look (it's just that it's on the end of
> >>> the stage plugin where it is occurring :)
> >>>
> >>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>> you mean http wagon?
> >>>>
> >>>> -D
> >>>>
> >>>> On Fri, Jul 25, 2008 at 9:45 PM, Brett Porter <br...@gmail.com> wrote:
> >>>>> That would be an issue with the stage plugin I think - the HTML on
> >>>>> Archiva looks fine to me.
> >>>>>
> >>>>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>>>> From the other post, is it is same error for both 1.1( mine) and 1.0.2
> >>>>>> (other user)  archiva.  When the stage plugin asks for a list
> >>>>>> of files available at source repo ( ie the staging repo), it gets a
> >>>>>> list of one item ( a space )
> >>>>>>
> >>>>>> on windows, the error is access deny, and unix it complains about cant
> >>>>>> not create directory.
> >>>>>>
> >>>>>> -D
> >>>>>>
> >>>>>> On Fri, Jul 25, 2008 at 9:33 PM, Brett Porter <br...@gmail.com> wrote:
> >>>>>>> The stage plugin doesn't support http targets, that's correct.
> >>>>>>>
> >>>>>>> There was previously some bugs in the HTML rendering, but they should
> >>>>>>> be fine under 1.1. Is that what you are seeing?
> >>>>>>>
> >>>>>>> Cheers,
> >>>>>>> Brett
> >>>>>>>
> >>>>>>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>>>>>> Dont think it is a bug, but worth to ask.
> >>>>>>>>
> >>>>>>>> see http://www.nabble.com/Re%3A-error-plugin-stage-to16634443.html
> >>>>>>>>
> >>>>>>>> I am using archiva 1.1 on linux
> >>>>>>>>
> >>>>>>>> -D
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> Brett Porter
> >>>>>>> Blog: http://blogs.exist.com/bporter/
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Brett Porter
> >>>>> Blog: http://blogs.exist.com/bporter/
> >>>>>
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Brett Porter
> >>> Blog: http://blogs.exist.com/bporter/
> >>>
> >>
> >

-- 
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: (MRM-891) Unable to use archiva as http source with maven-stage-plugin

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143273#action_143273 ] 

Dan Tran commented on MRM-891:
------------------------------

more info.

I am able to produce the problem by feeding the content of the root page to wagon-beta-2, however
the with wagon-1.0-beta-3. It is ok.  I guess the new html parser in beta-3 does a better job.

However when build staging plugin with wagon beta-3, the staging plugin crashes with

java.lang.ArrayIndexOutOfBoundsException: -1
	at org.cyberneko.html.HTMLTagBalancer$InfoStack.pop(HTMLTagBalancer.java:1262)
	at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:669)
	at org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement

oh well, I need to to further debugging.

I am looking at both ends to:

  make archiva brower to match the apache browser, this way with it will work with wagon-beta-2

  or

  fix the AIOE error with wagon-beta-3.



> Unable to use archiva as http source with maven-stage-plugin
> ------------------------------------------------------------
>
>                 Key: MRM-891
>                 URL: http://jira.codehaus.org/browse/MRM-891
>             Project: Archiva
>          Issue Type: Bug
>          Components: browser
>    Affects Versions: 1.1
>         Environment: linux, windows
>            Reporter: Dan Tran
>            Assignee: Brett Porter
>             Fix For: 1.1.1
>
>
> great - feel free to file a bug in Archiva too - though it's not
> incorrect, it'd be better without it and we can probably fix this more
> easily than getting the updated version to the maven client.
> - Hide quoted text -
> 2008/7/26 Dan Tran <da...@gmail.com>:
> > I look the html contents for repo1.apache.org/maven2 and the archiva
> > at http://archiva.openqa.org/repository/releases/
> >
> > the repo1 shows
> > <img src="/icons/folder.gif" alt="[DIR]"> <a href="abbot/">abbot/</a>
> >    31-Oct-2005 23:09    -
> >
> > the archiva shows
> >
> > <li><a href="./org/">org/</li>
> >
> >
> > So the problem  area seems to be at the extra "./" at archiva.
> >
> > will write up a test case for this.
> >
> > -D
> >
> > On Fri, Jul 25, 2008 at 10:01 PM, Dan Tran <da...@gmail.com> wrote:
> >> sure, i will look into it
> >>
> >> thanks
> >>
> >> -D
> >>
> >> On Fri, Jul 25, 2008 at 9:57 PM, Brett Porter <br...@gmail.com> wrote:
> >>> Yes, that'd be the place to look (it's just that it's on the end of
> >>> the stage plugin where it is occurring :)
> >>>
> >>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>> you mean http wagon?
> >>>>
> >>>> -D
> >>>>
> >>>> On Fri, Jul 25, 2008 at 9:45 PM, Brett Porter <br...@gmail.com> wrote:
> >>>>> That would be an issue with the stage plugin I think - the HTML on
> >>>>> Archiva looks fine to me.
> >>>>>
> >>>>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>>>> From the other post, is it is same error for both 1.1( mine) and 1.0.2
> >>>>>> (other user)  archiva.  When the stage plugin asks for a list
> >>>>>> of files available at source repo ( ie the staging repo), it gets a
> >>>>>> list of one item ( a space )
> >>>>>>
> >>>>>> on windows, the error is access deny, and unix it complains about cant
> >>>>>> not create directory.
> >>>>>>
> >>>>>> -D
> >>>>>>
> >>>>>> On Fri, Jul 25, 2008 at 9:33 PM, Brett Porter <br...@gmail.com> wrote:
> >>>>>>> The stage plugin doesn't support http targets, that's correct.
> >>>>>>>
> >>>>>>> There was previously some bugs in the HTML rendering, but they should
> >>>>>>> be fine under 1.1. Is that what you are seeing?
> >>>>>>>
> >>>>>>> Cheers,
> >>>>>>> Brett
> >>>>>>>
> >>>>>>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>>>>>> Dont think it is a bug, but worth to ask.
> >>>>>>>>
> >>>>>>>> see http://www.nabble.com/Re%3A-error-plugin-stage-to16634443.html
> >>>>>>>>
> >>>>>>>> I am using archiva 1.1 on linux
> >>>>>>>>
> >>>>>>>> -D
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> Brett Porter
> >>>>>>> Blog: http://blogs.exist.com/bporter/
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Brett Porter
> >>>>> Blog: http://blogs.exist.com/bporter/
> >>>>>
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Brett Porter
> >>> Blog: http://blogs.exist.com/bporter/
> >>>
> >>
> >

-- 
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: (MRM-891) Unable to use archiva as http source with maven-stage-plugin

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

Brett Porter closed MRM-891.
----------------------------

    Resolution: Fixed

applied, thanks!

> Unable to use archiva as http source with maven-stage-plugin
> ------------------------------------------------------------
>
>                 Key: MRM-891
>                 URL: http://jira.codehaus.org/browse/MRM-891
>             Project: Archiva
>          Issue Type: Bug
>          Components: browser
>    Affects Versions: 1.1
>         Environment: linux, windows
>            Reporter: Dan Tran
>            Assignee: Brett Porter
>             Fix For: 1.1.1
>
>         Attachments: MRM-891.patch
>
>
> great - feel free to file a bug in Archiva too - though it's not
> incorrect, it'd be better without it and we can probably fix this more
> easily than getting the updated version to the maven client.
> - Hide quoted text -
> 2008/7/26 Dan Tran <da...@gmail.com>:
> > I look the html contents for repo1.apache.org/maven2 and the archiva
> > at http://archiva.openqa.org/repository/releases/
> >
> > the repo1 shows
> > <img src="/icons/folder.gif" alt="[DIR]"> <a href="abbot/">abbot/</a>
> >    31-Oct-2005 23:09    -
> >
> > the archiva shows
> >
> > <li><a href="./org/">org/</li>
> >
> >
> > So the problem  area seems to be at the extra "./" at archiva.
> >
> > will write up a test case for this.
> >
> > -D
> >
> > On Fri, Jul 25, 2008 at 10:01 PM, Dan Tran <da...@gmail.com> wrote:
> >> sure, i will look into it
> >>
> >> thanks
> >>
> >> -D
> >>
> >> On Fri, Jul 25, 2008 at 9:57 PM, Brett Porter <br...@gmail.com> wrote:
> >>> Yes, that'd be the place to look (it's just that it's on the end of
> >>> the stage plugin where it is occurring :)
> >>>
> >>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>> you mean http wagon?
> >>>>
> >>>> -D
> >>>>
> >>>> On Fri, Jul 25, 2008 at 9:45 PM, Brett Porter <br...@gmail.com> wrote:
> >>>>> That would be an issue with the stage plugin I think - the HTML on
> >>>>> Archiva looks fine to me.
> >>>>>
> >>>>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>>>> From the other post, is it is same error for both 1.1( mine) and 1.0.2
> >>>>>> (other user)  archiva.  When the stage plugin asks for a list
> >>>>>> of files available at source repo ( ie the staging repo), it gets a
> >>>>>> list of one item ( a space )
> >>>>>>
> >>>>>> on windows, the error is access deny, and unix it complains about cant
> >>>>>> not create directory.
> >>>>>>
> >>>>>> -D
> >>>>>>
> >>>>>> On Fri, Jul 25, 2008 at 9:33 PM, Brett Porter <br...@gmail.com> wrote:
> >>>>>>> The stage plugin doesn't support http targets, that's correct.
> >>>>>>>
> >>>>>>> There was previously some bugs in the HTML rendering, but they should
> >>>>>>> be fine under 1.1. Is that what you are seeing?
> >>>>>>>
> >>>>>>> Cheers,
> >>>>>>> Brett
> >>>>>>>
> >>>>>>> 2008/7/26 Dan Tran <da...@gmail.com>:
> >>>>>>>> Dont think it is a bug, but worth to ask.
> >>>>>>>>
> >>>>>>>> see http://www.nabble.com/Re%3A-error-plugin-stage-to16634443.html
> >>>>>>>>
> >>>>>>>> I am using archiva 1.1 on linux
> >>>>>>>>
> >>>>>>>> -D
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> Brett Porter
> >>>>>>> Blog: http://blogs.exist.com/bporter/
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Brett Porter
> >>>>> Blog: http://blogs.exist.com/bporter/
> >>>>>
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Brett Porter
> >>> Blog: http://blogs.exist.com/bporter/
> >>>
> >>
> >

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