You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2018/08/14 15:49:41 UTC

[sling-maven-sling-plugin] branch master updated: SLING-7828 - Generating adapter metadata fails when using Java 8 features: invalid constant type: 18

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-maven-sling-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new ca7dd5d  SLING-7828 - Generating adapter metadata fails when using Java 8 features: invalid constant type: 18
ca7dd5d is described below

commit ca7dd5dc69318d602963d33546042b85cae16b91
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Tue Aug 14 17:48:57 2018 +0200

    SLING-7828 - Generating adapter metadata fails when using Java 8 features: invalid constant type: 18
    
    Use a more recent version of javassist. The exclusion is needed since
    javassist has changed Maven coordinates in the meantime.
---
 pom.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/pom.xml b/pom.xml
index 6d66d17..7b98a21 100644
--- a/pom.xml
+++ b/pom.xml
@@ -211,6 +211,17 @@
             <groupId>net.sf.scannotation</groupId>
             <artifactId>scannotation</artifactId>
             <version>1.0.2</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>javassist</groupId>
+                    <artifactId>javassist</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.javassist</groupId>
+            <artifactId>javassist</artifactId>
+            <version>3.18.2-GA</version>
         </dependency>
         <dependency>
             <groupId>org.apache.sling</groupId>