Simple project of Widget / Add-on in maven example?

Hi,

I’m developing an add-on which uses widgets and can’t find anywhere an example of simplest Maven structure with pom.xml. Could you provide an sample project which creates a proper jar which should be then just added to main project’s pom?

Is recompilation of my add-on required while triggering goals ‘clean install’ on main project or on a add-on project as well?

Best regards
denu

Take a look of this project:
https://github.com/jojule/CrmDemo
. It has multiple modules to maintain a separate widgetset artifact.