Am 23.08.2012 14:56, schrieb Pascal Rapicault: > Hi, > > I would like to know if there is a way to have a plugin be executed > right at the end of the build no matter what. The situation I have is > as follow. Early on in the build I rename a file from a.txt.off to > a.txt and at the end I rename it back such that no problems are being > caused for subsequent builds. This works great when the module build > is executed in its entirety, however when it fails part way through, > then the file is not renamed and subsequent build fails. Therefore my > question, is there a way to enforce the execution of a plugin no > matter what.
Hi, ensure that you REALLY want to change files in your "src" folder during maven build. This looks like a bad practice. Always "do things" in the target folder. It is there to provide clean builds. regards, Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
