You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Talley, Kenneth" <Ke...@emc.com> on 2014/08/28 19:24:42 UTC

maven indexer examples issue

Hey all,

I'm new to plexus and sisu so forgive me if this is a little newbish. Basically, I'm trying to learn how to use maven indexer and just running the BasicUsageExamplerTest throws:

org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException
      role: org.apache.maven.index.Indexer
  roleHint:
at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:141)
at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:1)
at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76)
at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:262)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:254)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:248)
at org.apache.maven.indexer.examples.BasicUsageExample.<init>(BasicUsageExample.java:107)
at org.apache.maven.indexer.examples.BasicUsageExample.main(BasicUsageExample.java:80)
at org.apache.maven.indexer.examples.BasicUsageExampleTest.testApp(BasicUsageExampleTest.java:30)


Anyone else see this or am I missing something?


kwt

RE: maven indexer examples issue

Posted by "Talley, Kenneth" <Ke...@emc.com>.
I can confirm the fix! Thanks for the help and fast work, you're awesome.


kwt

________________________________________
From: t.cservenak@gmail.com [t.cservenak@gmail.com] on behalf of Tamás Cservenák [tamas@cservenak.net]
Sent: Thursday, August 28, 2014 1:22 PM
To: Maven Developers List
Subject: Re: maven indexer examples issue

Examples fixed with 2c916cbdaf9ec79e5f66ecbb85b6bd80ad302152.

Please update.

thanks (phone),
~t~
On Aug 28, 2014 7:55 PM, "Martin Todorov" <ca...@gmail.com> wrote:

> Oh, you're right! This seems to have been broken by a recent merge.
>
> I believe 7d5ed7af1eff148ab509ae8c89d61f936e37bf2a should be a safe
> revision to rollback to and try things from there.
>
> We'll look into this and get back to you.
>
>
> On Thu, Aug 28, 2014 at 6:39 PM, Talley, Kenneth <Ke...@emc.com>
> wrote:
>
> > Thanks for the quick reply Martin, I'm running in OSX:
> >
> > mvn --version
> > Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e;
> > 2014-06-17T07:51:42-06:00)
> >
> >
> > kwt
> >
> > ________________________________________
> > From: Martin Todorov [carlspring@gmail.com]
> > Sent: Thursday, August 28, 2014 11:30 AM
> > To: Maven Developers List
> > Subject: Re: maven indexer examples issue
> >
> > Hi Kenneth,
> >
> > What version of Maven are you trying to build this with? It's building
> fine
> > for me with Maven 3.2.1.
> >
> > Kind regards,
> >
> > Martin
> >
> >
> >
> >
> >
> > On Thu, Aug 28, 2014 at 6:24 PM, Talley, Kenneth <Kenneth.Talley@emc.com
> >
> > wrote:
> >
> > > Hey all,
> > >
> > > I'm new to plexus and sisu so forgive me if this is a little newbish.
> > > Basically, I'm trying to learn how to use maven indexer and just
> running
> > > the BasicUsageExamplerTest throws:
> > >
> > >
> >
> org.codehaus.plexus.component.repository.exception.ComponentLookupException:
> > > java.util.NoSuchElementException
> > >       role: org.apache.maven.index.Indexer
> > >   roleHint:
> > > at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:141)
> > > at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:1)
> > > at
> > >
> >
> org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76)
> > > at
> > >
> >
> org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1)
> > > at
> > >
> >
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:262)
> > > at
> > >
> >
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:254)
> > > at
> > >
> >
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:248)
> > > at
> > >
> >
> org.apache.maven.indexer.examples.BasicUsageExample.<init>(BasicUsageExample.java:107)
> > > at
> > >
> >
> org.apache.maven.indexer.examples.BasicUsageExample.main(BasicUsageExample.java:80)
> > > at
> > >
> >
> org.apache.maven.indexer.examples.BasicUsageExampleTest.testApp(BasicUsageExampleTest.java:30)
> > >
> > >
> > > Anyone else see this or am I missing something?
> > >
> > >
> > > kwt
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven indexer examples issue

Posted by Tamás Cservenák <ta...@cservenak.net>.
Examples fixed with 2c916cbdaf9ec79e5f66ecbb85b6bd80ad302152.

Please update.

thanks (phone),
~t~
On Aug 28, 2014 7:55 PM, "Martin Todorov" <ca...@gmail.com> wrote:

> Oh, you're right! This seems to have been broken by a recent merge.
>
> I believe 7d5ed7af1eff148ab509ae8c89d61f936e37bf2a should be a safe
> revision to rollback to and try things from there.
>
> We'll look into this and get back to you.
>
>
> On Thu, Aug 28, 2014 at 6:39 PM, Talley, Kenneth <Ke...@emc.com>
> wrote:
>
> > Thanks for the quick reply Martin, I'm running in OSX:
> >
> > mvn --version
> > Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e;
> > 2014-06-17T07:51:42-06:00)
> >
> >
> > kwt
> >
> > ________________________________________
> > From: Martin Todorov [carlspring@gmail.com]
> > Sent: Thursday, August 28, 2014 11:30 AM
> > To: Maven Developers List
> > Subject: Re: maven indexer examples issue
> >
> > Hi Kenneth,
> >
> > What version of Maven are you trying to build this with? It's building
> fine
> > for me with Maven 3.2.1.
> >
> > Kind regards,
> >
> > Martin
> >
> >
> >
> >
> >
> > On Thu, Aug 28, 2014 at 6:24 PM, Talley, Kenneth <Kenneth.Talley@emc.com
> >
> > wrote:
> >
> > > Hey all,
> > >
> > > I'm new to plexus and sisu so forgive me if this is a little newbish.
> > > Basically, I'm trying to learn how to use maven indexer and just
> running
> > > the BasicUsageExamplerTest throws:
> > >
> > >
> >
> org.codehaus.plexus.component.repository.exception.ComponentLookupException:
> > > java.util.NoSuchElementException
> > >       role: org.apache.maven.index.Indexer
> > >   roleHint:
> > > at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:141)
> > > at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:1)
> > > at
> > >
> >
> org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76)
> > > at
> > >
> >
> org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1)
> > > at
> > >
> >
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:262)
> > > at
> > >
> >
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:254)
> > > at
> > >
> >
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:248)
> > > at
> > >
> >
> org.apache.maven.indexer.examples.BasicUsageExample.<init>(BasicUsageExample.java:107)
> > > at
> > >
> >
> org.apache.maven.indexer.examples.BasicUsageExample.main(BasicUsageExample.java:80)
> > > at
> > >
> >
> org.apache.maven.indexer.examples.BasicUsageExampleTest.testApp(BasicUsageExampleTest.java:30)
> > >
> > >
> > > Anyone else see this or am I missing something?
> > >
> > >
> > > kwt
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>

Re: maven indexer examples issue

Posted by Martin Todorov <ca...@gmail.com>.
Oh, you're right! This seems to have been broken by a recent merge.

I believe 7d5ed7af1eff148ab509ae8c89d61f936e37bf2a should be a safe
revision to rollback to and try things from there.

We'll look into this and get back to you.


On Thu, Aug 28, 2014 at 6:39 PM, Talley, Kenneth <Ke...@emc.com>
wrote:

> Thanks for the quick reply Martin, I'm running in OSX:
>
> mvn --version
> Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e;
> 2014-06-17T07:51:42-06:00)
>
>
> kwt
>
> ________________________________________
> From: Martin Todorov [carlspring@gmail.com]
> Sent: Thursday, August 28, 2014 11:30 AM
> To: Maven Developers List
> Subject: Re: maven indexer examples issue
>
> Hi Kenneth,
>
> What version of Maven are you trying to build this with? It's building fine
> for me with Maven 3.2.1.
>
> Kind regards,
>
> Martin
>
>
>
>
>
> On Thu, Aug 28, 2014 at 6:24 PM, Talley, Kenneth <Ke...@emc.com>
> wrote:
>
> > Hey all,
> >
> > I'm new to plexus and sisu so forgive me if this is a little newbish.
> > Basically, I'm trying to learn how to use maven indexer and just running
> > the BasicUsageExamplerTest throws:
> >
> >
> org.codehaus.plexus.component.repository.exception.ComponentLookupException:
> > java.util.NoSuchElementException
> >       role: org.apache.maven.index.Indexer
> >   roleHint:
> > at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:141)
> > at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:1)
> > at
> >
> org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76)
> > at
> >
> org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1)
> > at
> >
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:262)
> > at
> >
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:254)
> > at
> >
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:248)
> > at
> >
> org.apache.maven.indexer.examples.BasicUsageExample.<init>(BasicUsageExample.java:107)
> > at
> >
> org.apache.maven.indexer.examples.BasicUsageExample.main(BasicUsageExample.java:80)
> > at
> >
> org.apache.maven.indexer.examples.BasicUsageExampleTest.testApp(BasicUsageExampleTest.java:30)
> >
> >
> > Anyone else see this or am I missing something?
> >
> >
> > kwt
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

RE: maven indexer examples issue

Posted by "Talley, Kenneth" <Ke...@emc.com>.
Thanks for the quick reply Martin, I'm running in OSX:

mvn --version
Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e; 2014-06-17T07:51:42-06:00)


kwt

________________________________________
From: Martin Todorov [carlspring@gmail.com]
Sent: Thursday, August 28, 2014 11:30 AM
To: Maven Developers List
Subject: Re: maven indexer examples issue

Hi Kenneth,

What version of Maven are you trying to build this with? It's building fine
for me with Maven 3.2.1.

Kind regards,

Martin





On Thu, Aug 28, 2014 at 6:24 PM, Talley, Kenneth <Ke...@emc.com>
wrote:

> Hey all,
>
> I'm new to plexus and sisu so forgive me if this is a little newbish.
> Basically, I'm trying to learn how to use maven indexer and just running
> the BasicUsageExamplerTest throws:
>
> org.codehaus.plexus.component.repository.exception.ComponentLookupException:
> java.util.NoSuchElementException
>       role: org.apache.maven.index.Indexer
>   roleHint:
> at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:141)
> at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:1)
> at
> org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76)
> at
> org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1)
> at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:262)
> at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:254)
> at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:248)
> at
> org.apache.maven.indexer.examples.BasicUsageExample.<init>(BasicUsageExample.java:107)
> at
> org.apache.maven.indexer.examples.BasicUsageExample.main(BasicUsageExample.java:80)
> at
> org.apache.maven.indexer.examples.BasicUsageExampleTest.testApp(BasicUsageExampleTest.java:30)
>
>
> Anyone else see this or am I missing something?
>
>
> kwt
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven indexer examples issue

Posted by Martin Todorov <ca...@gmail.com>.
Hi Kenneth,

What version of Maven are you trying to build this with? It's building fine
for me with Maven 3.2.1.

Kind regards,

Martin





On Thu, Aug 28, 2014 at 6:24 PM, Talley, Kenneth <Ke...@emc.com>
wrote:

> Hey all,
>
> I'm new to plexus and sisu so forgive me if this is a little newbish.
> Basically, I'm trying to learn how to use maven indexer and just running
> the BasicUsageExamplerTest throws:
>
> org.codehaus.plexus.component.repository.exception.ComponentLookupException:
> java.util.NoSuchElementException
>       role: org.apache.maven.index.Indexer
>   roleHint:
> at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:141)
> at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:1)
> at
> org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76)
> at
> org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1)
> at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:262)
> at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:254)
> at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:248)
> at
> org.apache.maven.indexer.examples.BasicUsageExample.<init>(BasicUsageExample.java:107)
> at
> org.apache.maven.indexer.examples.BasicUsageExample.main(BasicUsageExample.java:80)
> at
> org.apache.maven.indexer.examples.BasicUsageExampleTest.testApp(BasicUsageExampleTest.java:30)
>
>
> Anyone else see this or am I missing something?
>
>
> kwt
>