Robert Munteanu created SLING-7828:
--------------------------------------

             Summary: 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
             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)

Reply via email to