I found this documentation related to profiles --
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
and it was very helpful.  It left me with one lingering question.

If someone doesn't specify "-Denv=" in the build command, how can you warn
them that they must include this parameter rather than the build "failing
spectacularly".

Thanks, - 



Wayne Fay wrote:
> 
>> Any ideas how I can adjust the build process based on a command line
>> parameter?  Thanks, - Dave
> 
> The answer to this question is always Use Profiles. They are well
> documented in various places.
> 
> Wayne
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Building-using-different-files-based-on-a-build-flag--tp26634795p26635918.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to