[ https://issues.apache.org/jira/browse/SLING-7828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Munteanu resolved SLING-7828. ------------------------------------ Resolution: Fixed Fixed with [sling-maven-sling-plugin commit ca7dd5d|https://github.com/apache/sling-maven-sling-plugin/commit/ca7dd5d] > Generating adapter metadata fails when using Java 8 features: invalid > constant type: 18 > --------------------------------------------------------------------------------------- > > Key: SLING-7828 > URL: https://issues.apache.org/jira/browse/SLING-7828 > Project: Sling > Issue Type: Bug > Components: Maven Plugins and Archetypes > Reporter: Robert Munteanu > Assignee: Robert Munteanu > Priority: Major > Fix For: Maven Sling Plugin 2.3.8 > > > When building a project that uses Java 8 features ( I used lambdas ) the > {{maven-sling-plugin}} fails to generate the adapter metadata: > {noformat}[ERROR] Failed to execute goal > org.apache.sling:maven-sling-plugin:2.3.6:generate-adapter-metadata > (generate-adapter-metadata) on project org.apache.sling.resourceresolver: > Unable to generate metadata: invalid constant type: 18 -> [Help 1] > {noformat} > This stems from an using an old version of the Javassist library. -- This message was sent by Atlassian JIRA (v7.6.3#76005)