You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2019/12/20 07:03:00 UTC

[jira] [Comment Edited] (SLING-8728) Make sure Sling modules can be built with Java 8, Java 11 and the latest release

    [ https://issues.apache.org/jira/browse/SLING-8728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17000677#comment-17000677 ] 

Konrad Windszus edited comment on SLING-8728 at 12/20/19 7:02 AM:
------------------------------------------------------------------

[~olli] Should be supported with the Sling Module descriptor already: https://cwiki.apache.org/confluence/display/SLING/Sling+module+descriptor. This is evaluated in https://github.com/apache/sling-tooling-jenkins/blob/9894be99cd9c28362536fae36ce29725786f4874/vars/slingOsgiBundleBuild.groovy#L23


was (Author: kwin):
[~olli] Should be supported with the Sling Module descriptor already: https://cwiki.apache.org/confluence/display/SLING/Sling+module+descriptor

> Make sure Sling modules can be built with Java 8, Java 11 and the latest release
> --------------------------------------------------------------------------------
>
>                 Key: SLING-8728
>                 URL: https://issues.apache.org/jira/browse/SLING-8728
>             Project: Sling
>          Issue Type: Task
>          Components: Tooling
>            Reporter: Radu Cotescu
>            Priority: Major
>
> While Sling code can run on Java 8 and Java 11, we should validate that our modules can also be built using:
> * Java 8
> * Java 11
> * latest Java release
> This would reduce the effort of supporting newer LTS Java versions, by incrementally adapting our build process / code.
> Before enabling the jobs in Jenkins, we should make sure that all modules use {{sling}} or {{sling-bundle-parent}} POMs version 35 or greater.
> For some modules this requires migrating to the new OSGi annotations. A good guide for that is https://blog.osoco.de/2016/05/migrating-from-the-apache-felix-scr-annotations-to-the-osgi-declarative-services-annotations/.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)