title: how to deploy OSGI bundle to CQ5 system console through command prompt or through maven command
body: <p>I have a project requirement to deploy the OSGI bundle(packaged as JAR) in CQ5 system console from command prompt or maven command.</p>
  
  <p><strong>what I looking for -</strong> 
  Is there any way ,I can deploy my available OSGI bundle that is packaged as Jar to the CQ5 system console directly using command prompt or maven command.</p>
  
  <p><strong>what I tried -</strong>
  I found a way that this can be achieved through - "cURL", below is the command for this :</p>
  
  <pre><code>curl -u admin:admin -F action=install -F bundlestartlevel=20 -F bundlefile=@"C:\osgi-work\demo-file-search-bundle-1.0-SNAPSHOT.jar" http://localhost:4502/system/console/bundles
  </code></pre>
  
  <p>but as per the requirement,I can't restrict user to first install <strong>"cURL"</strong> then run the command.</p>
  
  <p>Is there any workaround to install my OSGI bundle directly to CQ5 console manager.</p>