You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2017/03/10 09:30:53 UTC

svn commit: r1786311 - in /sling/trunk/tooling/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport: BundleInstallMojo.java BundleUninstallMojo.java

Author: kwin
Date: Fri Mar 10 09:30:53 2017
New Revision: 1786311

URL: http://svn.apache.org/viewvc?rev=1786311&view=rev
Log:
improve mojo description for generated maven site

Modified:
    sling/trunk/tooling/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleInstallMojo.java
    sling/trunk/tooling/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleUninstallMojo.java

Modified: sling/trunk/tooling/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleInstallMojo.java
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleInstallMojo.java?rev=1786311&r1=1786310&r2=1786311&view=diff
==============================================================================
--- sling/trunk/tooling/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleInstallMojo.java (original)
+++ sling/trunk/tooling/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleInstallMojo.java Fri Mar 10 09:30:53 2017
@@ -26,9 +26,10 @@ import org.apache.maven.plugins.annotati
  * Install an OSGi bundle to a running Sling instance.
  * The plugin places an HTTP POST request to
  * <a href="http://felix.apache.org/documentation/subprojects/apache-felix-web-console/web-console-restful-api.html#post-requests">Felix Web Console</a>.
- * It's also possible to HTTP PUT instead of POST leveraging the <a href="https://sling.apache.org/documentation/development/repository-based-development.html">WebDAV bundle from Sling</a>.
- * Since version 2.1.8 you can also leverage the Sling POST servlet for that.
- * 
+ * It's also possible to HTTP PUT instead of POST leveraging the <a href="http://sling.apache.org/documentation/development/repository-based-development.html">WebDAV bundle from Sling</a>.
+ * Since version 2.1.8 you can also leverage the the <a href="http://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html">Sling POST servlet</a>
+ * for that The chosen method depends on the parameter {@link #deploymentMethod}.
+ * <br>
  * <p><strong>Intermediate Node Creation</strong></p>
  * <p>
  * For all <code>deploymentMethod</code>s except WebDAV the bundle is not directly deployed within the OSGi container,

Modified: sling/trunk/tooling/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleUninstallMojo.java
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleUninstallMojo.java?rev=1786311&r1=1786310&r2=1786311&view=diff
==============================================================================
--- sling/trunk/tooling/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleUninstallMojo.java (original)
+++ sling/trunk/tooling/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleUninstallMojo.java Fri Mar 10 09:30:53 2017
@@ -35,8 +35,12 @@ import org.apache.sling.maven.bundlesupp
 
 /**
  * Uninstall an OSGi bundle from a running Sling instance.
- * The plugin uninstalles a bundle via a HTTP <code>POST</code> request.
- * It's also possible to use HTTP <code>DELETE</code> instead of <code>POST</code> for WebDAV.
+ * 
+ * The plugin places by default an HTTP POST request to <a href="http://felix.apache.org/documentation/subprojects/apache-felix-web-console/web-console-restful-api.html#post-requests">
+ * Felix Web Console</a> to uninstall the bundle.
+ * It's also possible to use HTTP DELETE leveraging the <a href="http://sling.apache.org/documentation/development/repository-based-development.html">WebDAV bundle from Sling</a>.
+ * or the <a href="http://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html">Sling POST servlet</a> to uninstall the bundle. 
+ * The chosen method depends on the parameter {@link #deploymentMethod}.
  */
 @Mojo(name = "uninstall")
 public class BundleUninstallMojo extends AbstractBundleInstallMojo {