Hi guys, First, thanks for a great plugin in 'tomcat-maven-plugin': being able to declaratively start and stop a tomcat server is awesome!
I have hit a snag with porting my integration tests over from Ant: I need to be able to set -Duser.timezone=GMT on my VM. How can I do this within tomcat-maven-plugin? I tried using <systemProperties> but to no avail? Here is what I tried: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <version>1.1</version> <configuration> <fork>true</fork> <port>8081</port> <warFile>target/${finalName}.war</warFile> <systemProperties> <user.timezone>GMT</user.timezone> <user.region>US</user.region> </systemProperties> </configuration> <executions> <execution> <id>start-tomcat</id> <phase>pre-integration-test</phase> <goals> <goal>run-war</goal> </goals> </execution> </executions> </plugin> Regards, Richard. -- View this message in context: http://old.nabble.com/How-to-set-user.timezone-within-tomcat-maven-plugin-tp31024393p31024393.html Sent from the mojo - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email