Right, scalatest-maven-plugin is not aware of Maven toolchains.
I've created https://github.com/scalatest/scalatest-maven-plugin/issues/58

On Tue, Nov 13, 2018 at 7:34 AM Maxim Solodovnik <[email protected]>
wrote:

> Thanks a lot Martin!
>
> Travis build is green :)
>
> The only issue I see right now is when java8 is default java/javac in the
> system
> The following error is being reported:
>
> [INFO] --- scalatest-maven-plugin:2.0.0:test (test) @ wicketstuff-scala ---
> Discovery starting.
> *** RUN ABORTED ***
>   java.lang.UnsupportedClassVersionError:
> org/apache/wicket/ajax/markup/html/AjaxFallbackLink has been compiled by a
> more recent version of the Java Runtime (class file version 55.0), this
> version of the Java Runtime only recognizes class file versions up to 52.0
>   at java.lang.ClassLoader.defineClass1(Native Method)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
>   at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>
>
> [INFO] Wicket-Scala ....................................... FAILURE [
> 24.956 s]
>
>
> It seems toolchain plugin doesn't work as expected for some reason :(
>
> On Mon, 12 Nov 2018 at 02:59, Martin Grigorov <[email protected]>
> wrote:
>
> > Fixed it!
> >
> > On Sun, Nov 11, 2018 at 9:18 PM Martin Grigorov <[email protected]>
> > wrote:
> >
> > > Hi Maxim,
> > >
> > > I will take a look!
> > >
> > > On Sun, Nov 11, 2018 at 7:03 PM Maxim Solodovnik <[email protected]
> >
> > > wrote:
> > >
> > >> Hello,
> > >>
> > >> I have updated wicketstuff master to junit5
> > >> Unfortunately I was unable to migrate scalatests
> > >> Can someone take a look at them?
> > >>
> > >> --
> > >> WBR
> > >> Maxim aka solomax
> > >>
> > >
> >
>
>
> --
> WBR
> Maxim aka solomax
>

Reply via email to