Openhab2 Maven Archetype to implement one action

Tags: #<Tag:0x00007efec314dc78> #<Tag:0x00007efec314dac0>

Hi!
The latest documentation I found to implement one action is from OH1. This documentation is still valid for OH2? If not where I can find the documentation and the corresponding maven archetype to generate one new action?
Regards,