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 in jpm4j several
months ago ...
- Ray
On Thu, Jun 9, 2016 at 12:24 PM, Raymond Auge <raymond.a...@liferay.com
<mailto:raymond.a...@liferay.com>> wrote:
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 really hard).
You can login to the jpm4j website and if you are a connoisseur of the API
in question, you
can mark a particular artifact as being more relevant.
In this case you could mark org.osgi.service.jdbc more relevant than
org.ops4j.pax.jdbc and
when the resolve query involves the packages which are the same, jpm will
return the most
relevant one first.
HTH,
- Ray
On Thu, Jun 9, 2016 at 7:46 AM, Christian Schneider <ch...@die-schneider.net
<mailto:ch...@die-schneider.net>> wrote:
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 09.06.2016 13:27, Paul F Fraser wrote:
Thanks, Christian,
JPM finds org.ops4j.pax.jdbc but search in Maven finds
org.osgi.service.jdbc.
I presume both are suitable.
Paul
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org <mailto:osgi-dev@mail.osgi.org>
https://mail.osgi.org/mailman/listinfo/osgi-dev
--
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
(@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)
--
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com> (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev