That's ugly!

If one can't override properties then for example testing against different
databases from an automated build system is a real pain. So first one needs
to create profiles for all supported databases to be able to retrieve the
jdbc driver. Then how many additional profiles for all combinations one
needs? And then for developers' local runs?

Please, anybody aware how to override pom properties?


Wayne Fay wrote:
> 
> You should put the properties in different profiles, and then specify
> which profile using -Penv1 when running Maven.
> 
> Wayne
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-override-POM-properties-from-CLI-tp15344487s177p15605671.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to