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/18 23:23:10 UTC

[sling-org-apache-sling-crankstart-test-services] branch master created (now 507a54e)

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

rombert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-crankstart-test-services.git.


      at 507a54e  SLING-7167 Adjust READMEs

This branch includes the following new commits:

     new bb987c4  SLING-3528 - add test-services to prepare for config command testing
     new b77460c  SLING-3528 - test the config command in CrankstartBootstrapTest
     new 6a5d3d1  Add extension command support, with test in SystemPropertyCommand and launcher-test.crank.txt
     new 33e4524  Add missing parent pom relativePath elements
     new 2e60158  Register resources with the Sling installer via a crankstart extension command
     new 38fe64e  Add scm info
     new acdf9f5  Use released API
     new bdc5ad2  [maven-release-plugin] prepare release org.apache.sling.crankstart.test.services-1.0.0
     new ab5c74e  [maven-release-plugin] prepare for next development iteration
     new beb0b3c  Back to snapshots, until the released modules are available
     new d3843a7  Use latest parent pom
     new 08c1f0e  More extensive configs tests
     new 8d9189f  SLING-4728 - keep old Crankstart around, just in case
     new 60277c3  SLING-4728 - move new Crankstart (that uses provisioning model) under contrib
     new 61fb692  SLING-4728 - update names and versions, next release will be 2.0.x
     new 507a54e  SLING-7167 Adjust READMEs

The 16 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


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

[sling-org-apache-sling-crankstart-test-services] 06/16: Add scm info

Posted by ro...@apache.org.
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-crankstart-test-services.git

commit 38fe64e030e80e16dfa7e42e035904f98b0d543f
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Mon Sep 1 13:47:57 2014 +0000

    Add scm info
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1621776 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 3dabba0..192da31 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,7 +14,13 @@
     <packaging>bundle</packaging>
     <name>Apache Sling Crankstart Test Services</name>
     <description>Bundle used to test the Crankstart launcher</description>
-    
+
+    <scm>
+      <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/contrib/crankstart/test-services</connection>
+      <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/contrib/crankstart/test-services</developerConnection>
+      <url>http://sling.apache.org</url>
+    </scm>
+
     <build>
         <plugins>
             <plugin>

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

[sling-org-apache-sling-crankstart-test-services] 02/16: SLING-3528 - test the config command in CrankstartBootstrapTest

Posted by ro...@apache.org.
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-crankstart-test-services.git

commit b77460ca588edb2e0ead1a9beff9b83b747e9abd
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Wed May 14 16:12:33 2014 +0000

    SLING-3528 - test the config command in CrankstartBootstrapTest
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1594629 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 855f696..8244d96 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
     
     <groupId>org.apache.sling</groupId>
     <artifactId>org.apache.sling.crankstart.test.services</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
+    <version>0.0.1-SNAPSHOT</version>
     <packaging>bundle</packaging>
     <name>Apache Sling Crankstart Test Services</name>
     <description>Bundle used to test the Crankstart launcher</description>

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

[sling-org-apache-sling-crankstart-test-services] 16/16: SLING-7167 Adjust READMEs

Posted by ro...@apache.org.
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-crankstart-test-services.git

commit 507a54e54f93b1f643679dd82b3728f0e04789e8
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Tue Oct 3 09:27:17 2017 +0000

    SLING-7167 Adjust READMEs
    
    add missing README
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1810726 13f79535-47bb-0310-9956-ffa450edef68
---
 README.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..3bec6a0
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# Apache Sling Crankstart Test Services
+
+This module is part of the [Apache Sling](https://sling.apache.org) project.

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

[sling-org-apache-sling-crankstart-test-services] 12/16: More extensive configs tests

Posted by ro...@apache.org.
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-crankstart-test-services.git

commit 08c1f0e83750ae6265ad3c1cb831be479d1314f2
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Tue May 19 13:53:32 2015 +0000

    More extensive configs tests
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1680292 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                            |  1 +
 .../crankstart/testservices/ConfigDumpServlet.java | 95 ++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/pom.xml b/pom.xml
index 80f3b7b..3579169 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,6 +34,7 @@
                 <configuration>
                     <instructions>
                         <Private-Package>org.apache.sling.crankstart.testservices.*</Private-Package>
+                        <Export-Package></Export-Package>
                     </instructions>
                 </configuration>
             </plugin>
diff --git a/src/main/java/org/apache/sling/crankstart/testservices/ConfigDumpServlet.java b/src/main/java/org/apache/sling/crankstart/testservices/ConfigDumpServlet.java
new file mode 100644
index 0000000..b57866c
--- /dev/null
+++ b/src/main/java/org/apache/sling/crankstart/testservices/ConfigDumpServlet.java
@@ -0,0 +1,95 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sling.crankstart.testservices;
+
+import java.io.IOException;
+import java.util.Arrays;
+import java.util.Enumeration;
+import java.util.Map;
+import java.util.SortedSet;
+import java.util.TreeSet;
+
+import javax.servlet.Servlet;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.apache.felix.scr.annotations.Activate;
+import org.apache.felix.scr.annotations.Component;
+import org.apache.felix.scr.annotations.Reference;
+import org.apache.felix.scr.annotations.Service;
+import org.osgi.service.cm.Configuration;
+import org.osgi.service.cm.ConfigurationAdmin;
+import org.osgi.service.http.HttpService;
+import org.osgi.service.http.NamespaceException;
+
+/** Dump configs, for testing
+ */
+@Component(immediate=true,metatype=true)
+@Service(value=Servlet.class)
+@Reference(name="httpService",referenceInterface=HttpService.class)
+public class ConfigDumpServlet extends TestServlet {
+    private static final long serialVersionUID = -6918378772515948581L;
+    
+    @Reference
+    private ConfigurationAdmin configAdmin;
+
+    @Activate
+    protected void activate(Map<String, Object> config) throws ServletException, NamespaceException {
+        message = "no message yet";
+        path = "/test/config";
+        register();
+    }
+    
+    @Override
+    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
+        final String configPid = req.getPathInfo().substring(1);
+        final Configuration cfg = configAdmin.getConfiguration(configPid);
+        
+        final SortedSet<String> keys = new TreeSet<String>();
+        final Enumeration<?> e = cfg.getProperties().keys();
+        while(e.hasMoreElements()) {
+            keys.add(e.nextElement().toString());
+        }
+        final StringBuilder b = new StringBuilder();
+        b.append(configPid).append("#");
+        for(String key : keys) {
+            final Object value = cfg.getProperties().get(key);
+            b.append(key)
+            .append("=(")
+            .append(value.getClass().getSimpleName())
+            .append(")")
+            .append(prettyprint(value))
+            .append("#")
+            ;
+        }
+        b.append("#EOC#");
+        
+        resp.setContentType("text/plain");
+        resp.setCharacterEncoding("UTF-8");
+        resp.getWriter().write(b.toString());
+        resp.getWriter().flush();
+    }
+    
+    private static String prettyprint(Object value) {
+        if(value instanceof String []) {
+            return Arrays.asList((String[])value).toString();
+        } else {
+            return value.toString();
+        }
+    }
+}

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

[sling-org-apache-sling-crankstart-test-services] 01/16: SLING-3528 - add test-services to prepare for config command testing

Posted by ro...@apache.org.
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-crankstart-test-services.git

commit bb987c43d67675430b9c767c9f0a7f236492d5d3
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Fri May 2 08:13:56 2014 +0000

    SLING-3528 - add test-services to prepare for config command testing
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1591823 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                            | 65 ++++++++++++++++++++++
 .../testservices/ConfigFactoryServlet.java         | 61 ++++++++++++++++++++
 .../testservices/SingleConfigServlet.java          | 60 ++++++++++++++++++++
 .../sling/crankstart/testservices/TestServlet.java | 65 ++++++++++++++++++++++
 4 files changed, 251 insertions(+)

diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..855f696
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.sling</groupId>
+        <artifactId>sling</artifactId>
+        <version>19</version>
+    </parent>
+    
+    <groupId>org.apache.sling</groupId>
+    <artifactId>org.apache.sling.crankstart.test.services</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache Sling Crankstart Test Services</name>
+    <description>Bundle used to test the Crankstart launcher</description>
+    
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-scr-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Private-Package>org.apache.sling.crankstart.*</Private-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    
+    <dependencies>
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.core</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.compendium</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.scr.annotations</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.sling</groupId>
+            <artifactId>org.apache.sling.commons.osgi</artifactId>
+            <version>2.2.0</version>
+        </dependency>
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-simple</artifactId>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+</project>
diff --git a/src/main/java/org/apache/sling/crankstart/testservices/ConfigFactoryServlet.java b/src/main/java/org/apache/sling/crankstart/testservices/ConfigFactoryServlet.java
new file mode 100644
index 0000000..105bc7f
--- /dev/null
+++ b/src/main/java/org/apache/sling/crankstart/testservices/ConfigFactoryServlet.java
@@ -0,0 +1,61 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sling.crankstart.testservices;
+
+import java.util.Map;
+
+import javax.servlet.Servlet;
+import javax.servlet.ServletException;
+
+import org.apache.felix.scr.annotations.Activate;
+import org.apache.felix.scr.annotations.Component;
+import org.apache.felix.scr.annotations.ConfigurationPolicy;
+import org.apache.felix.scr.annotations.Deactivate;
+import org.apache.felix.scr.annotations.Property;
+import org.apache.felix.scr.annotations.Reference;
+import org.apache.felix.scr.annotations.Service;
+import org.apache.sling.commons.osgi.PropertiesUtil;
+import org.osgi.service.http.HttpService;
+import org.osgi.service.http.NamespaceException;
+
+/** Servlet that requires a configuration, used to test the
+ *  Crankstart initial config feature with factory configs
+ */
+@Component(immediate=true,configurationFactory=true, policy=ConfigurationPolicy.REQUIRE, metatype=true)
+@Service(value=Servlet.class)
+@Reference(name="httpService",referenceInterface=HttpService.class)
+public class ConfigFactoryServlet extends TestServlet {
+    private static final long serialVersionUID = -6918378772515948579L;
+    
+    @Property(value="default message")
+    protected static final String PROP_MESSAGE = "message";
+    
+    @Property(value="/default_path")
+    protected static final String PROP_PATH = "path";
+    
+    @Activate
+    protected void activate(Map<String, Object> config) throws ServletException, NamespaceException {
+        message = PropertiesUtil.toString(config.get(PROP_MESSAGE), "no message");
+        path = PropertiesUtil.toString(config.get(PROP_PATH), "no path");
+        register();
+    }
+    
+    @Deactivate
+    protected void deactivate(Map<String, Object> config) throws ServletException, NamespaceException {
+        unregister();
+    }
+}
diff --git a/src/main/java/org/apache/sling/crankstart/testservices/SingleConfigServlet.java b/src/main/java/org/apache/sling/crankstart/testservices/SingleConfigServlet.java
new file mode 100644
index 0000000..c01eeb1
--- /dev/null
+++ b/src/main/java/org/apache/sling/crankstart/testservices/SingleConfigServlet.java
@@ -0,0 +1,60 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sling.crankstart.testservices;
+
+import java.util.Map;
+
+import javax.servlet.Servlet;
+import javax.servlet.ServletException;
+
+import org.apache.felix.scr.annotations.Activate;
+import org.apache.felix.scr.annotations.Component;
+import org.apache.felix.scr.annotations.Deactivate;
+import org.apache.felix.scr.annotations.Property;
+import org.apache.felix.scr.annotations.Reference;
+import org.apache.felix.scr.annotations.Service;
+import org.apache.sling.commons.osgi.PropertiesUtil;
+import org.osgi.service.http.HttpService;
+import org.osgi.service.http.NamespaceException;
+
+/** Servlet with a non-factory configuration, used to test the
+ *  Crankstart initial config feature
+ */
+@Component(immediate=true,metatype=true)
+@Service(value=Servlet.class)
+@Reference(name="httpService",referenceInterface=HttpService.class)
+public class SingleConfigServlet extends TestServlet {
+    private static final long serialVersionUID = -6918378772515948581L;
+    
+    @Property(value="default message")
+    protected static final String PROP_MESSAGE = "message";
+    
+    @Property(value="/default_path")
+    protected static final String PROP_PATH = "path";
+    
+    @Activate
+    protected void activate(Map<String, Object> config) throws ServletException, NamespaceException {
+        message = PropertiesUtil.toString(config.get(PROP_MESSAGE), "no message");
+        path = PropertiesUtil.toString(config.get(PROP_PATH), "/no_path");
+        register();
+    }
+    
+    @Deactivate
+    protected void deactivate(Map<String, Object> config) throws ServletException, NamespaceException {
+        unregister();
+    }
+}
diff --git a/src/main/java/org/apache/sling/crankstart/testservices/TestServlet.java b/src/main/java/org/apache/sling/crankstart/testservices/TestServlet.java
new file mode 100644
index 0000000..3d03789
--- /dev/null
+++ b/src/main/java/org/apache/sling/crankstart/testservices/TestServlet.java
@@ -0,0 +1,65 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sling.crankstart.testservices;
+
+import java.io.IOException;
+
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.osgi.service.http.HttpService;
+import org.osgi.service.http.NamespaceException;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/** Base class for our test servlets */
+abstract class TestServlet extends HttpServlet {
+    private static final long serialVersionUID = -6918378772515948578L;
+    protected String message;
+    protected String path;
+    protected final Logger log = LoggerFactory.getLogger(getClass());
+    
+    protected HttpService httpService;
+    
+    protected void register() throws ServletException, NamespaceException {
+        httpService.registerServlet(path, this, null, null);
+        log.info("Registered {} on path {}", this, path);
+    }
+    
+    protected void unregister() throws ServletException, NamespaceException {
+        httpService.unregister(path);
+        log.info("Unregistered path {}", path);
+    }
+    
+    protected void bindHttpService(HttpService s) {
+        httpService = s;
+    }
+    
+    protected void unbindHttpService(HttpService s) {
+        httpService = null;
+    }
+    
+    @Override
+    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
+        resp.setContentType("text/plain");
+        resp.setCharacterEncoding("UTF-8");
+        resp.getWriter().write(getClass().getSimpleName() + ":" + message);
+        resp.getWriter().flush();
+    }
+}

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

[sling-org-apache-sling-crankstart-test-services] 14/16: SLING-4728 - move new Crankstart (that uses provisioning model) under contrib

Posted by ro...@apache.org.
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-crankstart-test-services.git

commit 60277c38ab9e31882e60811c0f01df10be1e5fac
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Thu Jun 11 13:04:39 2015 +0000

    SLING-4728 - move new Crankstart (that uses provisioning model) under contrib
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1684874 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                            |  73 +++++++++++++++
 .../crankstart/testservices/ConfigDumpServlet.java | 102 +++++++++++++++++++++
 .../testservices/ConfigFactoryServlet.java         |  61 ++++++++++++
 .../testservices/SingleConfigServlet.java          |  60 ++++++++++++
 .../sling/crankstart/testservices/TestServlet.java |  65 +++++++++++++
 5 files changed, 361 insertions(+)

diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..5842bb6
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.sling</groupId>
+        <artifactId>sling</artifactId>
+        <version>22</version>
+        <relativePath />
+    </parent>
+    
+    <groupId>org.apache.sling</groupId>
+    <artifactId>org.apache.sling.crankstart3.test.services</artifactId>
+    <version>1.0.3-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache Sling Crankstart Test Services</name>
+    <description>Bundle used to test the Crankstart launcher</description>
+
+    <scm>
+      <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/contrib/crankstart/test-services</connection>
+      <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/contrib/crankstart/test-services</developerConnection>
+      <url>http://sling.apache.org</url>
+    </scm>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-scr-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Private-Package>org.apache.sling.crankstart.testservices.*</Private-Package>
+                        <Export-Package></Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    
+    <dependencies>
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.core</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.compendium</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.scr.annotations</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.sling</groupId>
+            <artifactId>org.apache.sling.commons.osgi</artifactId>
+            <version>2.2.0</version>
+        </dependency>
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-simple</artifactId>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+</project>
diff --git a/src/main/java/org/apache/sling/crankstart/testservices/ConfigDumpServlet.java b/src/main/java/org/apache/sling/crankstart/testservices/ConfigDumpServlet.java
new file mode 100644
index 0000000..a24ce3d
--- /dev/null
+++ b/src/main/java/org/apache/sling/crankstart/testservices/ConfigDumpServlet.java
@@ -0,0 +1,102 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sling.crankstart.testservices;
+
+import java.io.IOException;
+import java.util.Arrays;
+import java.util.Enumeration;
+import java.util.Map;
+import java.util.SortedSet;
+import java.util.TreeSet;
+
+import javax.servlet.Servlet;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.apache.felix.scr.annotations.Activate;
+import org.apache.felix.scr.annotations.Component;
+import org.apache.felix.scr.annotations.Reference;
+import org.apache.felix.scr.annotations.Service;
+import org.osgi.service.cm.Configuration;
+import org.osgi.service.cm.ConfigurationAdmin;
+import org.osgi.service.http.HttpService;
+import org.osgi.service.http.NamespaceException;
+
+/** Dump configs, for testing
+ */
+@Component(immediate=true,metatype=true)
+@Service(value=Servlet.class)
+@Reference(name="httpService",referenceInterface=HttpService.class)
+public class ConfigDumpServlet extends TestServlet {
+    private static final long serialVersionUID = -6918378772515948581L;
+    
+    @Reference
+    private ConfigurationAdmin configAdmin;
+
+    @Activate
+    protected void activate(Map<String, Object> config) throws ServletException, NamespaceException {
+        message = "no message yet";
+        path = "/test/config";
+        register();
+    }
+    
+    @Override
+    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
+        final String configPid = req.getPathInfo().substring(1);
+        final Configuration cfg = configAdmin.getConfiguration(configPid);
+
+        if(cfg == null || cfg.getProperties() == null) {
+            resp.sendError(HttpServletResponse.SC_NOT_FOUND, 
+                    "No config found with PID=" + configPid
+                    + " (the PID is extracted from the path information that follows this servlet's path");
+            return;
+        }
+        
+        final SortedSet<String> keys = new TreeSet<String>();
+        final Enumeration<?> e = cfg.getProperties().keys();
+        while(e.hasMoreElements()) {
+            keys.add(e.nextElement().toString());
+        }
+        final StringBuilder b = new StringBuilder();
+        b.append(configPid).append("#");
+        for(String key : keys) {
+            final Object value = cfg.getProperties().get(key);
+            b.append(key)
+            .append("=(")
+            .append(value.getClass().getSimpleName())
+            .append(")")
+            .append(prettyprint(value))
+            .append("#")
+            ;
+        }
+        b.append("#EOC#");
+        
+        resp.setContentType("text/plain");
+        resp.setCharacterEncoding("UTF-8");
+        resp.getWriter().write(b.toString());
+        resp.getWriter().flush();
+    }
+    
+    private static String prettyprint(Object value) {
+        if(value instanceof String []) {
+            return Arrays.asList((String[])value).toString();
+        } else {
+            return value.toString();
+        }
+    }
+}
diff --git a/src/main/java/org/apache/sling/crankstart/testservices/ConfigFactoryServlet.java b/src/main/java/org/apache/sling/crankstart/testservices/ConfigFactoryServlet.java
new file mode 100644
index 0000000..105bc7f
--- /dev/null
+++ b/src/main/java/org/apache/sling/crankstart/testservices/ConfigFactoryServlet.java
@@ -0,0 +1,61 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sling.crankstart.testservices;
+
+import java.util.Map;
+
+import javax.servlet.Servlet;
+import javax.servlet.ServletException;
+
+import org.apache.felix.scr.annotations.Activate;
+import org.apache.felix.scr.annotations.Component;
+import org.apache.felix.scr.annotations.ConfigurationPolicy;
+import org.apache.felix.scr.annotations.Deactivate;
+import org.apache.felix.scr.annotations.Property;
+import org.apache.felix.scr.annotations.Reference;
+import org.apache.felix.scr.annotations.Service;
+import org.apache.sling.commons.osgi.PropertiesUtil;
+import org.osgi.service.http.HttpService;
+import org.osgi.service.http.NamespaceException;
+
+/** Servlet that requires a configuration, used to test the
+ *  Crankstart initial config feature with factory configs
+ */
+@Component(immediate=true,configurationFactory=true, policy=ConfigurationPolicy.REQUIRE, metatype=true)
+@Service(value=Servlet.class)
+@Reference(name="httpService",referenceInterface=HttpService.class)
+public class ConfigFactoryServlet extends TestServlet {
+    private static final long serialVersionUID = -6918378772515948579L;
+    
+    @Property(value="default message")
+    protected static final String PROP_MESSAGE = "message";
+    
+    @Property(value="/default_path")
+    protected static final String PROP_PATH = "path";
+    
+    @Activate
+    protected void activate(Map<String, Object> config) throws ServletException, NamespaceException {
+        message = PropertiesUtil.toString(config.get(PROP_MESSAGE), "no message");
+        path = PropertiesUtil.toString(config.get(PROP_PATH), "no path");
+        register();
+    }
+    
+    @Deactivate
+    protected void deactivate(Map<String, Object> config) throws ServletException, NamespaceException {
+        unregister();
+    }
+}
diff --git a/src/main/java/org/apache/sling/crankstart/testservices/SingleConfigServlet.java b/src/main/java/org/apache/sling/crankstart/testservices/SingleConfigServlet.java
new file mode 100644
index 0000000..c01eeb1
--- /dev/null
+++ b/src/main/java/org/apache/sling/crankstart/testservices/SingleConfigServlet.java
@@ -0,0 +1,60 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sling.crankstart.testservices;
+
+import java.util.Map;
+
+import javax.servlet.Servlet;
+import javax.servlet.ServletException;
+
+import org.apache.felix.scr.annotations.Activate;
+import org.apache.felix.scr.annotations.Component;
+import org.apache.felix.scr.annotations.Deactivate;
+import org.apache.felix.scr.annotations.Property;
+import org.apache.felix.scr.annotations.Reference;
+import org.apache.felix.scr.annotations.Service;
+import org.apache.sling.commons.osgi.PropertiesUtil;
+import org.osgi.service.http.HttpService;
+import org.osgi.service.http.NamespaceException;
+
+/** Servlet with a non-factory configuration, used to test the
+ *  Crankstart initial config feature
+ */
+@Component(immediate=true,metatype=true)
+@Service(value=Servlet.class)
+@Reference(name="httpService",referenceInterface=HttpService.class)
+public class SingleConfigServlet extends TestServlet {
+    private static final long serialVersionUID = -6918378772515948581L;
+    
+    @Property(value="default message")
+    protected static final String PROP_MESSAGE = "message";
+    
+    @Property(value="/default_path")
+    protected static final String PROP_PATH = "path";
+    
+    @Activate
+    protected void activate(Map<String, Object> config) throws ServletException, NamespaceException {
+        message = PropertiesUtil.toString(config.get(PROP_MESSAGE), "no message");
+        path = PropertiesUtil.toString(config.get(PROP_PATH), "/no_path");
+        register();
+    }
+    
+    @Deactivate
+    protected void deactivate(Map<String, Object> config) throws ServletException, NamespaceException {
+        unregister();
+    }
+}
diff --git a/src/main/java/org/apache/sling/crankstart/testservices/TestServlet.java b/src/main/java/org/apache/sling/crankstart/testservices/TestServlet.java
new file mode 100644
index 0000000..3d03789
--- /dev/null
+++ b/src/main/java/org/apache/sling/crankstart/testservices/TestServlet.java
@@ -0,0 +1,65 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sling.crankstart.testservices;
+
+import java.io.IOException;
+
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.osgi.service.http.HttpService;
+import org.osgi.service.http.NamespaceException;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/** Base class for our test servlets */
+abstract class TestServlet extends HttpServlet {
+    private static final long serialVersionUID = -6918378772515948578L;
+    protected String message;
+    protected String path;
+    protected final Logger log = LoggerFactory.getLogger(getClass());
+    
+    protected HttpService httpService;
+    
+    protected void register() throws ServletException, NamespaceException {
+        httpService.registerServlet(path, this, null, null);
+        log.info("Registered {} on path {}", this, path);
+    }
+    
+    protected void unregister() throws ServletException, NamespaceException {
+        httpService.unregister(path);
+        log.info("Unregistered path {}", path);
+    }
+    
+    protected void bindHttpService(HttpService s) {
+        httpService = s;
+    }
+    
+    protected void unbindHttpService(HttpService s) {
+        httpService = null;
+    }
+    
+    @Override
+    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
+        resp.setContentType("text/plain");
+        resp.setCharacterEncoding("UTF-8");
+        resp.getWriter().write(getClass().getSimpleName() + ":" + message);
+        resp.getWriter().flush();
+    }
+}

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

[sling-org-apache-sling-crankstart-test-services] 07/16: Use released API

Posted by ro...@apache.org.
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-crankstart-test-services.git

commit acdf9f5e3b3d35e1d5ec2dc55a80db2d322bd255
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Mon Sep 1 14:04:25 2014 +0000

    Use released API
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1621791 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 192da31..3c6a7c6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,7 +61,7 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.crankstart.api</artifactId>
-            <version>${project.version}</version>
+            <version>1.0.0</version>
             <scope>provided</scope>
         </dependency>
         <dependency>

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

[sling-org-apache-sling-crankstart-test-services] 09/16: [maven-release-plugin] prepare for next development iteration

Posted by ro...@apache.org.
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-crankstart-test-services.git

commit ab5c74ee33c63feb6e77654187b0abff2bc536a4
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Mon Sep 1 14:05:20 2014 +0000

    [maven-release-plugin] prepare for next development iteration
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1621794 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 9242166..789107a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,15 +10,15 @@
     
     <groupId>org.apache.sling</groupId>
     <artifactId>org.apache.sling.crankstart.test.services</artifactId>
-    <version>1.0.0</version>
+    <version>1.0.1-SNAPSHOT</version>
     <packaging>bundle</packaging>
     <name>Apache Sling Crankstart Test Services</name>
     <description>Bundle used to test the Crankstart launcher</description>
 
     <scm>
-      <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.crankstart.test.services-1.0.0</connection>
-      <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.crankstart.test.services-1.0.0</developerConnection>
-      <url>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.crankstart.test.services-1.0.0</url>
+      <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/contrib/crankstart/test-services</connection>
+      <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/contrib/crankstart/test-services</developerConnection>
+      <url>http://sling.apache.org</url>
     </scm>
 
     <build>

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

[sling-org-apache-sling-crankstart-test-services] 05/16: Register resources with the Sling installer via a crankstart extension command

Posted by ro...@apache.org.
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-crankstart-test-services.git

commit 2e6015875b3d4ce791d38d87c8c055a59eb564c6
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Mon Jun 2 14:33:42 2014 +0000

    Register resources with the Sling installer via a crankstart extension command
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1599226 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/pom.xml b/pom.xml
index 00f193f..3dabba0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,11 +27,7 @@
                 <extensions>true</extensions>
                 <configuration>
                     <instructions>
-                        <Private-Package>org.apache.sling.crankstart.*</Private-Package>
-                        <Import-Package>
-                            org.apache.sling.crankstart.api,
-                            *
-                        </Import-Package>
+                        <Private-Package>org.apache.sling.crankstart.testservices.*</Private-Package>
                     </instructions>
                 </configuration>
             </plugin>

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

[sling-org-apache-sling-crankstart-test-services] 15/16: SLING-4728 - update names and versions, next release will be 2.0.x

Posted by ro...@apache.org.
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-crankstart-test-services.git

commit 61fb6929c8c468f1c9f400cfeaea9796efba6729
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Thu Jun 11 13:19:47 2015 +0000

    SLING-4728 - update names and versions, next release will be 2.0.x
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1684884 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 5842bb6..dee31fb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,8 +9,8 @@
     </parent>
     
     <groupId>org.apache.sling</groupId>
-    <artifactId>org.apache.sling.crankstart3.test.services</artifactId>
-    <version>1.0.3-SNAPSHOT</version>
+    <artifactId>org.apache.sling.crankstart.test.services</artifactId>
+    <version>1.9.9-SNAPSHOT</version>
     <packaging>bundle</packaging>
     <name>Apache Sling Crankstart Test Services</name>
     <description>Bundle used to test the Crankstart launcher</description>

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

[sling-org-apache-sling-crankstart-test-services] 11/16: Use latest parent pom

Posted by ro...@apache.org.
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-crankstart-test-services.git

commit d3843a7b08af02a7ae2fdf0ddd0ee1ad9bbdcb58
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed Apr 15 08:04:18 2015 +0000

    Use latest parent pom
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1673674 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 62d120e..80f3b7b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.apache.sling</groupId>
         <artifactId>sling</artifactId>
-        <version>19</version>
+        <version>22</version>
         <relativePath />
     </parent>
     

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

[sling-org-apache-sling-crankstart-test-services] 03/16: Add extension command support, with test in SystemPropertyCommand and launcher-test.crank.txt

Posted by ro...@apache.org.
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-crankstart-test-services.git

commit 6a5d3d152e68f9b14af9c849bb6935ff31fc6986
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Fri May 16 14:50:49 2014 +0000

    Add extension command support, with test in SystemPropertyCommand and launcher-test.crank.txt
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1595220 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                            | 10 ++++
 .../testservices/SystemPropertyCommand.java        | 59 ++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/pom.xml b/pom.xml
index 8244d96..67552bc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,6 +27,10 @@
                 <configuration>
                     <instructions>
                         <Private-Package>org.apache.sling.crankstart.*</Private-Package>
+                        <Import-Package>
+                            org.apache.sling.crankstart.api,
+                            *
+                        </Import-Package>
                     </instructions>
                 </configuration>
             </plugin>
@@ -52,6 +56,12 @@
             <version>2.2.0</version>
         </dependency>
         <dependency>
+            <groupId>org.apache.sling</groupId>
+            <artifactId>org.apache.sling.crankstart.api</artifactId>
+            <version>${project.version}</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
             <groupId>javax.servlet</groupId>
             <artifactId>servlet-api</artifactId>
             <scope>provided</scope>
diff --git a/src/main/java/org/apache/sling/crankstart/testservices/SystemPropertyCommand.java b/src/main/java/org/apache/sling/crankstart/testservices/SystemPropertyCommand.java
new file mode 100644
index 0000000..40c9e67
--- /dev/null
+++ b/src/main/java/org/apache/sling/crankstart/testservices/SystemPropertyCommand.java
@@ -0,0 +1,59 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sling.crankstart.testservices;
+
+import org.apache.felix.scr.annotations.Component;
+import org.apache.felix.scr.annotations.Service;
+import org.apache.sling.crankstart.api.CrankstartCommand;
+import org.apache.sling.crankstart.api.CrankstartCommandLine;
+import org.apache.sling.crankstart.api.CrankstartContext;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/** CrankstartCommand provided by our test-services bundle
+ *  to test crankstart extensions commands provided by OSGi bundles.
+ */
+@Component
+@Service
+public class SystemPropertyCommand implements CrankstartCommand {
+    
+    public static final String I_SYSTEM_PROPERTY = "test.system.property";
+    private final Logger log = LoggerFactory.getLogger(getClass());
+
+    public boolean appliesTo(CrankstartCommandLine commandLine) {
+        return I_SYSTEM_PROPERTY.equals(commandLine.getVerb());
+    }
+    
+    public String getDescription() {
+        return I_SYSTEM_PROPERTY + ": set a system property";
+    }
+
+    public void execute(CrankstartContext crankstartContext, CrankstartCommandLine commandLine) throws Exception {
+        final String [] parts = commandLine.getQualifier().split(" ");
+        final String key = parts[0];
+        final StringBuilder sb = new StringBuilder();
+        for(int i=1 ; i < parts.length; i++) {
+            if(sb.length() > 0) {
+                sb.append(' ');
+            }
+            sb.append(parts[i]);
+        }
+        final String value = sb.toString();
+        System.setProperty(key, value);
+        log.info("System property [{}] set to [{}]", key, value);
+    }
+}

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

[sling-org-apache-sling-crankstart-test-services] 04/16: Add missing parent pom relativePath elements

Posted by ro...@apache.org.
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-crankstart-test-services.git

commit 33e4524ca988f4f5e2cf8d4684b7e13259885b7e
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Mon Jun 2 12:55:16 2014 +0000

    Add missing parent pom relativePath elements
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1599199 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pom.xml b/pom.xml
index 67552bc..00f193f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,6 +5,7 @@
         <groupId>org.apache.sling</groupId>
         <artifactId>sling</artifactId>
         <version>19</version>
+        <relativePath />
     </parent>
     
     <groupId>org.apache.sling</groupId>

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

[sling-org-apache-sling-crankstart-test-services] 13/16: SLING-4728 - keep old Crankstart around, just in case

Posted by ro...@apache.org.
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-crankstart-test-services.git

commit 8d9189f43170006cb8b16a9ef1516bbe85b2ae8a
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Thu Jun 11 13:02:49 2015 +0000

    SLING-4728 - keep old Crankstart around, just in case
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1684873 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                            | 79 ------------------
 .../crankstart/testservices/ConfigDumpServlet.java | 95 ----------------------
 .../testservices/ConfigFactoryServlet.java         | 61 --------------
 .../testservices/SingleConfigServlet.java          | 60 --------------
 .../testservices/SystemPropertyCommand.java        | 59 --------------
 .../sling/crankstart/testservices/TestServlet.java | 65 ---------------
 6 files changed, 419 deletions(-)

diff --git a/pom.xml b/pom.xml
deleted file mode 100644
index 3579169..0000000
--- a/pom.xml
+++ /dev/null
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <parent>
-        <groupId>org.apache.sling</groupId>
-        <artifactId>sling</artifactId>
-        <version>22</version>
-        <relativePath />
-    </parent>
-    
-    <groupId>org.apache.sling</groupId>
-    <artifactId>org.apache.sling.crankstart.test.services</artifactId>
-    <version>1.0.1-SNAPSHOT</version>
-    <packaging>bundle</packaging>
-    <name>Apache Sling Crankstart Test Services</name>
-    <description>Bundle used to test the Crankstart launcher</description>
-
-    <scm>
-      <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/contrib/crankstart/test-services</connection>
-      <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/contrib/crankstart/test-services</developerConnection>
-      <url>http://sling.apache.org</url>
-    </scm>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-scr-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Private-Package>org.apache.sling.crankstart.testservices.*</Private-Package>
-                        <Export-Package></Export-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-    
-    <dependencies>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.felix</groupId>
-            <artifactId>org.apache.felix.scr.annotations</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.sling</groupId>
-            <artifactId>org.apache.sling.commons.osgi</artifactId>
-            <version>2.2.0</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.sling</groupId>
-            <artifactId>org.apache.sling.crankstart.api</artifactId>
-            <version>1.0.1-SNAPSHOT</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>servlet-api</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-simple</artifactId>
-            <scope>provided</scope>
-        </dependency>
-    </dependencies>
-</project>
diff --git a/src/main/java/org/apache/sling/crankstart/testservices/ConfigDumpServlet.java b/src/main/java/org/apache/sling/crankstart/testservices/ConfigDumpServlet.java
deleted file mode 100644
index b57866c..0000000
--- a/src/main/java/org/apache/sling/crankstart/testservices/ConfigDumpServlet.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.sling.crankstart.testservices;
-
-import java.io.IOException;
-import java.util.Arrays;
-import java.util.Enumeration;
-import java.util.Map;
-import java.util.SortedSet;
-import java.util.TreeSet;
-
-import javax.servlet.Servlet;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import org.apache.felix.scr.annotations.Activate;
-import org.apache.felix.scr.annotations.Component;
-import org.apache.felix.scr.annotations.Reference;
-import org.apache.felix.scr.annotations.Service;
-import org.osgi.service.cm.Configuration;
-import org.osgi.service.cm.ConfigurationAdmin;
-import org.osgi.service.http.HttpService;
-import org.osgi.service.http.NamespaceException;
-
-/** Dump configs, for testing
- */
-@Component(immediate=true,metatype=true)
-@Service(value=Servlet.class)
-@Reference(name="httpService",referenceInterface=HttpService.class)
-public class ConfigDumpServlet extends TestServlet {
-    private static final long serialVersionUID = -6918378772515948581L;
-    
-    @Reference
-    private ConfigurationAdmin configAdmin;
-
-    @Activate
-    protected void activate(Map<String, Object> config) throws ServletException, NamespaceException {
-        message = "no message yet";
-        path = "/test/config";
-        register();
-    }
-    
-    @Override
-    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
-        final String configPid = req.getPathInfo().substring(1);
-        final Configuration cfg = configAdmin.getConfiguration(configPid);
-        
-        final SortedSet<String> keys = new TreeSet<String>();
-        final Enumeration<?> e = cfg.getProperties().keys();
-        while(e.hasMoreElements()) {
-            keys.add(e.nextElement().toString());
-        }
-        final StringBuilder b = new StringBuilder();
-        b.append(configPid).append("#");
-        for(String key : keys) {
-            final Object value = cfg.getProperties().get(key);
-            b.append(key)
-            .append("=(")
-            .append(value.getClass().getSimpleName())
-            .append(")")
-            .append(prettyprint(value))
-            .append("#")
-            ;
-        }
-        b.append("#EOC#");
-        
-        resp.setContentType("text/plain");
-        resp.setCharacterEncoding("UTF-8");
-        resp.getWriter().write(b.toString());
-        resp.getWriter().flush();
-    }
-    
-    private static String prettyprint(Object value) {
-        if(value instanceof String []) {
-            return Arrays.asList((String[])value).toString();
-        } else {
-            return value.toString();
-        }
-    }
-}
diff --git a/src/main/java/org/apache/sling/crankstart/testservices/ConfigFactoryServlet.java b/src/main/java/org/apache/sling/crankstart/testservices/ConfigFactoryServlet.java
deleted file mode 100644
index 105bc7f..0000000
--- a/src/main/java/org/apache/sling/crankstart/testservices/ConfigFactoryServlet.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.sling.crankstart.testservices;
-
-import java.util.Map;
-
-import javax.servlet.Servlet;
-import javax.servlet.ServletException;
-
-import org.apache.felix.scr.annotations.Activate;
-import org.apache.felix.scr.annotations.Component;
-import org.apache.felix.scr.annotations.ConfigurationPolicy;
-import org.apache.felix.scr.annotations.Deactivate;
-import org.apache.felix.scr.annotations.Property;
-import org.apache.felix.scr.annotations.Reference;
-import org.apache.felix.scr.annotations.Service;
-import org.apache.sling.commons.osgi.PropertiesUtil;
-import org.osgi.service.http.HttpService;
-import org.osgi.service.http.NamespaceException;
-
-/** Servlet that requires a configuration, used to test the
- *  Crankstart initial config feature with factory configs
- */
-@Component(immediate=true,configurationFactory=true, policy=ConfigurationPolicy.REQUIRE, metatype=true)
-@Service(value=Servlet.class)
-@Reference(name="httpService",referenceInterface=HttpService.class)
-public class ConfigFactoryServlet extends TestServlet {
-    private static final long serialVersionUID = -6918378772515948579L;
-    
-    @Property(value="default message")
-    protected static final String PROP_MESSAGE = "message";
-    
-    @Property(value="/default_path")
-    protected static final String PROP_PATH = "path";
-    
-    @Activate
-    protected void activate(Map<String, Object> config) throws ServletException, NamespaceException {
-        message = PropertiesUtil.toString(config.get(PROP_MESSAGE), "no message");
-        path = PropertiesUtil.toString(config.get(PROP_PATH), "no path");
-        register();
-    }
-    
-    @Deactivate
-    protected void deactivate(Map<String, Object> config) throws ServletException, NamespaceException {
-        unregister();
-    }
-}
diff --git a/src/main/java/org/apache/sling/crankstart/testservices/SingleConfigServlet.java b/src/main/java/org/apache/sling/crankstart/testservices/SingleConfigServlet.java
deleted file mode 100644
index c01eeb1..0000000
--- a/src/main/java/org/apache/sling/crankstart/testservices/SingleConfigServlet.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.sling.crankstart.testservices;
-
-import java.util.Map;
-
-import javax.servlet.Servlet;
-import javax.servlet.ServletException;
-
-import org.apache.felix.scr.annotations.Activate;
-import org.apache.felix.scr.annotations.Component;
-import org.apache.felix.scr.annotations.Deactivate;
-import org.apache.felix.scr.annotations.Property;
-import org.apache.felix.scr.annotations.Reference;
-import org.apache.felix.scr.annotations.Service;
-import org.apache.sling.commons.osgi.PropertiesUtil;
-import org.osgi.service.http.HttpService;
-import org.osgi.service.http.NamespaceException;
-
-/** Servlet with a non-factory configuration, used to test the
- *  Crankstart initial config feature
- */
-@Component(immediate=true,metatype=true)
-@Service(value=Servlet.class)
-@Reference(name="httpService",referenceInterface=HttpService.class)
-public class SingleConfigServlet extends TestServlet {
-    private static final long serialVersionUID = -6918378772515948581L;
-    
-    @Property(value="default message")
-    protected static final String PROP_MESSAGE = "message";
-    
-    @Property(value="/default_path")
-    protected static final String PROP_PATH = "path";
-    
-    @Activate
-    protected void activate(Map<String, Object> config) throws ServletException, NamespaceException {
-        message = PropertiesUtil.toString(config.get(PROP_MESSAGE), "no message");
-        path = PropertiesUtil.toString(config.get(PROP_PATH), "/no_path");
-        register();
-    }
-    
-    @Deactivate
-    protected void deactivate(Map<String, Object> config) throws ServletException, NamespaceException {
-        unregister();
-    }
-}
diff --git a/src/main/java/org/apache/sling/crankstart/testservices/SystemPropertyCommand.java b/src/main/java/org/apache/sling/crankstart/testservices/SystemPropertyCommand.java
deleted file mode 100644
index 40c9e67..0000000
--- a/src/main/java/org/apache/sling/crankstart/testservices/SystemPropertyCommand.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.sling.crankstart.testservices;
-
-import org.apache.felix.scr.annotations.Component;
-import org.apache.felix.scr.annotations.Service;
-import org.apache.sling.crankstart.api.CrankstartCommand;
-import org.apache.sling.crankstart.api.CrankstartCommandLine;
-import org.apache.sling.crankstart.api.CrankstartContext;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/** CrankstartCommand provided by our test-services bundle
- *  to test crankstart extensions commands provided by OSGi bundles.
- */
-@Component
-@Service
-public class SystemPropertyCommand implements CrankstartCommand {
-    
-    public static final String I_SYSTEM_PROPERTY = "test.system.property";
-    private final Logger log = LoggerFactory.getLogger(getClass());
-
-    public boolean appliesTo(CrankstartCommandLine commandLine) {
-        return I_SYSTEM_PROPERTY.equals(commandLine.getVerb());
-    }
-    
-    public String getDescription() {
-        return I_SYSTEM_PROPERTY + ": set a system property";
-    }
-
-    public void execute(CrankstartContext crankstartContext, CrankstartCommandLine commandLine) throws Exception {
-        final String [] parts = commandLine.getQualifier().split(" ");
-        final String key = parts[0];
-        final StringBuilder sb = new StringBuilder();
-        for(int i=1 ; i < parts.length; i++) {
-            if(sb.length() > 0) {
-                sb.append(' ');
-            }
-            sb.append(parts[i]);
-        }
-        final String value = sb.toString();
-        System.setProperty(key, value);
-        log.info("System property [{}] set to [{}]", key, value);
-    }
-}
diff --git a/src/main/java/org/apache/sling/crankstart/testservices/TestServlet.java b/src/main/java/org/apache/sling/crankstart/testservices/TestServlet.java
deleted file mode 100644
index 3d03789..0000000
--- a/src/main/java/org/apache/sling/crankstart/testservices/TestServlet.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.sling.crankstart.testservices;
-
-import java.io.IOException;
-
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServlet;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import org.osgi.service.http.HttpService;
-import org.osgi.service.http.NamespaceException;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/** Base class for our test servlets */
-abstract class TestServlet extends HttpServlet {
-    private static final long serialVersionUID = -6918378772515948578L;
-    protected String message;
-    protected String path;
-    protected final Logger log = LoggerFactory.getLogger(getClass());
-    
-    protected HttpService httpService;
-    
-    protected void register() throws ServletException, NamespaceException {
-        httpService.registerServlet(path, this, null, null);
-        log.info("Registered {} on path {}", this, path);
-    }
-    
-    protected void unregister() throws ServletException, NamespaceException {
-        httpService.unregister(path);
-        log.info("Unregistered path {}", path);
-    }
-    
-    protected void bindHttpService(HttpService s) {
-        httpService = s;
-    }
-    
-    protected void unbindHttpService(HttpService s) {
-        httpService = null;
-    }
-    
-    @Override
-    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
-        resp.setContentType("text/plain");
-        resp.setCharacterEncoding("UTF-8");
-        resp.getWriter().write(getClass().getSimpleName() + ":" + message);
-        resp.getWriter().flush();
-    }
-}

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

[sling-org-apache-sling-crankstart-test-services] 10/16: Back to snapshots, until the released modules are available

Posted by ro...@apache.org.
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-crankstart-test-services.git

commit beb0b3cfa4b62006039818bd751d35050969501b
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Mon Sep 1 16:18:47 2014 +0000

    Back to snapshots, until the released modules are available
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1621836 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 789107a..62d120e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,7 +61,7 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.crankstart.api</artifactId>
-            <version>1.0.0</version>
+            <version>1.0.1-SNAPSHOT</version>
             <scope>provided</scope>
         </dependency>
         <dependency>

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

[sling-org-apache-sling-crankstart-test-services] 08/16: [maven-release-plugin] prepare release org.apache.sling.crankstart.test.services-1.0.0

Posted by ro...@apache.org.
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-crankstart-test-services.git

commit bdc5ad2a9b2d99bb0077dc7a99317ba000d594a4
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Mon Sep 1 14:05:04 2014 +0000

    [maven-release-plugin] prepare release org.apache.sling.crankstart.test.services-1.0.0
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1621792 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 3c6a7c6..9242166 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,15 +10,15 @@
     
     <groupId>org.apache.sling</groupId>
     <artifactId>org.apache.sling.crankstart.test.services</artifactId>
-    <version>0.0.1-SNAPSHOT</version>
+    <version>1.0.0</version>
     <packaging>bundle</packaging>
     <name>Apache Sling Crankstart Test Services</name>
     <description>Bundle used to test the Crankstart launcher</description>
 
     <scm>
-      <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/contrib/crankstart/test-services</connection>
-      <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/contrib/crankstart/test-services</developerConnection>
-      <url>http://sling.apache.org</url>
+      <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.crankstart.test.services-1.0.0</connection>
+      <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.crankstart.test.services-1.0.0</developerConnection>
+      <url>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.crankstart.test.services-1.0.0</url>
     </scm>
 
     <build>

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