[smartweb-devel] [Maven-plugin] - Improve the maintenance using velocity directive
Brought to you by:
rlogiacco
From: Pino C. <gco...@gm...> - 2009-06-04 17:08:00
|
Hi, I suggest the use of velocity directive and macros for a easy customization and to improve the maintenance of maven plugin templates. I am personally providing change java template (action.vm,domain.vm and so on ) . Here an example : #set ($V_CLASS_NAME = $class.name) #set ($V_INSTANCE = $class.instance) #set ($V_CLASS_PROPS = $class.properties) In this way ..if i want to introduce a suffix or prefix as new convention we have to change only right hand side ...and not the full document. -- View this message in context: http://www.nabble.com/-Maven-plugin----Improve-the-maintenance-using-velocity-directive-tp23874118s17546p23874118.html Sent from the SmartWeb Developers mailing list archive at Nabble.com. |