maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Delaney <mdela...@upromise.com>
Subject Re: Maven Embedder 2.0.4 examples
Date Thu, 10 Jun 2010 00:58:16 GMT
Ah okay. Thanks. I'll take a look.

On 6/9/2010 8:41 PM, Jason van Zyl wrote:
> The embedder was phased out of the 2.x line years ago and is not supported. The only
known client is Hudson. You might want to look in the Hudson source for examples.
>
> On Jun 9, 2010, at 5:39 PM, Michael Delaney wrote:
>
>    
>> Anyone?
>>
>> On 6/8/2010 10:05 AM, Michael Delaney wrote:
>>      
>>> All,
>>>
>>> I'm trying to get Maven Embedder 2.0.4 working but I can't seem to get
>>> around the error:
>>>
>>> org.apache.maven.embedder.MavenEmbedderException: Cannot lookup required
>>> component.
>>>           at
>>> org.apache.maven.embedder.MavenEmbedder.start(MavenEmbedder.java:686)
>>>           at
>>> com.upromise.utils.maven.ArtifactResolver.resolve(ArtifactResolver.java:52)
>>> Caused by:
>>> org.codehaus.plexus.component.repository.exception.ComponentLookupException:
>>> Component descriptor cannot be found in the component repository:
>>> org.apache.maven.project.MavenProjectBuilder.
>>>           at
>>> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:323)
>>>           at org.codehaus.plexus.embed.Embedder.lookup(Embedder.java:78)
>>>           at
>>> org.apache.maven.embedder.MavenEmbedder.start(MavenEmbedder.java:625)
>>>           ... 4 more
>>> Exception in thread "main" java.lang.NullPointerException
>>>           at
>>> com.upromise.utils.maven.ArtifactResolver.resolve(ArtifactResolver.java:77)
>>>           at
>>> com.upromise.utils.maven.ArtifactResolver.resolve(ArtifactResolver.java:35)
>>>
>>>
>>> Anyone have any ideas how I can get this working?
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>
>>      
> Thanks,
>
> Jason
>
> ----------------------------------------------------------
> Jason van Zyl
> Founder,  Apache Maven
> http://twitter.com/jvanzyl
> ---------------------------------------------------------
>
> What matters is not ideas, but the people who have them. Good people can fix bad ideas,
but good ideas can't save bad people.
>
>   -- Paul Graham
>
>
>
>
>    

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


Mime
View raw message