Thanks Konrad.

I tried that, but then build fails because of the errors reported by
maven-enforcer-plugin.
To track this I created https://issues.apache.org/jira/browse/SLING-10010

Regards,
Miroslav


On Fri, Dec 18, 2020 at 10:03 AM Konrad Windszus <[email protected]> wrote:

> Please try to update to sling-bundle-parent 40 in
> https://github.com/apache/sling-org-apache-sling-jcr-resource/blob/master/pom.xml
> <
> https://github.com/apache/sling-org-apache-sling-jcr-resource/blob/master/pom.xml
> >.
> That should allow to build with Java 11.
>
> > On 18. Dec 2020, at 09:52, Miroslav Smiljanic <[email protected]>
> wrote:
> >
> > Hi All,
> >
> > I am having issues building org-apache-sling-jcr-resource module, and
> > during test phase this is the error:
> >
> > *Execution default-test of goal
> > org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test failed.:
> > NullPointerException *
> >
> > java version "11.0.6" 2020-01-14 LTS
> > Apache Maven 3.6.3
> >
> > Similar problem has been reported in
> > https://issues.apache.org/jira/browse/SLING-8563
> >
> > I see that for number of projects, effort has been made to make testing
> > compliant for Java 9 and higher
> >
> https://issues.apache.org/jira/browse/SLING-8513?jql=project%20%3D%20SLING%20AND%20text%20~%20%22%5C%22compliant%20with%20Java%209%20and%20higher%5C%22%22
> >
> > Regards,
> > Miroslav
>
>

Reply via email to