Re: [osgi-dev] H2 Database DataSourceFactory

2016-06-09 Thread Paul F Fraser
Hi, Signed up on JPM4j site, logged in, but could not find how to introduce new jar. Anyone advise if possible and how. I want to add or find org.osgi.service.jdbc Paul On 10/06/2016 2:26 AM, Raymond Auge wrote: ... at least that's what I understood from how I fixed the portlet artifacts

Re: [osgi-dev] H2 Database DataSourceFactory

2016-06-09 Thread Raymond Auge
... at least that's what I understood from how I fixed the portlet artifacts in jpm4j several months ago ... - Ray On Thu, Jun 9, 2016 at 12:24 PM, Raymond Auge wrote: > jpm4j doesn't know on it's own what is the most relevant artifact to use. > I believe it will

Re: [osgi-dev] H2 Database DataSourceFactory

2016-06-09 Thread Raymond Auge
jpm4j doesn't know on it's own what is the most relevant artifact to use. I believe it will assume that the artifact with the most recent release date is most relevant. However, we can teach jpm4j how to behave (because it's impossible for jmp4j to figure this out on it's own... although it tries

Re: [osgi-dev] H2 Database DataSourceFactory

2016-06-09 Thread Christian Schneider
Please use the original one. org.ops4j.pax.jdbc contains more than the spec bundle. The new pax-jdbc releases do not embed the jdbc spec bundle anymore. Instead it also uses the one from the OSGi alliance I mentioned. Btw. Strange that jpm does not find the official one. Christian On

Re: [osgi-dev] H2 Database DataSourceFactory

2016-06-09 Thread Paul F Fraser
Thanks, Christian, JPM finds org.ops4j.pax.jdbc but search in Maven finds org.osgi.service.jdbc. I presume both are suitable. Paul On 9/06/2016 8:49 PM, Christian Schneider wrote: Since R6 there are now separate bundles for each spec. You should use this bundle instead of the full spec jar.

Re: [osgi-dev] H2 Database DataSourceFactory

2016-06-09 Thread Christian Schneider
Since R6 there are now separate bundles for each spec. You should use this bundle instead of the full spec jar. http://search.maven.org/#artifactdetails|org.osgi|org.osgi.service.jdbc|1.0.0|jar Christian On 09.06.2016 12:41, Paul F Fraser wrote: Hi, I have been using the H2