Michael (W),
Sounds easy, but it's not.
The problem here is to fully integrate with the Maven release process. Of course, I could generate an artifact like a .jar with the correct structure and rename it to .bar locally for internal or develop use, but this is not the solution when you want to share this artifact automatically in a Maven repository.
As far as I been searching the Michal (M) propousal for developing a Maven plugin for doing the trick is the best aproach. Sadly, I have no experience at all developing Maven plugins, could you guide me?