Hi Raj, hi JB, thanks for the clarification. I guess I will take a look at Tycho but I am a bit hesitant as these additional plugins/configs would only be worthwile for development and debugging in EIK/Eclipse but do not have any benefit for the final applications which neither need Tycho nor run in Eclipse.
Especially this has got me worried: >>>Tycho has a problem that it wont resolve the dependencies form Maven repositories. It uses Eclipse p2 repositories for dependencies resolution. One way to do that quickly is to create a local p2 repository from Eclipse platform. Is there an alternative to configure my pom without using Tycho so that PDE/EIK finds what it needs to deploy my bundles to EIK configured Karaf ? @JB, You mean setting up different profiles for building in Eclipse/EIK and for building outside like in CI (Jenkins) ?? Thanks and Regards, Michael 2012/10/1 Jean-Baptiste Onofré <[email protected]> > FYI, > > EIK already use tycho maven plugin. For instance, you can take a look on: > > http://svn.apache.org/repos/**asf/karaf/eik/trunk/plugins/** > org.apache.karaf.eik.core/pom.**xml<http://svn.apache.org/repos/asf/karaf/eik/trunk/plugins/org.apache.karaf.eik.core/pom.xml> > > Regards > JB > > > On 10/01/2012 03:15 PM, Rajbir Saini wrote: > >> Hi Michael, >> >> Have you looked at Eclipse Tycho maven plugin? This plugin provides >> Maven and Eclipse PDE integration. You can create bundles using PDE and >> then generate the POM with the plugin. POM generation will automatically >> resolve the Maven dependencies based bundle manifest. Thereafter, you >> can use the normal build process to build your bundles using Maven build >> process. >> >> Tycho has a problem that it wont resolve the dependencies form Maven >> repositories. It uses Eclipse p2 repositories for dependencies >> resolution. One way to do that quickly is to create a local p2 >> repository from Eclipse platform. >> >> Regards, >> >> Raj >> >> On Monday 01 October 2012 06:08 PM, Michael Täschner wrote: >> >>> Hi JB, >>> >>> I would rather not apply the PDE constraints on our application bundle >>> but rather work with plain maven-bundle-plugin generated bundles. As >>> most of Karaf is also based on maven-bundle-plugin/bnd I do not >>> understand why in this case application bundles need to be based on >>> PDE profile ? >>> >>> Is there an easily manageable approach where we can develop our >>> bundles using maven-bundle-plugin while also providing support for PDE >>> profile for debugging using our customized Karaf installation, >>> configured in Eclipse, using EIK ? I would like to keep extra >>> configuration (PDE) as minimal as possible as this would be for >>> development only. >>> >>> Thanks and Regards, >>> Michael >>> >>> 2012/10/1 Jean-Baptiste Onofré <[email protected] <mailto:[email protected] >>> >> >>> >>> >>> Hi Michael, >>> >>> m2e (for EIK build) support is in progress. >>> >>> But, we want to improve the converage (why not leveraging PDE >>> projects, etc). >>> >>> All proposals are welcome. >>> >>> Regards >>> JB >>> >>> >>> On 10/01/2012 12:17 PM, Michael Täschner wrote: >>> >>> Hi JB, >>> >>> another question regarding EIK: Will it support Eclipse Maven >>> projects >>> (M2E, maven-bundle-plugin) or is the focus on PDE projects ? >>> As our >>> projects are all based on Maven (and Karaf as well) I would >>> welcome >>> support for projects handled with M2E in Eclipse. >>> >>> Thanks and Regards, >>> Michael >>> >>> 2012/9/18 Jean-Baptiste Onofré <[email protected] >>> <mailto:[email protected]> <mailto:[email protected] >>> <mailto:[email protected]>>> >>> >>> >>> Hi Michael, >>> >>> EIK is a Karaf subproject, so it means with its own >>> release cycle. >>> >>> I aim to be able to cut off a first EIK release before >>> 3.0.0 (using >>> Karaf 2.2.x or 2.3.x). >>> >>> Regards >>> JB >>> >>> >>> On 09/17/2012 07:55 PM, Michael Täschner wrote: >>> >>> Ok, thanks for the info. I picked up from git and it >>> compiles. >>> Testing >>> in Eclipse is next. >>> >>> So the EIK under Karaf control will be ready for 3.0.0 >>> ? ;) >>> >>> Thanks, >>> Michael >>> >>> 2012/9/17 Jean-Baptiste Onofré <[email protected] >>> <mailto:[email protected]> >>> <mailto:[email protected] <mailto:[email protected]>> >>> <mailto:[email protected] <mailto:[email protected]> >>> >>> <mailto:[email protected] <mailto:[email protected]>>>> >>> >>> >>> >>> Hi guys, >>> >>> I second Filippo ;) >>> >>> Regards >>> JB >>> >>> >>> On 09/17/2012 04:14 PM, Filippo Balicchia wrote: >>> >>> Hey Michael, >>> EIK is on JB high TODO this week. >>> >>> If you hurry you can downlaod old code >>> compile it and >>> load it >>> from local. >>> If you need to know how to use it feel free >>> to ask >>> >>> >>> Regards >>> >>> --Filippo >>> >>> >>> >>> 2012/9/17 Michael Täschner >>> <[email protected] <mailto:[email protected]> >>> <mailto:[email protected] >>> <mailto:[email protected]>**> >>> <mailto:[email protected] >>> <mailto:[email protected]> >>> <mailto:[email protected] >>> <mailto:[email protected]>**>>__>: >>> >>> >>> >>> Hi, >>> >>> just wanted to ask what the current >>> status of the >>> "Eclipse >>> Integration of >>> Karaf" project is. I tried installing >>> from update >>> site but >>> ran into issue of >>> missing requirement with org.slf4j >>> version "0.0.0". >>> So I >>> checked out latest >>> from trunk, build locally and imported >>> into Eclipse >>> but I >>> can't get beyond >>> creating the Apache karaf installation >>> setup. The >>> window >>> where I enter the >>> project name and path to the karaf >>> installation >>> will not >>> close on "Finish" >>> and I am left with a new project folder >>> containing only >>> .project file only >>> with project name. >>> >>> EIK version: Eclipse Integration for >>> Apache Karaf >>> 3.0.0.201209171047 >>> >>> org.apache.karaf.eik.feature._**___feature.group >>> >>> >>> Karaf version: 2.2.9 >>> Eclipse: Modified 3.6 Helios WTP + Spring >>> + div. >>> Plugins >>> >>> Thanks and Regards, >>> Michael >>> >>> >>> -- >>> Jean-Baptiste Onofré >>> [email protected] <mailto:[email protected]> >>> <mailto:[email protected] <mailto:[email protected]>> >>> <mailto:[email protected] >>> <mailto:[email protected]> <mailto:[email protected] >>> <mailto:[email protected]>>> >>> >>> >>> http://blog.nanthrax.net >>> Talend - http://www.talend.com >>> >>> >>> >>> -- >>> Jean-Baptiste Onofré >>> [email protected] <mailto:[email protected]> >>> <mailto:[email protected] <mailto:[email protected]>> >>> http://blog.nanthrax.net >>> Talend - http://www.talend.com >>> >>> >>> >>> -- >>> Jean-Baptiste Onofré >>> [email protected] <mailto:[email protected]> >>> http://blog.nanthrax.net >>> Talend - http://www.talend.com >>> >>> >>> >> > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com >
