You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2018/08/17 16:45:00 UTC
[jira] [Closed] (SLING-7828) Generating adapter metadata fails when
using Java 8 features: invalid constant type: 18
[ https://issues.apache.org/jira/browse/SLING-7828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Munteanu closed SLING-7828.
----------------------------------
> 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)