generate pom from gem in case we have gem with java platform so
the jar dependencies are translated as dependency inside the pom.

fixes https://github.com/torquebox/rubygems-servlets/issues/7
Merge pull request #825 from mkristian/gem-with-jar-dependencies

generate pom from gem in case we have gem with java platform