I found a note in the best practices for NetBeans and Maven that said:

*"Since version 3.1, the Maven integration is using **the
**Nexus*<http://nexus.sonatype.org/>
* indexing engine** for indexing the local repository. At the same time it
can download zipped Nexus indexes from remote locations. "*


I haven't found anything that tells me how to configure where NetBeans
looks for indexes.  The repository properties appear to be read only.

For now, I can manually add central, but I would definitely be nice if
Archiva could be my canonical source for all maven artifacts and indexes.
 I inferred that is what the "Merged Indexes" for the Repository Group
would give me.  I guess I misunderstood.

Regardless, I still don't see the .indexer path.   My Archiva instance is
running with 2GB Ram assigned to Tomcat so I would think it would handle
the merging just fine.

On Sat, Oct 13, 2012 at 7:51 AM, Olivier Lamy <[email protected]> wrote:

> 2012/10/13 Jeff <[email protected]>:
> > I can verify that http://archiva/repository/myRepoGroup exists and shows
> > all my packages (3rd-party, internal snapshots, internal releases, etc.),
> > but I get a 404 error going to
> > http://archiva/repository/myRepoGroup/.indexer .
> >
> > The user guide says it's "on the fly" and would appear to just happen
> > automatically for each repository group without any need to configure it.
> >
> > Is that the case? If so,  I'm not seeing anything obvious in the logs
> other
> > than some lucene IndexMerger messages merging N documents '_ei' or '_es'
> or
> > '_f2', etc.
> >
> > Where would the .indexer files be located on disk?
> in a temporary directory.
>
> What kind of files or directory netbeans need ?
> The packed index I presume ?
> BTW merging index can take time especially if your group has some repos.
> And merging the central index need some memory on the server as it's a
> very huge one ! (~ 65go)
>
> Maybe what we can add is to be able to retrieve it if it's available
> locally with exposing content proxied from remote repostories.
> If your remote has id central. Content could be available using
> http://yourarchiva/repository/central/.index
> What do you think of that ? I have created the issue:
> https://jira.codehaus.org/browse/MRM-1693
>
> >
> > On Fri, Oct 12, 2012 at 4:28 PM, Olivier Lamy <[email protected]> wrote:
> >
> >> Don't know if it's very clearly documented :-) but read here:
> >>
> http://archiva.apache.org/docs/1.4-M3/userguide/virtual-repositories.html
> >> section "Merged index" .
> >>
> >> 2012/10/13 Olivier Lamy <[email protected]>:
> >> > 2012/10/13 Jeff <[email protected]>:
> >> >> Yes I do have one repository group.
> >> >>
> >> >> Yes I do have /archiva/data/remotes/central/.index.
> >> >>
> >> >> Though, I don't understand what you mean by making the repo group
> >> available
> >> >> using the .indexer path.  I don't see anything relating to indexing
> when
> >> >> I'm editing/viewing the repository group.  I'm using the 1.4-M3 new
> UI.
> >>  Is
> >> >> it missing this feature?
> >> >
> >> > If you repository group is called foo configure netbeans to download
> >> > index from http://yourarchiva/repository/foo/.indexer and you will
> >> > download the merged index of all repos from this group.
> >> >
> >> >
> >> >
> >> >>
> >> >>
> >> >> On Fri, Oct 12, 2012 at 3:53 PM, Olivier Lamy <[email protected]>
> wrote:
> >> >>
> >> >>> Hi,
> >> >>> Yup it's downloaded and used for searching in the ui but not visible
> >> >>> as an index file for you.
> >> >>> Check on your archiva fs in
> >> >>> ${appserver.base}/data/remotes/central/.index (or the name you used
> >> >>> for central)
> >> >>>
> >> >>> Do you have any repository group ?
> >> >>> If yes that must be available using .indexer path of the repository
> >> >>> group (all index from all repositories will be merged)
> >> >>>
> >> >>>
> >> >>> 2012/10/12 Jeff <[email protected]>:
> >> >>> > I'm using Netbeans 7.2 and used to get indexes of Maven Central (I
> >> >>> thought)
> >> >>> > through the Archiva indexes until Central changed some requirement
> >> >>> > (USER-AGENT?).
> >> >>> >
> >> >>> > I have been anticipating 1.4-M3 hoping this would fix it, but I'm
> >> still
> >> >>> not
> >> >>> > getting indexes pulled (that I am aware of).  How do I tell they
> are
> >> even
> >> >>> > being generated and available on Archiva?  I've forced everything
> >> related
> >> >>> > to repository scanning and such.
> >> >>> >
> >> >>> > Thoughts?
> >> >>> >
> >> >>> > --
> >> >>> > Jeff Vincent
> >> >>> > [email protected]
> >> >>> > See my LinkedIn profile at:
> >> >>> > http://www.linkedin.com/in/rjeffreyvincent
> >> >>> > I ♥ DropBox <http://db.tt/9O6LfBX> !!
> >> >>>
> >> >>>
> >> >>>
> >> >>> --
> >> >>> Olivier Lamy
> >> >>> Talend: http://coders.talend.com
> >> >>> http://twitter.com/olamy | http://linkedin.com/in/olamy
> >> >>>
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Jeff Vincent
> >> >> [email protected]
> >> >> See my LinkedIn profile at:
> >> >> http://www.linkedin.com/in/rjeffreyvincent
> >> >> I ♥ DropBox <http://db.tt/9O6LfBX> !!
> >> >
> >> >
> >> >
> >> > --
> >> > Olivier Lamy
> >> > Talend: http://coders.talend.com
> >> > http://twitter.com/olamy | http://linkedin.com/in/olamy
> >>
> >>
> >>
> >> --
> >> Olivier Lamy
> >> Talend: http://coders.talend.com
> >> http://twitter.com/olamy | http://linkedin.com/in/olamy
> >>
> >
> >
> >
> > --
> > Jeff Vincent
> > [email protected]
> > See my LinkedIn profile at:
> > http://www.linkedin.com/in/rjeffreyvincent
> > I ♥ DropBox <http://db.tt/9O6LfBX> !!
>
>
>
> --
> Olivier Lamy
> Talend: http://coders.talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>



-- 
Jeff Vincent
[email protected]
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBox <http://db.tt/9O6LfBX> !!

Reply via email to