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:
/usr/share/maven-repo/javax/servlet/jsp/jsp-api/2.2/jsp-api.2.2.pom
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/'      \
              debian/javaxpoms/jsp-api.pom              


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




** Changed in: tomcat7 (Ubuntu)
       Status: New => Incomplete

** Changed in: tomcat7 (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1664179

Title:
  Wrong POM dependency in javax.servlet.jsp:jsp-api:2.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat7/+bug/1664179/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to