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 09:14:56 UTC
[sling-maven-launchpad-plugin] 13/49: exposing controlHost
configuration parameter in launchpad plugin
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag maven-launchpad-plugin-2.0.10
in repository https://gitbox.apache.org/repos/asf/sling-maven-launchpad-plugin.git
commit 74b72b99bc4dbb9ca43b2c1719f2629273a7c202
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Tue Apr 13 01:02:19 2010 +0000
exposing controlHost configuration parameter in launchpad plugin
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/maven/maven-launchpad-plugin@933457 13f79535-47bb-0310-9956-ffa450edef68
---
src/main/java/org/apache/sling/maven/projectsupport/StartMojo.java | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/maven/projectsupport/StartMojo.java b/src/main/java/org/apache/sling/maven/projectsupport/StartMojo.java
index 7be272a..ee89dff 100644
--- a/src/main/java/org/apache/sling/maven/projectsupport/StartMojo.java
+++ b/src/main/java/org/apache/sling/maven/projectsupport/StartMojo.java
@@ -38,12 +38,17 @@ public class StartMojo extends AbstractLaunchpadStartingPlugin {
private int controlPort;
/**
+ * @parameter expression="${sling.control.host}"
+ */
+ private String controlHost;
+
+ /**
* {@inheritDoc}
*/
@Override
protected Sling startSling(ResourceProvider resourceProvider, final Map<String, String> props, Logger logger)
throws BundleException {
- new ControlListener(this, getLog(), null, controlPort).listen();
+ new ControlListener(this, getLog(), controlHost, controlPort).listen();
return new Sling(this, logger, resourceProvider, props) {
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.