Gavin Mogan, Thanks for the quick response :)
Are you referring to maven.compiler.target property? If so i've set it to
1.8 but still, I get the same error

Thanks,
Tzach

On Sun, Jul 26, 2020 at 8:32 PM 'Gavin Mogan' via Jenkins Developers <
[email protected]> wrote:

> Update your plugin to use jdk 8. The default pom let's you set that by
> using a java.level property
>
> Recommended just updating the base plugin pom which does most things for
> you.
>
> On Sun., Jul. 26, 2020, 10:24 a.m. [email protected], <
> [email protected]> wrote:
>
>> Hi All,
>>
>> According to GitHub Advisory Database, I should update
>> *net.sourceforge.htmlunit* to at least* 2.37.0* in order to fix
>> *CVE-2020-5529*.
>>
>> My problem is once I do that and run mvn compile, maven enforcer blocks
>> due to:
>>
>> *[INFO] Restricted to JDK 1.7 yet
>> net.sourceforge.htmlunit:neko-htmlunit:jar:2.42.0:compile contains
>> net/sourceforge/htmlunit/cyberneko/filters/DefaultFilter.class targeted to
>> JDK 1.8*
>> Should I fix the security issue? If so, how should I proceed?
>>
>> Thanks,
>> Tzach
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-dev/f5938e1c-77c3-4852-a7fd-5712771a016an%40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-dev/f5938e1c-77c3-4852-a7fd-5712771a016an%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_DuvicoasLWB8HLRUmOcSbEk8CmK6SHrn6%2B_u21_3iZUiPQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_DuvicoasLWB8HLRUmOcSbEk8CmK6SHrn6%2B_u21_3iZUiPQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAC19wgLr%2B2Tz0HH_bk2t2fE6OoX%3Dia89-722L5270n4rdJ8p6g%40mail.gmail.com.

Reply via email to