You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by christopher-johnson <gi...@git.apache.org> on 2018/05/01 07:20:55 UTC

[GitHub] jena issue #411: Include TDB2 in the jena-osgi module

Github user christopher-johnson commented on the issue:

    https://github.com/apache/jena/pull/411
  
    BND reads the import packages from the jar manifest, which would include the bundle requirements when deployed.  The question is whether a resolver (like Aether[1] ) can locate the coordinates for transitive dependencies in a provided scope (that are not explicitly referenced bundles)?  The pattern seems to be for the other provided scopes that these transitive dependency coordinates are identified explicitly (like` jsonld-java`).
    
    This could be tested with something like this:
    `karaf@root()> bundle:install mvn:org.apache.jena/jena-osgi:3.8.0-SNAPSHOT `
    
    It might work, but it would have to read the pom.xml from `tbd2`  and then `trans-data` in separate resolution requests.  Also, not sure what happens if `trans-data`, etc. are deployed in OSGI without BND manifests.
    
      [1] http://wiki.eclipse.org/Aether/Transitive_Dependency_Resolution


---