On 30/01/07, Milos Kleint <[EMAIL PROTECTED]> wrote:
google for maven embedder.
Milos
On 1/30/07, Petar Tahchiev <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> Is there a way to instantiate a maven project process in the in my java
> program? I mean is it possible to do something like this:
>
>
>
> public static void main(String[] args) {
>
> MavenProject mavenProject = new MavenProject(new Model());
>
> ProjectExecutor executor = new ProjectExecutor();
>
> executor.execute(mavenProject); //this is supposed to start in a
> separate thread.
> }
>
>
> Of course I know there's no such thing as the ProjectExecutor, what I am
> asking is - what is the way to execute a MavenProject object in
> my code?
>
> Thank you.
>
>
>
>
> --
> Regards, Petar!
> Karlovo, Bulgaria.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thenk you gyus. I think this is what I am looking for:
http://maven.apache.org/guides/mini/guide-embedding-m2.html
Also I will try with the plexus classloader.
--
Regards, Petar!
Karlovo, Bulgaria.