You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2018/04/09 19:27:16 UTC

[sling-whiteboard] branch master updated: Adding the ability to specify the protocol when deploying bundles

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 14e379f  Adding the ability to specify the protocol when deploying bundles
14e379f is described below

commit 14e379f3649570dc9a929fed281bc63b3d7cd355
Author: Dan Klco <da...@gmail.com>
AuthorDate: Mon Apr 9 15:27:07 2018 -0400

    Adding the ability to specify the protocol when deploying bundles
---
 cms/core/pom.xml      | 2 +-
 cms/pom.xml           | 1 +
 cms/reference/pom.xml | 2 +-
 cms/ui/pom.xml        | 2 +-
 4 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/cms/core/pom.xml b/cms/core/pom.xml
index 7bf1be9..7587255 100644
--- a/cms/core/pom.xml
+++ b/cms/core/pom.xml
@@ -60,7 +60,7 @@
 				<groupId>org.apache.sling</groupId>
 				<artifactId>maven-sling-plugin</artifactId>
 				<configuration>
-					<slingUrl>http://${sling.host}:${sling.port}/system/console</slingUrl>
+					<slingUrl>${sling.protocol}://${sling.host}:${sling.port}/system/console</slingUrl>
 					<user>${sling.username}</user>
 					<password>${sling.password}</password>
 				</configuration>
diff --git a/cms/pom.xml b/cms/pom.xml
index 198337a..bc03479 100644
--- a/cms/pom.xml
+++ b/cms/pom.xml
@@ -26,6 +26,7 @@
 	<packaging>pom</packaging>
 
 	<properties>
+		<sling.protocol>http</sling.protocol>
 		<sling.host>localhost</sling.host>
 		<sling.port>8080</sling.port>
 		<sling.username>admin</sling.username>
diff --git a/cms/reference/pom.xml b/cms/reference/pom.xml
index 050f96e..c21af66 100644
--- a/cms/reference/pom.xml
+++ b/cms/reference/pom.xml
@@ -74,7 +74,7 @@
 									<goal>install</goal>
 								</goals>
 								<configuration>
-									<slingUrl>http://${sling.host}:${sling.port}/system/console</slingUrl>
+									<slingUrl>${sling.protocol}://${sling.host}:${sling.port}/system/console</slingUrl>
 									<user>${sling.username}</user>
 									<password>${sling.password}</password>
 								</configuration>
diff --git a/cms/ui/pom.xml b/cms/ui/pom.xml
index e06e4a6..9ddb771 100644
--- a/cms/ui/pom.xml
+++ b/cms/ui/pom.xml
@@ -122,7 +122,7 @@
 									<goal>install</goal>
 								</goals>
 								<configuration>
-									<slingUrl>http://${sling.host}:${sling.port}/system/console</slingUrl>
+									<slingUrl>${sling.protocol}://${sling.host}:${sling.port}/system/console</slingUrl>
 									<user>${sling.username}</user>
 									<password>${sling.password}</password>
 								</configuration>

-- 
To stop receiving notification emails like this one, please contact
dklco@apache.org.