Hi Tim,

I was referring to the bundle versions not automatically generated in the 
bundle list. I am using Bndtools eclipse plugin and I drag and drop bundles but 
it doesn’t create semantic version of those bundles only the bundle symbolic 
names so I still have to manually add the version for each bundle from running 
mvn package output. Also, the  requirement bundle is different from the example 
in the enroute tutorial. As enroute tutorial has bnd.entity this is not in bnd 
generation output. Would this be a problem using the requirement output from 
Eclipse

        [cid:image001.png@01D558FC.8D627320]


bnd.identity;version='0.0.1.201801031655';id='org.osgi.enroute.examples.microservice.rest-app'

index: target/index.xml;name="acm"

-standalone: ${index}

-runrequires: 
osgi.identity;filter:='(osgi.identity=com.abc.zyx.men.cbs-service)',\
    osgi.identity;filter:='(osgi.identity=org.apache.johnzon.core)',\
    osgi.identity;filter:='(osgi.identity=org.h2)',\
    osgi.identity;filter:='(osgi.identity=com.abc.zyx.xbs)'
-runfw: org.eclipse.osgi
-runee: JavaSE-1.8

I am also getting  error below as javax.persistence.spi.PersistenceProvider is 
required when I try to resolve. <- Do I need to add this bundle?

[ERROR] Resolution failed. Capabilities satisfying the following requirements 
could not be found:
    [<<INITIAL>>]
      ? osgi.identity: (osgi.identity=com.abc.xyz.acm)
    [org.apache.aries.jpa.container version=2.7.0]
      ? osgi.service: (objectClass=javax.persistence.spi.PersistenceProvider)
The following requirements are optional:


Thanks,

Kevin Matthews
Sr Application Analyst – Rapid Connect Development
Global Business Solutions
Office: 954-845-4222 | Mobile: 561-465-6694
kevin.matth...@firstdata.com<mailto:kevin.matth...@firstdata.com>

[../../542772%20Day%20One%20Collateral/DayOne%20Logo%20Files%202-22-19/Primary-Stair-stepped-SMALL%20USAGE/FirstData-Fiserv-PrimaryLogoLockup2-small-RGB.png]

Fiserv<https://www.fiserv.com/> | Join Our 
Team<https://www.careers.fiserv.com/> | Twitter<https://twitter.com/fiserv/> | 
LinkedIn<https://www.linkedin.com/company/fiserv/> | 
Facebook<https://www.facebook.com/Fiserv/>
FORTUNE Magazine World's Most Admired Companies® 2014 | 2015 | 2016 | 2017 | 
2018 | 2019
© 2019 Fiserv, Inc. or its affiliates. Fiserv is a registered trademark of 
Fiserv, Inc. Privacy 
Policy<https://urldefense.proofpoint.com/v2/url?u=http-3A__fiserv.com_about_privacypolicy.aspx&d=DwMGaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=DhuxLF27WYthG-oLriBpSFsbSw1I5i2d895wxh8VY20&m=BIEknoCR_FKxnPpOj0Y-Bee0m8jPof-E79bKGvU0u9U&s=b7HNbknTsxVdKPi_kXbH7pz31TqQJrr_tXTxCa1kKPI&e=>






From: Tim Ward <tim.w...@paremus.com>
Sent: Thursday, August 22, 2019 12:24 PM
To: Matthews, Kevin <kevin.matth...@firstdata.com>; OSGi Developer Mail List 
<osgi-dev@mail.osgi.org>
Subject: [FDC-External]: Re: [osgi-dev] Enroute Tutorial - generating indexes

Hi Kevin,

Have you installed Bndtools? If not then it is highly recommended to make your 
development more productive. You can see how it is used in 
https://enroute.osgi.org/tutorial/020-tutorial_qs.html#resolving-the-application<https://urldefense.proofpoint.com/v2/url?u=https-3A__enroute.osgi.org_tutorial_020-2Dtutorial-5Fqs.html-23resolving-2Dthe-2Dapplication&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=xzFH30A3OPxfKfiyK-vqh1ma0NDAPk1Jpoml8sizZBU&s=RE_2o4ObFLePdH7UnY_GKObH3sfoTJl4Gb7n-IlD1qA&e=>
 - you can also drag and drop bundles from the repository view into the run 
requirements.

I hope this helps,

Best Regards,

Tim


On 22 Aug 2019, at 17:20, Matthews, Kevin via osgi-dev 
<osgi-dev@mail.osgi.org<mailto:osgi-dev@mail.osgi.org>> wrote:

Hello,
I am using eclipse and osgi archetypes as define in osgi enroute tutorial. When 
I run mvn package to generate my indexes and resolve requirement capabilities 
using both eclipse and windows cmd, is there an easier way to add the required 
dependencies to the run bundles and run requirements? Or do we have to manually 
look  at all the dependencies and add to my run bundle?


[ERROR] Resolution failed. Capabilities satisfying the following requirements 
could not be found:
    [<<INITIAL>>]
      ? osgi.identity: (osgi.identity=com.abc.service.app)
    [org.apache.aries.jpa.container version=2.7.0]
      ? osgi.service: (objectClass=javax.persistence.spi.PersistenceProvider)
The following requirements are optional:
    [tx-control-provider-jdbc-xa version=1.0.0]
      ? osgi.service: (objectClass=org.osgi.service.jdbc.DataSourceFactory)
    [org.apache.aries.jax.rs.whiteboard version=1.0.1]
      ? osgi.extender: (osgi.extender=osgi.serviceloader.registrar)
    [com.abc.acm.cc.cm-service version=0.0.1.201908221510]
      ? osgi.service: (osgi.jaxrs.media.type=application/json)
    [org.apache.felix.scr version=2.1.10]
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.apache.felix.shell)(&(version>=1.0.0)(!(version>=1.1.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.apache.felix.service.command)(&(version>=1.0.0)(!(version>=2.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.osgi.service.metatype)(&(version>=1.2.0)(!(version>=2.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.osgi.service.cm)(&(version>=1.6.0)(!(version>=2.0.0))))
    [org.apache.geronimo.specs.geronimo-saaj_1.3_spec version=1.1.0]
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.apache.geronimo.osgi.registry.api))
    [ch.qos.logback.core version=1.2.3]
      ? osgi.wiring.package: (&(osgi.wiring.package=org.codehaus.janino))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.codehaus.commons.compiler))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.fusesource.jansi)(&(version>=1.9.0)(!(version>=2.0.0))))
      ? osgi.wiring.package: (&(osgi.wiring.package=javax.mail.internet))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=javax.servlet)(&(version>=3.1.0)(!(version>=4.0.0))))
      ? osgi.wiring.package: (&(osgi.wiring.package=javax.mail))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=javax.servlet.http)(&(version>=3.1.0)(!(version>=4.0.0))))
    [tx-control-provider-jpa-xa version=1.0.0]
      ? osgi.service: (objectClass=org.osgi.service.jdbc.DataSourceFactory)
      ? osgi.service: 
(objectClass=org.osgi.service.jpa.EntityManagerFactoryBuilder)
    [org.apache.felix.configadmin version=1.9.8]
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.osgi.service.coordinator)(&(version>=1.0.0)(!(version>=2.0.0))))
    [ch.qos.logback.classic version=1.2.3]
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.codehaus.groovy.runtime.callsite)(&(version>=2.4.0)(!(version>=3.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.codehaus.groovy.runtime.wrappers)(&(version>=2.4.0)(!(version>=3.0.0))))
      ? osgi.wiring.package: (&(osgi.wiring.package=sun.reflect))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=javax.servlet)(&(version>=3.1.0)(!(version>=4.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.codehaus.groovy.reflection)(&(version>=2.4.0)(!(version>=3.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.codehaus.groovy.runtime.typehandling)(&(version>=2.4.0)(!(version>=3.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.codehaus.groovy.runtime)(&(version>=2.4.0)(!(version>=3.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=groovy.lang)(&(version>=2.4.0)(!(version>=3.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.codehaus.groovy.control.customizers)(&(version>=2.4.0)(!(version>=3.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.codehaus.groovy.control)(&(version>=2.4.0)(!(version>=3.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=javax.servlet.http)(&(version>=3.1.0)(!(version>=4.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.codehaus.groovy.transform)(&(version>=2.4.0)(!(version>=3.0.0))))
    [org.apache.felix.http.jetty version=4.0.6]
      ? osgi.wiring.package: (&(osgi.wiring.package=org.slf4j.helpers))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.osgi.service.cm)(&(version>=1.3.0)(!(version>=2.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.osgi.service.metatype)(&(version>=1.1.0)(!(version>=2.0.0))))
      ? osgi.wiring.package: (&(osgi.wiring.package=org.slf4j.spi))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.osgi.service.event)(&(version>=1.2.0)(!(version>=2.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.osgi.service.useradmin)(&(version>=1.1.0)(!(version>=2.0.0))))
      ? osgi.wiring.package: (&(osgi.wiring.package=org.slf4j))
    [org.apache.geronimo.specs.geronimo-activation_1.1_spec version=1.1.0]
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.apache.geronimo.osgi.registry.api))
    [org.h2 version=1.4.196]
      ? osgi.wiring.package: (&(osgi.wiring.package=javax.servlet.http))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.apache.lucene.store)(&(version>=3.6.2)(!(version>=4.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.osgi.service.jdbc)(version>=1.0.0))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.apache.lucene.util)(&(version>=3.6.2)(!(version>=4.0.0))))
      ? osgi.wiring.package: (&(osgi.wiring.package=javax.servlet))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=com.vividsolutions.jts.io<https://urldefense.proofpoint.com/v2/url?u=http-3A__com.vividsolutions.jts.io_&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=xzFH30A3OPxfKfiyK-vqh1ma0NDAPk1Jpoml8sizZBU&s=1BTOuNrcj9L0Y4YubCsB7m_T_PMzuIF_iceyl-K-Kc0&e=>)(version>=1.14.0))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.slf4j)(&(version>=1.6.0)(!(version>=1.7.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=com.vividsolutions.jts.geom)(version>=1.14.0))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.apache.lucene.queryParser)(&(version>=3.6.2)(!(version>=4.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.apache.lucene.search)(&(version>=3.6.2)(!(version>=4.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.apache.lucene.analysis)(&(version>=3.6.2)(!(version>=4.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.apache.lucene.index)(&(version>=3.6.2)(!(version>=4.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.apache.lucene.analysis.standard)(&(version>=3.6.2)(!(version>=4.0.0))))
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.apache.lucene.document)(&(version>=3.6.2)(!(version>=4.0.0))))
    [org.apache.aries.javax.jax.rs-api version=1.0.0]
      ? osgi.wiring.package: 
(&(osgi.wiring.package=org.apache.geronimo.osgi.registry.api))

Thanks,

Kevin Matthews
Sr Application Analyst – Rapid Connect Development
Global Business Solutions
Office: 954-845-4222 | Mobile: 561-465-6694
kevin.matth...@firstdata.com<mailto:kevin.matth...@firstdata.com>

<image003.png>

Fiserv<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.fiserv.com_&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=xzFH30A3OPxfKfiyK-vqh1ma0NDAPk1Jpoml8sizZBU&s=gDwdhXDXVmbGbrf1X9Qqb4UuktX5NghS2ZaHoTvgKwM&e=>
 | Join Our 
Team<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.careers.fiserv.com_&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=xzFH30A3OPxfKfiyK-vqh1ma0NDAPk1Jpoml8sizZBU&s=zoTmEZ8TuXF4zAd01bD3Qkl6eu1FCMkf9MfsuB-vwrA&e=>
 | 
Twitter<https://urldefense.proofpoint.com/v2/url?u=https-3A__twitter.com_fiserv_&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=xzFH30A3OPxfKfiyK-vqh1ma0NDAPk1Jpoml8sizZBU&s=EFfiwRB_XeKYIRo0Ju-V4GVmeSNbrQFd9-MA2DWavcI&e=>
 | 
LinkedIn<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.linkedin.com_company_fiserv_&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=xzFH30A3OPxfKfiyK-vqh1ma0NDAPk1Jpoml8sizZBU&s=xXap4nZUBu45yB_Q36c32TyRaFPwAf2kuQq4oLGFCXc&e=>
 | 
Facebook<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.facebook.com_Fiserv_&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=xzFH30A3OPxfKfiyK-vqh1ma0NDAPk1Jpoml8sizZBU&s=vg_nPnhcbZdJivEnIrhbaVOcF9BiJNhJ84z7mczwVMA&e=>
FORTUNE Magazine World's Most Admired Companies® 2014 | 2015 | 2016 | 2017 | 
2018 | 2019
© 2019 Fiserv, Inc. or its affiliates. Fiserv is a registered trademark of 
Fiserv, Inc. Privacy 
Policy<https://urldefense.proofpoint.com/v2/url?u=http-3A__fiserv.com_about_privacypolicy.aspx&d=DwMGaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=DhuxLF27WYthG-oLriBpSFsbSw1I5i2d895wxh8VY20&m=BIEknoCR_FKxnPpOj0Y-Bee0m8jPof-E79bKGvU0u9U&s=b7HNbknTsxVdKPi_kXbH7pz31TqQJrr_tXTxCa1kKPI&e=>



The information in this message may be proprietary and/or confidential, and 
protected from disclosure. If the reader of this message is not the intended 
recipient, or an employee or agent responsible for delivering this message to 
the intended recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited. If you 
have received this communication in error, please notify First Data immediately 
by replying to this message and deleting it from your computer.
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org<mailto:osgi-dev@mail.osgi.org>
https://mail.osgi.org/mailman/listinfo/osgi-dev<https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.osgi.org_mailman_listinfo_osgi-2Ddev&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=xzFH30A3OPxfKfiyK-vqh1ma0NDAPk1Jpoml8sizZBU&s=Jc9BDtsyewI9qnW4tUdfj7atyZJrUloROpGTvxyKtG4&e=>

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to