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

jsedding pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-analyser.git


The following commit(s) were added to refs/heads/master by this push:
     new ccd620c  SLING-12126 - Update o.a.s.repoinit.parser to 1.9.0 in 
feature model analyzer (#44)
ccd620c is described below

commit ccd620c76a0d031eee85ee42c565bb9b0ee75cf5
Author: Julian Sedding <[email protected]>
AuthorDate: Sat Nov 4 13:53:20 2023 +0100

    SLING-12126 - Update o.a.s.repoinit.parser to 1.9.0 in feature model 
analyzer (#44)
---
 pom.xml                                                                | 2 +-
 .../sling/feature/analyser/task/impl/CheckContentPackagesTest.java     | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 81dffff..e0bebf5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -170,7 +170,7 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.repoinit.parser</artifactId>
-            <version>1.8.0</version>
+            <version>1.9.0</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
diff --git 
a/src/test/java/org/apache/sling/feature/analyser/task/impl/CheckContentPackagesTest.java
 
b/src/test/java/org/apache/sling/feature/analyser/task/impl/CheckContentPackagesTest.java
index 01603bb..8df0c50 100644
--- 
a/src/test/java/org/apache/sling/feature/analyser/task/impl/CheckContentPackagesTest.java
+++ 
b/src/test/java/org/apache/sling/feature/analyser/task/impl/CheckContentPackagesTest.java
@@ -19,6 +19,7 @@ package org.apache.sling.feature.analyser.task.impl;
 import static org.hamcrest.CoreMatchers.equalTo;
 import static org.hamcrest.MatcherAssert.assertThat;
 
+import java.io.File;
 import java.util.List;
 import java.util.Properties;
 
@@ -67,7 +68,7 @@ public class CheckContentPackagesTest {
         analyser.execute(ctx);
         List<String> errors = ctx.getErrors();
         assertThat(errors.size(), equalTo(1));
-        assertThat(errors.get(0), equalTo("ValidationViolation: 
\"jackrabbit-docviewparser: Invalid XML found: The reference to entity \"se\" 
must end with the ';' delimiter.\", 
filePath=jcr_root/apps/cschneidervalidation/configs/com.adobe.test.Invalid.xml, 
nodePath=/apps/cschneidervalidation/configs/com.adobe.test.Invalid"));
+        assertThat(errors.get(0), equalTo(String.format("ValidationViolation: 
\"jackrabbit-docviewparser: Invalid XML found: The reference to entity \"se\" 
must end with the ';' delimiter.\", filePath=%s, 
nodePath=/apps/cschneidervalidation/configs/com.adobe.test.Invalid", 
"jcr_root/apps/cschneidervalidation/configs/com.adobe.test.Invalid.xml".replace('/',
 File.separatorChar))));
     }
     
     @Test

Reply via email to