SLING-6369 MissingElementsException should not hide any stack traces of contained...
authorKonrad Windszus <kwin@apache.org>
Thu, 8 Dec 2016 13:22:54 +0000 (13:22 +0000)
committerKonrad Windszus <kwin@apache.org>
Thu, 8 Dec 2016 13:22:54 +0000 (13:22 +0000)
Rely on suppressed exceptions being introduced with Java7.

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1773229 13f79535-47bb-0310-9956-ffa450edef68

pom.xml

diff --git a/pom.xml b/pom.xml
index 56ac318..4ef82c3 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -36,6 +36,9 @@
         <developerConnection> scm:svn:https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl</developerConnection>
         <url>http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/models/impl</url>
     </scm>
+    <properties>
+        <sling.java.version>7</sling.java.version>
+    </properties>
     <build>
         <plugins>
             <plugin>
@@ -62,7 +65,7 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.models.api</artifactId>
-            <version>1.3.0</version>
+            <version>1.3.1-SNAPSHOT</version>
             <scope>provided</scope>
         </dependency>
         <dependency>