title: Unresolved constraint in bundles-osgi.wiring.package=com.mashape.unirest.http (version>=2.0.0)(!(version>=3.0.0))
body: <p>I am trying to deploy a bundle on fuse server after making few changes in it. I have added unirest dependency to perform REST calls.</p>
  <p>The build is working fine on local machine and on Jenkins, but the bundle is throwing error and not getting deployed on fuse server.</p>
  <p>It is throwing below error:</p>
  <pre><code>Unable to start bundle 3716: 
    unresolved constraint in bundle com.......component.sharepoint [3716] :
     unable to resolve 3761.0 :
       missing  requirment (3761.0 ) (&amp;(osgi.wiring.package;(&amp;(osgi.wiring.package=com.mashape.unirest.http)(version&gt;=2.0.0)(!(version&gt;=3.0.0)))
  </code></pre>
  <p>Below is my pom.xml:</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd&quot;&gt;
  
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;parent&gt;
          &lt;groupId&gt;******confidential****&lt;/groupId&gt;
          &lt;artifactId&gt;parent&lt;/artifactId&gt;
          &lt;version&gt;2.0.0-SNAPSHOT&lt;/version&gt;
          &lt;relativePath&gt;../parent&lt;/relativePath&gt;
      &lt;/parent&gt;
  
      &lt;artifactId&gt;sharepoint&lt;/artifactId&gt;
      &lt;packaging&gt;bundle&lt;/packaging&gt;
  
      &lt;name&gt;Fuse : Component : SharePoint&lt;/name&gt;
      &lt;url&gt;******&lt;/url&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;commons-codec&lt;/groupId&gt;
              &lt;artifactId&gt;commons-codec&lt;/artifactId&gt;
              &lt;version&gt;${commons.coded.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;***************&lt;/groupId&gt;
              &lt;artifactId&gt;vendorcache&lt;/artifactId&gt;
              &lt;version&gt;${vendorcache.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
              &lt;artifactId&gt;commons-io&lt;/artifactId&gt;
              &lt;version&gt;${commons-io.version}&lt;/version&gt;
          &lt;/dependency&gt;
          
          &lt;dependency&gt;
              &lt;groupId&gt;com.mashape.unirest&lt;/groupId&gt;
              &lt;artifactId&gt;unirest-java&lt;/artifactId&gt;
              &lt;version&gt;1.4.9&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
      
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-bundle-plugin&lt;/artifactId&gt;
                  &lt;version&gt;${maven-bundle-plugin.version}&lt;/version&gt;
                  &lt;extensions&gt;true&lt;/extensions&gt;
                  &lt;configuration&gt;
                      &lt;instructions&gt;
                          &lt;Bundle-SymbolicName&gt;${project.parent.groupId}.${project.artifactId}&lt;/Bundle-SymbolicName&gt;
                          &lt;Bundle-Name&gt;${project.parent.groupId}.${project.artifactId}&lt;/Bundle-Name&gt;
                          &lt;Export-Package&gt;
                              ${project.parent.groupId}.${project.artifactId}.*
                          &lt;/Export-Package&gt;
                          &lt;Import-Package&gt;*&lt;/Import-Package&gt;
                          &lt;Embed-Dependency&gt;com.mashape.unirest;scope=compile|runtime;inline=true&lt;/Embed-Dependency&gt;
                          &lt;Embed-Transitive&gt;true&lt;/Embed-Transitive&gt;
                      &lt;/instructions&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
  &lt;/project&gt;
  </code></pre>