title: Maven OSGi integration/system test
body: <p>I want maven to test if a built OSGi bundle could be installed and started successfully into an all-the-time running OSGi framework (Equinox). </p>
  
  <p>Building a valid OSGIi bundle using maven is already solved. Now, i want to make the described integration/system test. Investigations gave me the following approaches:</p>
  
  <ul>
  <li>autodeploy via Maven</li>
  <li>start + install of OSGi bundle via Felix File Install</li>
  <li>get results of bundle start via felix web console JSON API or..how easier?</li>
  <li>parse the result via shell-script and return result to maven. then, maven should eventually say "BUILD FAILED"</li>
  </ul>
  
  <p>or</p>
  
  <ul>
  <li>Using JUnit4OSGI</li>
  <li>Using Pax Exam</li>
  </ul>
  
  <p>What would you recommend and why?</p>
  
  <p>Regards
  Doe</p>