Yes, the default restrictions define the minimal version. If you need the
plugin to compile on Java 7 only, you would have to define the enforcer
rules explicitly. BTW, it definitely makes sense to fix the Java 8 build
flow then. Jenkins is going to deprecate Java 7 soon, and it may become an
issue if your plugin is being tested within the Plugin Compatibility Tester
test suite.

2017-03-27 15:14 GMT+02:00 Janario Oliveira <[email protected]>:

> This property also exists in the version I'm using '1.609.3'
> I tried with '1.625' but the same happens it doesn't valid the jdk version
> and it would allow compile with jdk 8.
>
>
> On Mon, Mar 27, 2017 at 4:41 AM Oleg Nenashev <[email protected]>
> wrote:
>
>> Maybe you also want to upgrade Jenkins core to 1.625+.
>> In such case you will be able to just remove the enforcer property and to
>> use the `java.level=7` property in the POM specification
>>
>> суббота, 25 марта 2017 г., 0:36:39 UTC+1 пользователь Janario Oliveira
>> написал:
>>
>> Thanks :)
>>
>>
>> On Fri, Mar 24, 2017 at 8:17 PM Arnaud Héritier <[email protected]>
>> wrote:
>>
>> Done
>>
>> Cheers
>>
>>
>> On Sat, Mar 25, 2017 at 12:13 AM, Janario Oliveira <[email protected]
>> > wrote:
>>
>> I've enabled an enforce to only compile the HttpRequestPlugin with Java7
>> https://github.com/jenkinsci/http-request-plugin/blob/master/pom.xml#L96
>>
>> But, It breaks the ci Job https://jenkins.ci.cloudbees.
>> com/job/plugins/job/http-request-plugin/159/console
>>
>> Is there a way to configure it with Java 7?
>>
>> Also I don't have access to it and I didn't receive the email
>> notification, is it possible to enable it?
>>
>> > Not sending mail to unregistered user [email protected]
>>
>> --
>> 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/3f92a8e6-a512-4019-8a90-e250f60e42a0%
>> 40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-dev/3f92a8e6-a512-4019-8a90-e250f60e42a0%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>>
>> --
>> -----
>> Arnaud Héritier
>> http://aheritier.net
>> Mail/GTalk: aheritier AT gmail DOT com
>> Twitter/Skype : aheritier
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Jenkins Developers" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/
>> topic/jenkinsci-dev/239yO2YTl6c/unsubscribe.
>>
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>>
>>
>> To view this discussion on the web visit https://groups.google.com/d/
>> msgid/jenkinsci-dev/CAFNCU-9MMJBcpSd_r1DpEeq3g0EW8%
>> 3DPZgPe0XZu8VsiaUowr%3DQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAFNCU-9MMJBcpSd_r1DpEeq3g0EW8%3DPZgPe0XZu8VsiaUowr%3DQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Jenkins Developers" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/
>> topic/jenkinsci-dev/239yO2YTl6c/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To view this discussion on the web visit https://groups.google.com/d/
>> msgid/jenkinsci-dev/bc52ebe4-3d48-4489-9eb2-4366a4d636fa%
>> 40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-dev/bc52ebe4-3d48-4489-9eb2-4366a4d636fa%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Developers" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jenkinsci-dev/239yO2YTl6c/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/CAF3bmntzs6okH_6Y%3D9XHh_%
> 3DVLn9gp6PpoeaGackvEqPxSckbkg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CAF3bmntzs6okH_6Y%3D9XHh_%3DVLn9gp6PpoeaGackvEqPxSckbkg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPfivLDnS-ux%3DjBBrTrEAN3be9Oz9500ueSeUNP0ge9X6xT0tg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to