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 2017/10/20 14:39:29 UTC
[sling-org-apache-sling-models-validation-impl] 29/34: use
junit-core which can run without commons.json, adjust validation model
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-models-validation-impl.git
commit d2ac3e02c1c2014d075e6d65a96742a34a4bf5fc
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Wed Apr 5 14:36:28 2017 +0000
use junit-core which can run without commons.json, adjust validation model
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1790279 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
src/test/provisioning/model.txt | 2 +-
.../resources/SLING-CONTENT/apps/sling/validation/models/model1.json | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index 0a0b222..a421c95 100644
--- a/pom.xml
+++ b/pom.xml
@@ -208,7 +208,7 @@
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.junit.teleporter</artifactId>
- <version>1.0.12</version>
+ <version>1.0.13-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/src/test/provisioning/model.txt b/src/test/provisioning/model.txt
index 60d480c..85a1e22 100644
--- a/src/test/provisioning/model.txt
+++ b/src/test/provisioning/model.txt
@@ -21,7 +21,7 @@
[artifacts]
org.apache.sling/org.apache.sling.launchpad/9-SNAPSHOT/slingstart
# this is necessary to execute the tests
- org.apache.sling/org.apache.sling.junit.core/1.0.23
+ org.apache.sling/org.apache.sling.junit.core/1.0.24-SNAPSHOT
# deploy the validation framework
org.apache.sling/org.apache.sling.validation.api/1.0.0-SNAPSHOT
org.apache.sling/org.apache.sling.validation.core/1.0.0-SNAPSHOT
diff --git a/src/test/resources/SLING-CONTENT/apps/sling/validation/models/model1.json b/src/test/resources/SLING-CONTENT/apps/sling/validation/models/model1.json
index b603ec6..b4e092d 100644
--- a/src/test/resources/SLING-CONTENT/apps/sling/validation/models/model1.json
+++ b/src/test/resources/SLING-CONTENT/apps/sling/validation/models/model1.json
@@ -1,5 +1,5 @@
{
- "validatedResourceType": "validation/test/resourceType1",
+ "validatingResourceType": "validation/test/resourceType1",
"sling:resourceType": "sling/validation/model",
"properties": {
"jcr:primaryType" : "nt:unstructured",
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.