How to run from maven CLI to mimick running from deployment

2008-01-29 Thread shep
Sorry for long post, but have not solved this in last week. We are using Netbeans 6 with maven. We have converted our ant based project over to a maven project with multiple modules. We have created an assemble that will create the following deployment structure: config filea.cfg fileb.cf

Re: running a specific plugin only while deploying ; running multiple times a same plugin while varying its parameters

2008-01-28 Thread shep
I try this and I get the following: One or more required plugin parameters are invalid/missing for 'exec:exec' [0] Inside the definition for plugin 'exec-maven-plugin' specify the following: ... VALUE -OR- on the command line, specify: '-Dexec.executable=VALUE'

Howw do you specifically set classpath using exec:java plugin

2008-01-28 Thread shep
I have a multiple module project. Most of the modules package as a jar. I am trying to run a class using the exec plugin. Here is the command I use (note it is configured using netbens6) Executing:C:\Apps\apache-maven-2.0.8\bin\mvn.bat -Dexec.args=full -classpath -Dexec.mainClass=com.ngc.casper.p