Comment 2 for bug 1664179

Joshua Powers (powersj) wrote :

Thanks for the bug report.

# Steps to reproduce
I am kind of a novice when it comes to maven and what we have in Ubuntu, so my apologies if I miss something obvious here. In a Xenial LXD container I ran the following:

> apt install maven-debian-helper libmaven-dependency-plugin-java libservlet3.0-java
> wget <your pom.xml>
> mvn-deiban -q generate-sources -X

It failed as expected with the your error message. After looking at your suggestion if I modified:
to point at 3.0 and not 2.2 and your build worked.

# Source
The source for that file is contained in debian/javaxpoms/jsp-api.pom and if you pull the Ubuntu source you will find that the version is set to "<version>@MAVEN.DEPLOY.VERSION@</version>". Well in debian/rules there is a stanza for setting it:

perl -p -i -e 's/\@MAVEN.DEPLOY.VERSION\@/2.2/' \

I believe you would then propose we change 2.2 to 3.0?