Re: scope management without losing granularity

2011-10-29 Thread Ron Wheeler
Your example is a little complicated and not exactly expressed in Maven terms but I can respond to a bit of what you wrote. In general, you might want to start with what you are trying to build. Maven is used by thousands on people to build many different types of applications. Maven

How to execute the maven-deploy-plugin:deploy-file from within a Java program

2011-10-29 Thread Mirko Friedenhagen
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.

RE: How to execute the maven-deploy-plugin:deploy-file from within a Java program

2011-10-29 Thread Robert Scholte
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:

Re: scope management without losing granularity

2011-10-29 Thread Barrie Treloar
On Sun, Oct 30, 2011 at 4:50 AM, Ron Wheeler rwhee...@artifact-software.com wrote: If you want to continue the conversation, you should maybe tell everyone a bit about what you are trying to build and why your application structure has to be so different from everyone else building the same

Re: How to execute the maven-deploy-plugin:deploy-file from within a Java program

2011-10-29 Thread Mirko Friedenhagen
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