Use a profile and activate that profile when doing releases.

On Aug 19, 2010, at 9:12 AM, "Ludwig Magnusson" <lud...@itcatapult.com> wrote:

> Hi!
> 
> When our application is being built sources are generated during the
> generate-sources phase. The torque generator that generates our code has a
> maven plugin that we use for this. That plugin has an option, you can let
> the generated classes cache their data or not. I would like them _not_ to
> cache the data in the development environment, and I would like them to
> cache the data in the production environment.
> 
> 
> 
> Is there any way to change this parameter based on whether I run mvn compile
> or mvn deploy? Or is there any other way to solve the problem?
> 
> /Ludwig
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to