Thanks BJ. So, there is a bnd plugin referencing the FileSetRepository using the new enroute to write bundle(s) run time requirements to the bndrun file? Because I still have add my bundle dependencies/versions in this file. I think there are bnd plugins that resolve and validates the component dependencies for wiring.
From: BJ Hargrave [mailto:hargr...@us.ibm.com] Sent: Friday, July 27, 2018 10:04 AM To: Matthews, Kevin Cc: osgi-dev@mail.osgi.org Subject: RE: [osgi-dev] OSGI enroute bndrun file Well enRoute is currently maven based and uses the Bnd maven plugins which themselves use the FileSetRepository. One of the links was to one of the Bnd maven plugins using it. So you don't need to do anything to use this support. It is part of the maven and gradle plugin's support. -- BJ Hargrave Senior Technical Staff Member, IBM // office: +1 386 848 1781 OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788 hargr...@us.ibm.com ----- Original message ----- From: "Matthews, Kevin" <kevin.matth...@firstdata.com> To: BJ Hargrave <hargr...@us.ibm.com>, "osgi-dev@mail.osgi.org" <osgi-dev@mail.osgi.org> Cc: Subject: RE: [osgi-dev] OSGI enroute bndrun file Date: Fri, Jul 27, 2018 8:31 AM How do we use these java and groovy file in enroute OSGI project? For, gradle project do we reference FileSetRepositoryConvention as task in the build.gradle From: BJ Hargrave [mailto:hargr...@us.ibm.com] Sent: Thursday, July 26, 2018 3:30 PM To: Matthews, Kevin; osgi-dev@mail.osgi.org Subject: Re: [osgi-dev] OSGI enroute bndrun file The most recent versions of the gradle and maven support will make the project's dependencies available as bundles to the bndrun files. For example: https://github.com/bndtools/bnd/blob/26db7e381621f87ac81810fffe86e0c2224a6af0/maven/bnd-export-maven-plugin/src/main/java/aQute/bnd/maven/export/plugin/ExportMojo.java#L107-L109<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_bndtools_bnd_blob_26db7e381621f87ac81810fffe86e0c2224a6af0_maven_bnd-2Dexport-2Dmaven-2Dplugin_src_main_java_aQute_bnd_maven_export_plugin_ExportMojo.java-23L107-2DL109&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=AdnYHQDW32Q34Nt5H-h9IwwSECnxBgNnCGktdTrXu8g&s=qVcdF4wyB-G6EpDHg4RIvYsXqzlBhpCYHpXC7JSX_rI&e=> and https://github.com/bndtools/bnd/blob/26db7e381621f87ac81810fffe86e0c2224a6af0/biz.aQute.bnd.gradle/src/aQute/bnd/gradle/FileSetRepositoryConvention.groovy#L33-L36<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_bndtools_bnd_blob_26db7e381621f87ac81810fffe86e0c2224a6af0_biz.aQute.bnd.gradle_src_aQute_bnd_gradle_FileSetRepositoryConvention.groovy-23L33-2DL36&d=DwMFaQ&c=ewHkv9vLloTwhsKn5d4bTdoqsmBfyfooQX5O7EQLv5TtBZ1CwcvjU063xndfqI8U&r=wKHHp1xupEN1UoR2CPDlg9US2Vs3om5ld5YqSsWMQX8&m=AdnYHQDW32Q34Nt5H-h9IwwSECnxBgNnCGktdTrXu8g&s=W1nUVnMG0ZaGd6i6ZDDmyAixsgfLCmIv9XHLPeosxRI&e=> -- BJ Hargrave Senior Technical Staff Member, IBM // office: +1 386 848 1781 OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788 hargr...@us.ibm.com ----- Original message ----- From: "Matthews, Kevin via osgi-dev" <osgi-dev@mail.osgi.org> Sent by: osgi-dev-boun...@mail.osgi.org To: "osgi-dev@mail.osgi.org" <osgi-dev@mail.osgi.org> Cc: Subject: [osgi-dev] OSGI enroute bndrun file Date: Thu, Jul 26, 2018 3:05 PM Hello, I would like to know will there be any change in the future to Enroute project as to how we add dependencies to .bdnrun Requirements project. It seems, if we create an OSGI project we have to add dependencies to maven or gradle pom.xml build.gradle then we have add dependencies to our composite application .bndrun file. Will there be in the future such as a maven plugin or gradle plugin to automactically add transitive dependies to the .bndrun file. Sometimes we have to maintain 2 files build management and run requirements file and just to wire components can take time. Kevin Matthews Senior Application Analyst First Data, 3975 NW 120 Ave, Coral Springs, FL 33065 Office: 954-845-4222 | Mobile: 561-465-6694 kevin.matth...@firstdata.com<mailto:kevin.matth...@firstdata.com> | firstdata.com 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 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=AdnYHQDW32Q34Nt5H-h9IwwSECnxBgNnCGktdTrXu8g&s=p3UBAv9UwivfTQLUCwUllgXIRXw600kbONH7ooOyY-I&e=>
_______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev