Hi!
I have a M2 project where we utilize two template files. Ie., two copy statements is necessary before the project will build:

cp log4j.properterties.tmpl log4j.properties
cp profiles.xml.tmpl profiles.xml


As far as I have learned, the "good" solution is to not use .tmpl and just put the files in subversion. We don't want this solution, because the developers sometimes (too often) commit their modified versions by accident.


Is it possible to do a

if (!filesExist) {
  cp log4j.properterties.tmpl log4j.properties
  cp profiles.xml.tmpl profiles.xml
}

from a maven-plugin?

Please recommend plugin(s) that support this kind of functionality.


My goal is to again allow the project to build successfully directly from a svn-checkout.

--
Kind regards,
Erik Drolshammer

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

Reply via email to