{"action":"closed","issue":{"url":"https://api.github.com/repos/TomDmitriev/gradle-bundle-plugin/issues/32","labels_url":"https://api.github.com/repos/TomDmitriev/gradle-bundle-plugin/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/TomDmitriev/gradle-bundle-plugin/issues/32/comments","events_url":"https://api.github.com/repos/TomDmitriev/gradle-bundle-plugin/issues/32/events","html_url":"https://github.com/TomDmitriev/gradle-bundle-plugin/issues/32","id":67322216,"number":32,"title":"Import Package not working properly when we create beans osgi blueprint xml","user":{"login":"nagaraj-shan","id":980601,"avatar_url":"https://avatars.githubusercontent.com/u/980601?v=3","gravatar_id":"","url":"https://api.github.com/users/nagaraj-shan","html_url":"https://github.com/nagaraj-shan","followers_url":"https://api.github.com/users/nagaraj-shan/followers","following_url":"https://api.github.com/users/nagaraj-shan/following{/other_user}","gists_url":"https://api.github.com/users/nagaraj-shan/gists{/gist_id}","starred_url":"https://api.github.com/users/nagaraj-shan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nagaraj-shan/subscriptions","organizations_url":"https://api.github.com/users/nagaraj-shan/orgs","repos_url":"https://api.github.com/users/nagaraj-shan/repos","events_url":"https://api.github.com/users/nagaraj-shan/events{/privacy}","received_events_url":"https://api.github.com/users/nagaraj-shan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-09T09:39:04Z","updated_at":"2015-10-30T05:56:07Z","closed_at":"2015-10-30T05:56:07Z","body":"I have create beans in blueprint.xml I gave import-package \"*\". While generating manifest.mf it does not consider the classes from blueprint.xml. Because of that it throwing class not found exception while deploying this bundle in Karaf. Maven felix bundle plugin resolves the dependencies including classes from bundle.xml\r\n\r\n\r\n------Generated throw gradle Plugin \r\nManifest-Version: 1.0\r\nBundle-Blueprint: OSGI-INF/blueprint/blueprint.xml\r\nBundle-Description: Quixey Camel Servlet\r\nBundle-DocURL: http://www.quixey.com\r\nBundle-ManifestVersion: 2\r\nBundle-Name: com.quixey.api.quixey-camel-servlet\r\nBundle-SymbolicName: com.quixey.api.quixey-camel-servlet\r\nBundle-Vendor: Quixey\r\nBundle-Version: 1.0.0\r\nCreated-By: 1.8.0_40 (Oracle Corporation)\r\nEmbed-Dependency: *;inline=false\r\nImport-Package: org.apache.camel;version=\"[2.14,3)\",org.apache.camel.bui\r\n lder;version=\"[2.14,3)\",org.apache.camel.karaf.commands.internal;versio\r\n n=\"[2.14,3)\",org.apache.camel.model;version=\"[2.14,3)\",org.osgi.framewo\r\n rk;version=\"[1.6,2)\",org.slf4j\r\nPrivate-Package: 404.html,com.quixey.api.service,logback.xml\r\nRequire-Capability: osgi.ee;filter:=\"(&(osgi.ee=JavaSE)(version=1.8))\"\r\nTool: Bnd-2.4.0.201411031534\r\n\r\n----- Generated using Maven.\r\nManifest-Version: 1.0\r\nBnd-LastModified: 1428556803999\r\nBuild-Jdk: 1.8.0_40\r\nBuilt-By: nagarajan\r\nBundle-Activator: com.quixey.api.service.QuixeyServiceActivator\r\nBundle-Blueprint: OSGI-INF/blueprint/blueprint.xml\r\nBundle-Description: An example using Servlet REST with OSGi Blueprint\r\nBundle-ManifestVersion: 2\r\nBundle-Name: Camel :: Example :: Servlet\r\nBundle-SymbolicName: com.quixey.api.quixey-camel-servlet\r\nBundle-Version: 1.0.0.SNAPSHOT\r\nCreated-By: Apache Maven Bundle Plugin\r\nExport-Package: com.quixey.api.service;uses:=\"org.apache.camel,org.apach\r\n e.camel.builder,org.osgi.framework\";version=\"1.0.0\"\r\nExport-Service: org.apache.camel.component.servlet.HttpRegistry,org.ops4\r\n j.pax.web.extender.whiteboard.ErrorPageMapping,org.ops4j.pax.web.extend\r\n er.whiteboard.WelcomeFileMapping\r\nImport-Package: org.apache.camel;version=\"[2.14,3)\",org.apache.camel.bui\r\n lder;version=\"[2.14,3)\",org.apache.camel.component.servlet;version=\"[2.\r\n 14,3)\",org.apache.camel.component.servlet.osgi;version=\"[2.14,3)\",org.a\r\n pache.camel.karaf.commands.internal;version=\"[2.14,3)\",org.apache.camel\r\n .model;version=\"[2.14,3)\",org.ops4j.pax.web.extender.whiteboard;version\r\n =\"[4.1,5)\",org.ops4j.pax.web.extender.whiteboard.runtime;version=\"[4.1,\r\n 5)\",org.osgi.framework;version=\"[1.7,2)\",org.osgi.service.blueprint;ver\r\n sion=\"[1.0.0,2.0.0)\",org.osgi.service.http;version=\"[1.2,2)\",org.slf4j\r\nImport-Service: org.osgi.service.http.HttpService;multiple:=false\r\nRequire-Capability: osgi.ee;filter:=\"(&(osgi.ee=JavaSE)(version=1.5))\"\r\nTool: Bnd-2.3.0.201405100607"}}