Re: [mojo-user] exec-maven-plugin multiple exec configurations

2006-03-12 Thread Andreas Wüst
thanks Kaare, using the profiles did work. regards, Andy > Ok.. > The configuration that was posted is a configuration that would start > in the package phase by e.g. typing mvn package. > If you would like to have the plugin configured for use in the > commandline you do not need to specify the

Re: [mojo-user] exec-maven-plugin multiple exec configurations

2006-03-12 Thread Kaare Nilsen
Ok.. The configuration that was posted is a configuration that would start in the package phase by e.g. typing mvn package. If you would like to have the plugin configured for use in the commandline you do not need to specify the tag in the plugin configuration. Then to have 2 different setups for

Re: [mojo-user] exec-maven-plugin multiple exec configurations

2006-03-12 Thread Andreas Wüst
Hello Kaare, thanks for your reply. unfortunately it does not work. i am getting the following error. for some reason the plugin seems to expect, the configuration tag outside the execution tag, which means that there can only be one configuration tag. any more ideas. by the way. how to i prope

Re: [mojo-user] exec-maven-plugin multiple exec configurations

2006-03-12 Thread Kaare Nilsen
Hi.. you'r almost there ;) So what you could do is : org.codehaus.mojo exec-maven-plugin testserver package exec java -classpath