Hi, first about the archetype (bundle one), I don't know which archetype version you are using, but the bundle archetype use maven-bundle-plugin 4.1.0 since a while.
About Pax URL mvn repository, it uses $HOME/.m2/repository by default. If you don't use this default repo, indeed you have to specify your own local repository. I disagree with your conclusion: 1. the example features using SNAPSHOT are using LOCAL repository (not remote SNAPSHOT repository). For instance, on Jenkins, we do a maven repository remove before building. Your issue is because your local repository is probably not the default one. 2. the bundle archetype is using maven-bundle-plugin 4.1.0, maybe you are using a old archetype version 3. we provided bunch of examples (I think it's better to start from examples more than archetypes to really understand how it works, especially when we are not familiar with Maven), all are working fine, from scratch. I think the effort is not so high to just adapt to your use case. Regards JB On 25/05/2019 23:39, matthiaw wrote: > Hi karaf-community, > > since last week i am trying to get into karaf because i want to create my > own bundles and features. Now - after hours and days of trial and errors - i > get it. > > BUT i want to tell you the story, so i wrote a post at > https://nightofprompt.home.blog/2019/05/23/karaf-part1/ > > Please read it, because i think you have to rework the maven-archetypes and > the documentation about "local feature repository". Somewhere in chapter > 4.10 there must be written a sentence about org.ops4j.pax.url.mvn.cfg for > local repositories. > > Maybe i take the wrong steps to get into karaf and own bundles. But maybe > you karaf-experts have a blind-spot for those who are not so close to karaf. > > Now i enjoy digging deeper into karaf, hoping that the next steps are not so > hard. > > Regards, > Matthias > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
