I did actually look at profiles, but I did not find how to activate them on
different kind of goals. 
The documentation covers how to activate on jdk, os, properties and present
files.

-----Original Message-----
From: Justin Edelson [mailto:justinedel...@gmail.com] 
Sent: den 19 augusti 2010 15:14
To: Maven Users List
Subject: Re: Different settings for compile/deploy?

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


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

Reply via email to