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 2023/10/13 22:05:30 UTC

[sling-org-apache-sling-installer-core] 01/01: SLING-12097 - Installer Core build fails with Java 17

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

rombert pushed a commit to branch issue/SLING-12097
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-installer-core.git

commit 964f10c30121c5ea4734d0ea756aca78ce1afea0
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Sat Oct 14 00:05:01 2023 +0200

    SLING-12097 - Installer Core build fails with Java 17
    
    Update to parent pom version 52
---
 pom.xml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index efb8626..4d11a7b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.sling</groupId>
         <artifactId>sling-bundle-parent</artifactId>
-        <version>38</version>
+        <version>52</version>
         <relativePath />
     </parent>
 
@@ -102,7 +102,7 @@
                             <goal>run</goal>
                         </goals>
                         <configuration>
-                            <tasks name="Create a test bundle">
+                            <target name="Create a test bundle">
                                 <jar destfile="${project.build.directory}/${project.artifactId}-${project.version}-testbundle-1.0.jar">
                                     <fileset dir="${project.build.directory}/classes">
                                         <include name="META-INF/**" />
@@ -114,7 +114,7 @@
                                         <attribute name="Bundle-Version" value="1.0.4" />
                                     </manifest>
                                 </jar>
-                            </tasks>
+                            </target>
                         </configuration>
                     </execution>
                 </executions>
@@ -199,6 +199,7 @@
         <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-api</artifactId>
+            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.jetbrains</groupId>
@@ -223,10 +224,12 @@
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-simple</artifactId>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.jmock</groupId>