Thanks, that was very helpful :-). Regards Mirko On Sat, Oct 29, 2011 at 22:10, Robert Scholte <rfscho...@codehaus.org> wrote: > > Sounds like you want the Maven Invoker: > > http://maven.apache.org/shared/maven-invoker/ > > > > -Robert > > > > ---------------------------------------- >> Date: Sat, 29 Oct 2011 22:05:58 +0200 >> Subject: How to execute the maven-deploy-plugin:deploy-file from within a >> Java program >> From: mfriedenha...@gmail.com >> To: users@maven.apache.org >> >> Hello, >> >> I want to execute deploy:deploy-file from within a Java program. While >> I know I could try to go way of using ProcessBuilder I want to have a >> bit more control over the process and be able to easily catch any >> errors during invocation. maven-embedder seems not to be the way to go >> here. >> >> Regards Mirko >> -- >> http://illegalstateexception.blogspot.com/ >> https://github.com/mfriedenhagen/ >> https://bitbucket.org/mfriedenhagen/ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org