update: CDI tests somehow fails for both OpenJDK and OracleJDK - something weird :(
On Wed, 21 Nov 2018 at 18:45, Maxim Solodovnik <[email protected]> wrote: > Hello All, > > just have tried the following: > 0) set default JDK to be OpenJDK-8 (latest on Ubuntu 16) > 1) checkout branch 8.x > 2) mvn clean install > Result: build fails > > 3) Changed maven.surefire.version to be 3.0.0-M1 > 4) mvn clean install > Result: success > > I propose to update surefire version :) > > > On Wed, 21 Nov 2018 at 00:59, Martin Grigorov <[email protected]> > wrote: > >> >> https://github.com/brix-cms/brix-cms/pull/229/files#diff-600376dffeb79835ede4a0b285078036R549 >> >> On Tue, Nov 13, 2018 at 5:15 AM Maxim Solodovnik <[email protected]> >> wrote: >> >> > Hello Andrea, >> > >> > Accepted answer at StackOverflow states "supposedly fixed in surefire >> > 3.0.0-M1 <https://issues.apache.org/jira/browse/SUREFIRE-1588>" >> > According to https://maven.apache.org/surefire/maven-surefire-plugin/ >> > 3.0.0-M1 is already released >> > >> > So the fix should be as simple as >> > -- <maven.surefire.version>2.20</maven.surefire.version> >> > ++ <maven.surefire.version>3.0.0-M1</maven.surefire.version> >> > >> > in main pom :) >> > >> > BTW I see no issues with my builds, maybe because I'm using Oracle >> > jdk 1.8.0_191 >> > >> > I can check pom and update all plugins to most recent version :) >> > >> > On Tue, 13 Nov 2018 at 01:54, Andrea Del Bene <[email protected]> >> > wrote: >> > >> > > Have you any suggestion for an alternative plugin? >> > > >> > > On 11/11/18 05:55, Maxim Solodovnik wrote: >> > > > Time to switch to new, fixed surefire plugin? >> > > > >> > > > WBR, Maxim >> > > > (from mobile, sorry for the typos) >> > > > >> > > > On Sun, Nov 11, 2018, 02:30 Tobias Soloschenko >> > > > <[email protected] wrote: >> > > > >> > > >> Thanks for sharing! >> > > >> >> > > >> kind regards >> > > >> >> > > >> Tobias >> > > >> >> > > >>> Am 10.11.2018 um 17:10 schrieb Andrea Del Bene < >> [email protected] >> > >: >> > > >>> >> > > >>> FYI: there's a nasty bug with the last Java 8 version and the >> > Surefire >> > > >> plugin. Here you can find more info and a workaround: >> > > >>> https://stackoverflow.com/a/53016532/1676516 >> > > >>> >> > > >> > >> > >> > -- >> > WBR >> > Maxim aka solomax >> > >> > > > -- > WBR > Maxim aka solomax > -- WBR Maxim aka solomax
