Is httpunit a test dependency or not? If it is, then there's no issue.
Just ensure to run Maven with Java 8 and use animal-sniffer to verify if
the main code is still Java 7 compatible.
If we push this to Java 8, we must make it clear on the maven-site-plugin
docs that you need to run Maven with Java 8 to create HTML5 pages.
thanks,
Robert
On Mon, 14 May 2018 11:07:39 +0200, Graham Leggett <[email protected]>
wrote:
Hi all,
I would like to clarify what the policy is on maven-doxia and the maven
project in general, and minimum java versions.
With the XHTML5 work on Doxia, I have managed to keep all changes
without a requirement to upgrade any dependencies, until I got to
maven-doxia-sitetools and httpunit, which doesn’t understand any HTML5
tags. My current workaround is to simply test that HTML5 tags are
present, but ignore their type, and this seems good enough for now - no
httpunit upgrade needed.
Upgrading httpunit to a version that supports HTML5 and doesn’t suffer
from bug https://sourceforge.net/p/htmlunit/bugs/1961/ means a minimum
java version of v1.8.
What is the policy on java versions in maven-doxia? Is it intentionally
kept behind the curve so old code can be built, or is it acceptable to
make java 1.8 a minimum version?
Regards,
Graham
—
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]