http://developer-blog.cloudbees.com/2012/11/maven-profiles-and-maven-way.html

Please don't do maven the way you are doing it

On Friday, 21 December 2012, Niranjan Rao wrote:

> Greetings,
>
> We have bunch of profiles and corresponding resource filtering which all
> works great. One frequent problem that we encounter team members often
> forget to add new values in profile/filter property file of other profiles
> than the one they are currently using. Naturally results are disastrous.
>  Normally we can find quickly which property is not filtered correctly and
> fix it but this is tedious.
>
> I am wondering if there is any way to catch missing properties at build
> time. That is when maven sees a property definition during filtering phase
> which has variable declaration and could not locate the value, can it raise
> the error and let the build fail?
>
> Thanks,
>
> Niranjan
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to