Hi, I was hoping for some thoughts from the community about the reasons behind 
why one might want to filter at build time versus at deploy time.

Traditionally, our organization built one artifact from version control that 
still contained property placeholders.  We would filter those artifacts at 
deploy time, so that the artifact was completed as it deployed to the target 
environment.  This was seen as beneficial as we only had to build our artifact 
once, and then we can deploy that same artifact multiple times.

It appears as though maven prefers to filter at build time, and create a 
different artifact per environment.  What are the benefits of this methodology? 
 It looks like you would have to do multiple builds (to produce an 
environment-specific artifact), where before, we could only build a filterable 
artifact once.

Thanks



      

Reply via email to