Do you have an example pom.xml file somewhere we can grab and try this?

On Mon, Jun 29, 2015 at 7:28 AM CLEMENT Jean-Philippe <
[email protected]> wrote:

> The error message is not crystal clear. I’m not too sure what is missing.
> Seems to be “kernel” but it was assembled as a boot feature.
>
>
>
> JP
>
>
>
> [@@ OPEN @@]
>
>
>
> *De :* CLEMENT Jean-Philippe [mailto:
> [email protected]]
> *Envoyé :* lundi 29 juin 2015 10:51
> *À :* [email protected]
> *Objet :* RE: Karaf 4.0.0 - Assembly failure => org.eclipse.osgi => freeze
>
>
>
> Please find attached the log after a clean install and freeze.
>
>
>
> JP
>
>
>
> [@@ OPEN @@]
>
>
>
> *De :* Achim Nierbeck [mailto:[email protected]
> <[email protected]>]
> *Envoyé :* lundi 29 juin 2015 10:34
> *À :* [email protected]
> *Objet :* Re: Karaf 4.0.0 - Assembly failure => org.eclipse.osgi => freeze
>
>
>
> Hi,
>
>
>
> could you show us a bit more about the strange trace?
>
>
>
> The "." instead of "-" is expected as OSGi versions aren't allowed to have
> a "-" in it. So the maven-bundle plugin converts this to a dot.
>
>
>
> regards, Achim
>
>
>
>
>
> 2015-06-29 10:30 GMT+02:00 CLEMENT Jean-Philippe <
> [email protected]>:
>
> Now the config.properties is fixed, Karaf starts then freezes. The log
> contains a strange trace complaining about a missing artifact.
>
> The trace is strange because of the artifact version which is looked at:
> 0.0.3.SNAPSHOT instead of 0.0.3-SNAPSHOT as defined.
>
> Another strange thing is I found a ".SNAPSHOT" in the generated
> MANIFEST.MF of the branding (under target/classes/META-INF): 0.0.1.SNPASHOT
> instead of 0.0.1-SNAPSHOT.
>
> Please help :)
>
> JP
>
> [@@ OPEN @@]
>
>
> -----Message d'origine-----
> De : CLEMENT Jean-Philippe [mailto:
> [email protected]]
> Envoyé : lundi 29 juin 2015 10:16
> À : [email protected]
> Objet : RE: Karaf 4.0.0 - Assembly failure => org.eclipse.osgi
>
> Haha!
>
> I did override the config.properties in the assembly in order to enable
> Equinox instead of Felix. This file mentions the equinox version!
>
> Thank you :)
>
> JP
>
> [@@ OPEN @@]
>
>
> -----Message d'origine-----
> De : Christian Schneider [mailto:[email protected]] De la part de
> Christian Schneider Envoyé : lundi 29 juin 2015 10:03 À :
> [email protected] Objet : Re: Karaf 4.0.0 - Assembly failure =>
> org.eclipse.osgi
>
> org.eclipse.osgi is the equinox framework. You should not install this as
> a bundle. Instead switch karaf to use equinox instead of felix in the
> config.properties.
>
> Christian
>
> On 29.06.2015 09:56, CLEMENT Jean-Philippe wrote:
> > Found a thread which seems to suggest to remove "standard" from boot
> features. What I did. Assembly leads to success but during the runtime
> Karaf quickly fails with the message:
> > Could not resolve
> > mvn:org.eclipse/org.eclipse.osgi/3.8.2.v20130124-134944
> >
> > Two things seem wrong. I don't catch why it did not complain during the
> assembly as the assembly should embed it. Second is that this artifact is
> in our local repository.
> >
> > Help is welcome :)
> >
> > Regards,
> > JP
> >
> > [@@ OPEN @@]
> >
> >
> > -----Message d'origine-----
> > De : CLEMENT Jean-Philippe
> > [mailto:[email protected]]
> > Envoyé : lundi 29 juin 2015 09:27
> > À : [email protected]
> > Objet : Karaf 4.0.0 - Assembly failure
> >
> > Hi Jamie and all at Karaf,
> >
> > Glad to head Karaf 4.0.0 has been released!
> >
> > I just gave it a try but Maven fails during the assembly.
> >
> > The assembly was ok with Karaf 3.0.2, I just changed 3.0.2 versions to
> 4.0.0. The message is:
> > [ERROR] Failed to execute goal
> > org.apache.karaf.tooling:karaf-maven-plugin:4.0.0:assembly
> > (default-assembly) on project my-assembly: Unable to build assembly:
> > Could not find matching feature for standard -> [Help 1]
> >
> > Do you have a clue why?
> >
> > Thank you,
> > JP
> >
> > [@@ OPEN @@]
> >
> >
> > -----Message d'origine-----
> > De : Jamie G. [mailto:[email protected]] Envoyé : samedi 27 juin
> 2015 03:20 À : [email protected] Objet : [ANN] Apache Karaf 4.0.0
> Released!
> >
> > The Karaf team is pleased to announce the release of Apache Karaf
> version 4.0.0.
> >
> > Apache Karaf is a small OSGi distribution which provides a ready to use
> container for server side applications.
> >
> > Apache Karaf 4.0.0 is the first production ready version of the new
> > 4.0.0 branch.
> > It's a major step forward, including a complete new features resolver, a
> large set of new features, improvements, and bug fixes.
> >
> > http://karaf.apache.org/
> >
> > This release is available from
> > http://karaf.apache.org/index/community/download.html#Karaf4.0.0 and
> >
> > Maven:
> >
> >   <dependency>
> >   <groupId>org.apache.karaf</groupId>
> >   <artifactId>apache-karaf</artifactId>
> >   <version>4.0.0</version>
> >   </dependency>
> >
> > Download Note:
> > Our mirrors are still syncing the new kits, if your primary mirror does
> not have the kit please try another from the server mirror list.
> >
> > Apache Karaf manuals will appear soon to the website, updates are
> underway.
> >
> > Release Notes:
> > http://karaf.apache.org/index/community/download/karaf-4.0.0-release.h
> > tml
> >
> > Enjoy!
>
>
> --
> Christian Schneider
> http://www.liquid-reality.de
>
> Open Source Architect
> http://www.talend.com
>
>
>
>
>
> --
>
>
> Apache Member
>
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
> Project Lead
> blog <http://notizblog.nierbeck.de/>
>
> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
>
>
>
> Software Architect / Project Manager / Scrum Master
>
>
>

Reply via email to