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-org-apache-sling-installer-core.git

commit 9a6511067645e9aa4b91785e683dd81188c427a4
Author: Robert Munteanu <[email protected]>
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>

Reply via email to