Re: Change from development to deployment mode in maven2

2010-07-20 Thread Gustavo Henrique
Hi! Now it is ok! // web.xml context-param param-nameconfiguration/param-name param-valuedevelopment/param-value /context-param // add plugin in pom.xml plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId executions execution

Change from development to deployment mode in maven2

2010-07-19 Thread Gustavo Henrique
Hi! I'm using wicket in development mode but I need to change to deployment mode when maven is called. How I configure maven to change that mode when it is to generate war file? thanks!

Re: Change from development to deployment mode in maven2

2010-07-19 Thread Major Péter
Hi, you could configure the wicket.configuration with JVM properties too, so you can have always enabled the production mode in web.xml, and override it with your dev server JVM property. See the JavaDoc for Application#getConfigurationType. Regards, Peter 2010-07-19 19:10 keltezéssel, Gustavo

Re: Change from development to deployment mode in maven2

2010-07-19 Thread Brian Topping
Setting the JVM property is great because you can do it on your deployment server, so the same WAR runs in debug mode on all but the deployment machines. If you want Maven to fix the setting on a build, you can create a properties file: wicket.configuration = ${deploy.type} Then create one