actually netbeans is also using a summer 2008 2.1-SNAPSHOT (heavily patched)
Milos On Thu, Jun 10, 2010 at 2:41 AM, Jason van Zyl <[email protected]> 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: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > 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 > > > >
