{"action":"created","issue":{"url":"https://api.github.com/repos/reficio/p2-maven-plugin/issues/130","repository_url":"https://api.github.com/repos/reficio/p2-maven-plugin","labels_url":"https://api.github.com/repos/reficio/p2-maven-plugin/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/reficio/p2-maven-plugin/issues/130/comments","events_url":"https://api.github.com/repos/reficio/p2-maven-plugin/issues/130/events","html_url":"https://github.com/reficio/p2-maven-plugin/issues/130","id":302346755,"number":130,"title":"Failing to resolve p2 site entirely.","user":{"login":"danielburrell","id":4003348,"avatar_url":"https://avatars0.githubusercontent.com/u/4003348?v=4","gravatar_id":"","url":"https://api.github.com/users/danielburrell","html_url":"https://github.com/danielburrell","followers_url":"https://api.github.com/users/danielburrell/followers","following_url":"https://api.github.com/users/danielburrell/following{/other_user}","gists_url":"https://api.github.com/users/danielburrell/gists{/gist_id}","starred_url":"https://api.github.com/users/danielburrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielburrell/subscriptions","organizations_url":"https://api.github.com/users/danielburrell/orgs","repos_url":"https://api.github.com/users/danielburrell/repos","events_url":"https://api.github.com/users/danielburrell/events{/privacy}","received_events_url":"https://api.github.com/users/danielburrell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-05T15:36:57Z","updated_at":"2018-03-05T16:38:46Z","closed_at":null,"author_association":"NONE","body":"I recently followed your minimal example for bundling the commons library which worked fine. As an experiment I tried bundling `<id>org.apache.avro:avro:1.7.7</id>`.\r\n\r\nI successfully created a site\r\n\r\n`mvn p2:site`\r\n`[INFO] Scanning for projects...\r\n[INFO] \r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building example-p2-site 1.0.0\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] \r\n[INFO] --- p2-maven-plugin:1.1.1:site (default-cli) @ example-p2-site ---\r\n[info] Resolving artifact=[org.apache.avro:avro:1.7.7] transitive=[true] source=[false]\r\n[info] \t [JAR] avro-1.7.7.jar\r\n[info] \t [JAR] jackson-core-asl-1.9.13.jar\r\n[info] \t [JAR] jackson-mapper-asl-1.9.13.jar\r\n[info] \t [JAR] paranamer-2.3.jar\r\n[info] \t [JAR] snappy-java-1.0.5.jar\r\n[info] \t [JAR] commons-compress-1.4.1.jar\r\n[info] \t [JAR] xz-1.0.jar\r\n[info] \t [JAR] slf4j-api-1.6.4.jar\r\n[info] Executing Bundler:\r\n[info] \t [SKIP] avro-1.7.7.jar\r\n[info] Executing Bundler:\r\n[info] \t [SKIP] jackson-core-asl-1.9.13.jar\r\n[info] Executing Bundler:\r\n[info] \t [SKIP] jackson-mapper-asl-1.9.13.jar\r\n[info] Executing Bundler:\r\n[info] \t [EXEC] paranamer-2.3.jar\r\n[warn]  : Superfluous export-package instructions: [com, com.thoughtworks]\r\n[info] Executing Bundler:\r\n[info] \t [SKIP] snappy-java-1.0.5.jar\r\n[info] Executing Bundler:\r\n[info] \t [SKIP] commons-compress-1.4.1.jar\r\n[info] Executing Bundler:\r\n[info] \t [EXEC] xz-1.0.jar\r\n[warn]  : Superfluous export-package instructions: [org, org.tukaani]\r\n[info] Executing Bundler:\r\n[info] \t [SKIP] slf4j-api-1.6.4.jar\r\n[info] Resolved 0features\r\n[INFO] Command line:\r\n`\r\n\r\nWhen I went to add the p2 repo in eclipse I got\r\n\r\n`Missing requirement: Data mapper for Jackons JSON proessor 1.9.13 (jackson-mapper-ask 1.9.13) requires 'package javax.xml.datatype 0.0.0' but it could not be found.\"\r\n\r\nAs I understand it, javax.xml.datatype ships with java itself. The dependency mentioned in the error message is not the avro dependency itself, it's one of the transitive dependencies  (I think avro depends on jackson mapper which in turn depends on something in that package)\r\n\r\nWhat is the normal course of action to take here?"},"comment":{"url":"https://api.github.com/repos/reficio/p2-maven-plugin/issues/comments/370480478","html_url":"https://github.com/reficio/p2-maven-plugin/issues/130#issuecomment-370480478","issue_url":"https://api.github.com/repos/reficio/p2-maven-plugin/issues/130","id":370480478,"user":{"login":"danielburrell","id":4003348,"avatar_url":"https://avatars0.githubusercontent.com/u/4003348?v=4","gravatar_id":"","url":"https://api.github.com/users/danielburrell","html_url":"https://github.com/danielburrell","followers_url":"https://api.github.com/users/danielburrell/followers","following_url":"https://api.github.com/users/danielburrell/following{/other_user}","gists_url":"https://api.github.com/users/danielburrell/gists{/gist_id}","starred_url":"https://api.github.com/users/danielburrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielburrell/subscriptions","organizations_url":"https://api.github.com/users/danielburrell/orgs","repos_url":"https://api.github.com/users/danielburrell/repos","events_url":"https://api.github.com/users/danielburrell/events{/privacy}","received_events_url":"https://api.github.com/users/danielburrell/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T16:38:46Z","updated_at":"2018-03-05T16:38:46Z","author_association":"NONE","body":"Hmm I see, yse adding an artifact entry worked here but for example now it's asking about sun.misc 0.0.0, so then for each library in the JDK I I will end up attempting to make a bundle of it?\r\n\r\nIs there no way to describe \"trust me\" or \"that dependency lives in the JDK\"? In the maven world this would have been declared as a 'provided' dependency in the pom file. Does OSGi not have the same concept, and if so can this plugin allow me to configure it or better yet automatically figure it out? "}}
{"actor":{"display_login":"danielburrell"}}