Re: Plugin enforce Java7

2017-03-27 Thread Janario Oliveira
It makes sense change to Java8 but I plan to resolve some issues before and release one last release with Java7. Thanks. On Mon, Mar 27, 2017 at 10:20 AM Oleg Nenashev wrote: > Yes, the default restrictions define the minimal version. If you need the > plugin to compile on Java 7 only, you wou

Re: Plugin enforce Java7

2017-03-27 Thread Oleg Nenashev
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

Re: Plugin enforce Java7

2017-03-27 Thread Janario Oliveira
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 wrote: > Maybe you also want to upgrade Jenkins core to 1.625+. > In such

Re: Plugin enforce Java7

2017-03-27 Thread Oleg Nenashev
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, Ma

Re: Plugin enforce Java7

2017-03-24 Thread Janario Oliveira
Thanks :) On Fri, Mar 24, 2017 at 8:17 PM Arnaud Héritier wrote: > Done > > Cheers > > On Sat, Mar 25, 2017 at 12:13 AM, Janario Oliveira < > janario.olive...@gmail.com> wrote: > > I've enabled an enforce to only compile the HttpRequestPlugin with Java7 > https://github.com/jenkinsci/http-reque

Re: Plugin enforce Java7

2017-03-24 Thread Arnaud Héritier
Done Cheers On Sat, Mar 25, 2017 at 12:13 AM, Janario Oliveira < janario.olive...@gmail.com> 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.

Plugin enforce Java7

2017-03-24 Thread Janario Oliveira
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?