This is an excellent idea, thank you for the patch! Maybe the plugin could even generate the debian/<pkg>.poms file if it doesn't exist so it can be picked up by maven-repo-helper at the install phase.
The code looks good to me, modulo some style mismatches (2 spaces indent vs 4 spaces and imports ordering). I would also suggest removing the generated .pom files automatically during the clean phase. Emmanuel Bourg __ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use [email protected] for discussions and questions.

