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/11/07 10:12:05 UTC

[sling-org-apache-sling-scripting-sightly-testing-content] 04/17: SLING-4357 Update Sightly IT

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

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.testing-content-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-testing-content.git

commit ddf5e1613cdef7745cb3ccd07ead716d416b7a32
Author: Felix Meschberger <fm...@apache.org>
AuthorDate: Fri Feb 6 14:59:55 2015 +0000

    SLING-4357 Update Sightly IT
    
    (Applying patch by Radu Cotescu, thanks alot)
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/scripting/sightly/testing-content@1657850 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                      | 21 ++++++++++++++++++++-
 src/main/resources/SLING-INF/sightlytck.json | 11 +++++++++++
 2 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index acd64ba..fb906b1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -85,7 +85,7 @@
                                 <artifactItem>
                                     <groupId>io.sightly</groupId>
                                     <artifactId>io.sightly.tck</artifactId>
-                                    <version>1.0.2</version>
+                                    <version>1.1.0</version>
                                     <type>jar</type>
                                     <outputDirectory>${project.build.directory}/sightlytck/</outputDirectory>
                                     <includes>**/*.html,**/*.js,**/*.java</includes>
@@ -133,6 +133,25 @@
                     <failOnError>true</failOnError>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>jslint-maven-plugin</artifactId>
+                <version>1.0.1</version>
+                <configuration>
+                    <sourceJsFolder>${basedir}/src/main/resources/SLING-INF</sourceJsFolder>
+                    <includes>
+                        <include>**/*.json</include>
+                    </includes>
+                    <encoding>UTF-8</encoding>
+                </configuration>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>jslint</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 
diff --git a/src/main/resources/SLING-INF/sightlytck.json b/src/main/resources/SLING-INF/sightlytck.json
index d1bb41d..4d3c3fe 100644
--- a/src/main/resources/SLING-INF/sightlytck.json
+++ b/src/main/resources/SLING-INF/sightlytck.json
@@ -68,9 +68,20 @@
         "element": {
             "jcr:primartyType": "nt:unstructured",
             "sling:resourceType": "/sightlytck/scripts/blockstatements/element"
+        },
+        "repeat": {
+            "jcr:primartyType": "nt:unstructured",
+            "sling:resourceType": "/sightlytck/scripts/blockstatements/repeat"
         }
 
     },
+    "tags": {
+        "jcr:primaryType": "sling:Folder",
+        "sly": {
+            "jcr:primaryType": "nt:unstructured",
+            "sling:resourceType": "/sightlytck/scripts/tags/sly"
+        }
+    },
     "helpers": {
         "jcr:primaryType": "sling:Folder",
         "testresource": {

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.