You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Jay Vyas <ja...@gmail.com> on 2013/04/24 01:09:31 UTC

Archiva: Browsing multiple repositories?

Hi archiva:

It seems like the browse button in archiva only goes through one repository
- in my case - its the "internal" repository.  However, I would like to
browse through the "snapshot" repository.

I have an archiva web server running, and it has an "internal" and a
"snapshot" repo.

- When i update the snapshot repo (after adding a snapshot jar), I can see
the Snapshots here:
/archiva/repository/snapshots/

- I can "see" the snapshot meta data when I go to:
/archiva/repository/snapshots/

- The problem is however that I can only see the "internal" repos in the
/archiva/browse url.  That is, I cant "browse" for snapshots :( ...

Is there a way that I can browse jars in the "snapshot" and "internal"
repositories through the "browse" interface?  Or is it hardcoded to only
navigate the artifacts in the "internal" repo?

-- 
Jay Vyas
http://jayunit100.blogspot.com

Re: Archiva: Browsing multiple repositories?

Posted by Jay Vyas <ja...@gmail.com>.
Im using 1.3.6

Im finding now, that the repo has been removed and recreated, that it IS in
fact showing up in the "browse" button.

Hmmm.  Oh well.. Alls well that ends well :)


On Tue, Apr 23, 2013 at 8:49 PM, Brett Porter <br...@porterclan.net> wrote:

>
> On 24/04/2013, at 10:32 AM, Jay Vyas <ja...@gmail.com> wrote:
>
> > 1) I'm logged in as "admin" - that should allow me access to all repos
> > right?
>
> Yes, that's right.
>
> >
> > 2) If the repo shows up  under /archiva/repository/snapshots/, doesn't
> that
> > confirm (2) ?
>
> Not at this time - it's a more direct interface to the underlying
> repository than the indexed view.
>
> You'll find the scannable flag under the repository admin page. It is on
> by default, so I'd be surprised if it is off.
>
> What version of Archiva are you working with? There have been some changes
> in the 1.4 milestone series that may also affect this that I wasn't
> considering.
>
> - Brett
>
> --
> Brett Porter
> brett@apache.org
> http://brettporter.wordpress.com/
> http://au.linkedin.com/in/brettporter
> http://twitter.com/brettporter
>
>
>
>
>
>


-- 
Jay Vyas
http://jayunit100.blogspot.com

Re: Archiva: Browsing multiple repositories?

Posted by Brett Porter <br...@porterclan.net>.
On 24/04/2013, at 10:32 AM, Jay Vyas <ja...@gmail.com> wrote:

> 1) I'm logged in as "admin" - that should allow me access to all repos
> right?

Yes, that's right.

> 
> 2) If the repo shows up  under /archiva/repository/snapshots/, doesn't that
> confirm (2) ?

Not at this time - it's a more direct interface to the underlying repository than the indexed view.

You'll find the scannable flag under the repository admin page. It is on by default, so I'd be surprised if it is off.

What version of Archiva are you working with? There have been some changes in the 1.4 milestone series that may also affect this that I wasn't considering.

- Brett

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter
http://twitter.com/brettporter






Re: Archiva: Browsing multiple repositories?

Posted by Jay Vyas <ja...@gmail.com>.
Also, the fact that the UI sais

"browse repository"

implies (to me) that the browser is specific to some repository, right?


On Tue, Apr 23, 2013 at 8:32 PM, Jay Vyas <ja...@gmail.com> wrote:

> 1) I'm logged in as "admin" - that should allow me access to all repos
> right?
>
> 2) If the repo shows up  under /archiva/repository/snapshots/, doesn't
> that confirm (2) ?
>
> I thought the same (that maybe it was permissions) but the fact that I can
> see the artifacts in /archiva/repository/snapshots/, leads me to beleive
> its a UI issue ?
>
>
>
> On Tue, Apr 23, 2013 at 7:29 PM, Brett Porter <br...@apache.org> wrote:
>
>> It should browse all repositories that you have access to.
>>
>> Can you confirm:
>> 1) that you are logged in and have access to the repo, or that the guest
>> user has access to the repo?
>> 2) that the snapshots repository is scanned? (this is required to produce
>> the necessary indexes)
>>
>> Regards,
>> Brett
>>
>> On 24/04/2013, at 9:09 AM, Jay Vyas <ja...@gmail.com> wrote:
>>
>> > Hi archiva:
>> >
>> > It seems like the browse button in archiva only goes through one
>> repository
>> > - in my case - its the "internal" repository.  However, I would like to
>> > browse through the "snapshot" repository.
>> >
>> > I have an archiva web server running, and it has an "internal" and a
>> > "snapshot" repo.
>> >
>> > - When i update the snapshot repo (after adding a snapshot jar), I can
>> see
>> > the Snapshots here:
>> > /archiva/repository/snapshots/
>> >
>> > - I can "see" the snapshot meta data when I go to:
>> > /archiva/repository/snapshots/
>> >
>> > - The problem is however that I can only see the "internal" repos in the
>> > /archiva/browse url.  That is, I cant "browse" for snapshots :( ...
>> >
>> > Is there a way that I can browse jars in the "snapshot" and "internal"
>> > repositories through the "browse" interface?  Or is it hardcoded to only
>> > navigate the artifacts in the "internal" repo?
>> >
>> > --
>> > Jay Vyas
>> > http://jayunit100.blogspot.com
>>
>> --
>> Brett Porter
>> brett@apache.org
>> http://brettporter.wordpress.com/
>> http://au.linkedin.com/in/brettporter
>> http://twitter.com/brettporter
>>
>>
>>
>>
>>
>>
>
>
> --
> Jay Vyas
> http://jayunit100.blogspot.com
>



-- 
Jay Vyas
http://jayunit100.blogspot.com

Re: Archiva: Browsing multiple repositories?

Posted by Jay Vyas <ja...@gmail.com>.
1) I'm logged in as "admin" - that should allow me access to all repos
right?

2) If the repo shows up  under /archiva/repository/snapshots/, doesn't that
confirm (2) ?

I thought the same (that maybe it was permissions) but the fact that I can
see the artifacts in /archiva/repository/snapshots/, leads me to beleive
its a UI issue ?



On Tue, Apr 23, 2013 at 7:29 PM, Brett Porter <br...@apache.org> wrote:

> It should browse all repositories that you have access to.
>
> Can you confirm:
> 1) that you are logged in and have access to the repo, or that the guest
> user has access to the repo?
> 2) that the snapshots repository is scanned? (this is required to produce
> the necessary indexes)
>
> Regards,
> Brett
>
> On 24/04/2013, at 9:09 AM, Jay Vyas <ja...@gmail.com> wrote:
>
> > Hi archiva:
> >
> > It seems like the browse button in archiva only goes through one
> repository
> > - in my case - its the "internal" repository.  However, I would like to
> > browse through the "snapshot" repository.
> >
> > I have an archiva web server running, and it has an "internal" and a
> > "snapshot" repo.
> >
> > - When i update the snapshot repo (after adding a snapshot jar), I can
> see
> > the Snapshots here:
> > /archiva/repository/snapshots/
> >
> > - I can "see" the snapshot meta data when I go to:
> > /archiva/repository/snapshots/
> >
> > - The problem is however that I can only see the "internal" repos in the
> > /archiva/browse url.  That is, I cant "browse" for snapshots :( ...
> >
> > Is there a way that I can browse jars in the "snapshot" and "internal"
> > repositories through the "browse" interface?  Or is it hardcoded to only
> > navigate the artifacts in the "internal" repo?
> >
> > --
> > Jay Vyas
> > http://jayunit100.blogspot.com
>
> --
> Brett Porter
> brett@apache.org
> http://brettporter.wordpress.com/
> http://au.linkedin.com/in/brettporter
> http://twitter.com/brettporter
>
>
>
>
>
>


-- 
Jay Vyas
http://jayunit100.blogspot.com

Re: Archiva: Browsing multiple repositories?

Posted by Brett Porter <br...@apache.org>.
It should browse all repositories that you have access to.

Can you confirm:
1) that you are logged in and have access to the repo, or that the guest user has access to the repo?
2) that the snapshots repository is scanned? (this is required to produce the necessary indexes)

Regards,
Brett

On 24/04/2013, at 9:09 AM, Jay Vyas <ja...@gmail.com> wrote:

> Hi archiva:
> 
> It seems like the browse button in archiva only goes through one repository
> - in my case - its the "internal" repository.  However, I would like to
> browse through the "snapshot" repository.
> 
> I have an archiva web server running, and it has an "internal" and a
> "snapshot" repo.
> 
> - When i update the snapshot repo (after adding a snapshot jar), I can see
> the Snapshots here:
> /archiva/repository/snapshots/
> 
> - I can "see" the snapshot meta data when I go to:
> /archiva/repository/snapshots/
> 
> - The problem is however that I can only see the "internal" repos in the
> /archiva/browse url.  That is, I cant "browse" for snapshots :( ...
> 
> Is there a way that I can browse jars in the "snapshot" and "internal"
> repositories through the "browse" interface?  Or is it hardcoded to only
> navigate the artifacts in the "internal" repo?
> 
> -- 
> Jay Vyas
> http://jayunit100.blogspot.com

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter
http://twitter.com/brettporter