You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by fm...@apache.org on 2007/09/21 08:10:26 UTC

svn commit: r577993 - /incubator/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployMojo.java

Author: fmeschbe
Date: Thu Sep 20 23:10:25 2007
New Revision: 577993

URL: http://svn.apache.org/viewvc?rev=577993&view=rev
Log:
Remove default value from obr parameter

Modified:
    incubator/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployMojo.java

Modified: incubator/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployMojo.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployMojo.java?rev=577993&r1=577992&r2=577993&view=diff
==============================================================================
--- incubator/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployMojo.java (original)
+++ incubator/sling/trunk/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/BundleDeployMojo.java Thu Sep 20 23:10:25 2007
@@ -46,7 +46,10 @@
 import org.apache.maven.project.MavenProject;
 
 /**
- * Deploy a JAR representing an OSGi Bundle.
+ * Deploy a JAR representing an OSGi Bundle. This method posts the bundle built
+ * by maven to an OSGi Bundle Repository accepting the bundle. The plugin uses
+ * a </em>multipart/format-data</em> POST request to just post the file to
+ * the URL configured in the <code>obr</code> property. 
  *
  * @goal deploy
  * @phase deploy
@@ -71,9 +74,10 @@
     private String jarName;
 
     /**
-     * The URL of the OBR.
-     *
-     * @parameter expression="${obr}" default-value="http://obr.dev.day.com"
+     * The URL to the OSGi Bundle repository to which the bundle is posted,
+     * e.g. <code>http://obr.sample.com</code>
+     * 
+     * @parameter expression="${obr}"
      * @required
      */
     private String obr;