Github user lewismc commented on the issue: https://github.com/apache/any23/pull/56 Hi @HansBrende your suggestion fixed the code so I have pushed for further review. @ansell thank you for the suggestions I think you are absolutely right... I've posted a [question](https://lists.apache.org/thread.html/3dfa2a8fbe170efc88274b639ce0b1032d838046c1c20a361195c330@%3Cusers.maven.apache.org%3E) on users@maven along with my [followup](https://lists.apache.org/thread.html/4ce2d66fe7fff8794f2a08b0c8b3450a1bcbdcb1e40214ab1d1c5059@%3Cusers.maven.apache.org%3E) so hopefully I can keep the service pom clean by obtaining the correct solution. I'll post here once I know. Thanks all.