You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/07/11 19:46:05 UTC

[jira] [Updated] (SLIDER-228) Set up enforcer plugin to assert that JDK7 is used to build project

     [ https://issues.apache.org/jira/browse/SLIDER-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Elser updated SLIDER-228:
------------------------------

    Attachment: 0001-SLIDER-228-Lift-maven-compiler-plugin-definition-to-.patch

Patch that will fail the build when < JDK-1.7 with a straightforward error message instead of compilation failures.

Tested that compilation of the build still works, but need to run through the tests to make sure I didn't inadvertently break any of the groovy tests. 

Feedback welcome from anyone who has their build/tests already set up.

> Set up enforcer plugin to assert that JDK7 is used to build project
> -------------------------------------------------------------------
>
>                 Key: SLIDER-228
>                 URL: https://issues.apache.org/jira/browse/SLIDER-228
>             Project: Slider
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: Slider 0.40
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: Slider 0.50
>
>         Attachments: 0001-SLIDER-228-Lift-maven-compiler-plugin-definition-to-.patch
>
>
> In testing out 0.40.0, I got some compilation failures because I happened to build on a VM that still had JDK6 installed.
> We can easily set up the maven-enforcer-plugin to fail the build when <JDK7 is used.
> I'll do this for 0.50, but if we happen to make another 0.40 RC, we could easily pull this in for 0.40.0.



--
This message was sent by Atlassian JIRA
(v6.2#6252)