Hi Franz,

If I only add the embedder, i get a long list of NoClassDefFoundError,
which goes away only when I counter balance by an equally long list of
included jars.  The very first error I get is this:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/codehaus/plexus/util/xml/pull/XmlPullParserException
        at org.dembel.maven.MavenUtils.createEmbedder(MavenUtils.java:53)
        at Main.main(Main.java:14)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)

Where MavenUtils.createEmbedder() looks like this:

  public static MavenEmbedder createEmbedder() {
     MavenEmbedder embedder = new MavenEmbedder();
     return embedder;
  }


thanks
Dmitry


On 2/11/07, franz see <[EMAIL PROTECTED]> wrote:

Good day to you, Dmitry,

AFAIK, It should be enough to add the maven-embedder artifact to your pom's
dependencies for it to run. Why, what error are you getting?

Cheers,
Franz


Dmitry Beransky-3 wrote:
>
> Hi,
>
> I'm not sure if this message is more appropriate here or on the dev
> list.  Please advise for future messages.
>
> What other maven run-time libraries do I need in order to use the
> embedder?
>
>
> Thanks
> Dmitry
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

--
View this message in context: 
http://www.nabble.com/maven-embedder-tf3209782s177.html#a8917783
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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]

Reply via email to