Re: Maven Doxia and minimum Java versions

2018-05-20 Thread Michael Osipov
Am 2018-05-19 um 09:08 schrieb Sylwester Lachiewicz: Hi, i checked doxia-sitetools code and looks it will be possible to replace httpunit with JSoup. We already use Jsoup in other places and only require Java 7. This sounds really promising. I love JSoup, used it already several times. How

Re: Maven Doxia and minimum Java versions

2018-05-19 Thread Sylwester Lachiewicz
Hi, i checked doxia-sitetools code and looks it will be possible to replace httpunit with JSoup. We already use Jsoup in other places and only require Java 7. Sylwester wt., 15 maj 2018 o 23:09 użytkownik Hervé BOUTEMY napisał: > I'm maintaining Doxia and

Re: Maven Doxia and minimum Java versions

2018-05-16 Thread Robert Scholte
Newer JDKs? The new release argument of the java compiler was inspired by Animal Sniffer. With JDK 9+ there's no reason to use Animal Sniffer, just use the release option and you should be good. In fact, if you want to make signatures for Java9+, you should make one per module, and that's

Re: Maven Doxia and minimum Java versions

2018-05-16 Thread Chas Honton
Answering my own question; it appears that you can use the animal sniffer plugin (https://www.mojohaus.org/animal-sniffer/animal-sniffer-maven-plugin/examples/generating-java-signatures.html) Chas > On May 16, 2018, at 7:21 AM, Chas Honton wrote: > > Use “enforce byte code

Re: Maven Doxia and minimum Java versions

2018-05-16 Thread Chas Honton
Use “enforce byte code version” rule: http://www.mojohaus.org/extra-enforcer-rules/enforceBytecodeVersion.html. You can set ignoreScopes to test. Anyone know how to validate newer jdk methods are not used? Chas > On May 16, 2018, at 7:08 AM, Graham Leggett wrote: > >> On

Re: Maven Doxia and minimum Java versions

2018-05-16 Thread Graham Leggett
On 15 May 2018, at 11:08 PM, Hervé BOUTEMY wrote: > I'm maintaining Doxia and maven-site-plugin for a long time, trying to keep > the prerequisites (for end users particularly) as low as possible when I > don't > have a strong win on upgrading. +1 - my feeling too. >

Re: Maven Doxia and minimum Java versions

2018-05-15 Thread Hervé BOUTEMY
Le mercredi 16 mai 2018, 00:06:43 CEST Gary Gregory a écrit : > From a user's POV, what I care ATM is being able to build sites with Java 9 > so I can create searchable Javadoc pages... I like this idea IMHO, requiring higher Java version to build components is not an issue: what is important is

Re: Maven Doxia and minimum Java versions

2018-05-15 Thread Gary Gregory
>From a user's POV, what I care ATM is being able to build sites with Java 9 so I can create searchable Javadoc pages... Gary On Tue, May 15, 2018 at 3:08 PM, Hervé BOUTEMY wrote: > I'm maintaining Doxia and maven-site-plugin for a long time, trying to > keep > the

Re: Maven Doxia and minimum Java versions

2018-05-15 Thread Hervé BOUTEMY
I'm maintaining Doxia and maven-site-plugin for a long time, trying to keep the prerequisites (for end users particularly) as low as possible when I don't have a strong win on upgrading. Currently, maven-site-plugin (which is what users see, without knowing much about Doxia) requires Java 6

Re: Maven Doxia and minimum Java versions

2018-05-15 Thread Michael Osipov
Am 2018-05-14 um 11:07 schrieb Graham Leggett: 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,

Re: Maven Doxia and minimum Java versions

2018-05-15 Thread Michael Osipov
Am 2018-05-14 um 13:46 schrieb Stephen Connolly: Currently Maven core is 1.7 minimum... I'd like to bump that to 1.8... but that's another story By bumping I would require someone to make use of Java 8 features. Otherwise it is a useless contraint for everyone out there. On 14 May 2018 at

Re: Maven Doxia and minimum Java versions

2018-05-14 Thread Robert Scholte
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

Re: Maven Doxia and minimum Java versions

2018-05-14 Thread Karl Heinz Marbaise
Hi, On 14/05/18 13:46, Stephen Connolly wrote: Currently Maven core is 1.7 minimum... I'd like to bump that to 1.8... but that's another story +1 from me for Maven Core to 1.8... Kind regards Karl Heinz Marbaise On 14 May 2018 at 10:07, Graham Leggett wrote: Hi all,

Re: Maven Doxia and minimum Java versions

2018-05-14 Thread Stephen Connolly
Currently Maven core is 1.7 minimum... I'd like to bump that to 1.8... but that's another story On 14 May 2018 at 10:07, Graham Leggett wrote: > Hi all, > > I would like to clarify what the policy is on maven-doxia and the maven > project in general, and minimum java

Maven Doxia and minimum Java versions

2018-05-14 Thread Graham Leggett
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