Not a problem, you can turn that switch on at any time on the maven command
line, or in a profile (which also would likely require a command line
switch). 
If you're a true test user, you can likely turn that on for only your unit
tests and/or set up an execution for surefire so the test are run in another
phase (disclaimer: I've never tried to set up executions for surefire, I
assume it can be done).

Example:
# mvn -P WICKETTEST test
# mvn -Dwicket.configuration=deployment test

- Brill
 

-----Original Message-----
From: Nino Saturnino Martinez Vazquez Wael [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 02, 2008 4:36 AM
To: [email protected]
Subject: Re: maven deployment..?



Brill Pappin wrote:
> Because deployment happens to a staging or production server, I simply 
> set the jvm startup params with  -Dwicket.configuration=deployment.
>
>   
It's also a possibility, i'll certainly ease of maven config a bit.

> I also have a small block in my Application instance that turns params 
> on and off depending on the mode as well, so for instance I can have 
> tags stripped etc. in production.
>   
I've done this too once, however I like to test it with same properties as
in production.

> So, I simply deploy the war as needed and the correct env is set up.
>
> I like this way of doing it because I hate having a *different* 
> deployable depending on how some filter modified my metadata.
>
> - Brill
>
> -----Original Message-----
> From: Nino Saturnino Martinez Vazquez Wael 
> [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 30, 2008 10:43 AM
> To: [email protected]
> Subject: maven deployment..?
>
> Hi
>
> I use cargo, to deploy to tomcat and I would really like to 
> automatically deploy wicket in deploy and not development. So what do 
> you guys do..? Have different profiles that include different web.xml or?
>
> --
> -Wicket for love
>
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>   

--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to