Re: Camel OSGI snapshot versions

2011-02-07 Thread Daniel Kulp
On Monday 07 February 2011 7:41:28 am Guillaume Nodet wrote: > The bundle plugin has no knowledge of the source jar, but I think > there are ways to configure the jar plugin to add additional manifest > headers. > I'm not using eclipse myself, but itsn't there any decent maven > integration which w

Re: Camel OSGI snapshot versions

2011-02-07 Thread Christian Schneider
Hi Guillaume, if you work with pure maven projects then the m2eclipse plugin works great and loads the source automatically. In this case though your eclipse has normal maven dependencies to jars in the local maven repository. If you work with the pde build then you are not so lucky. Then it s

Re: Camel OSGI snapshot versions

2011-02-07 Thread Guillaume Nodet
The bundle plugin has no knowledge of the source jar, but I think there are ways to configure the jar plugin to add additional manifest headers. I'm not using eclipse myself, but itsn't there any decent maven integration which would download and grab the source jar from the local repository? On Mo

Re: Camel OSGI snapshot versions

2011-02-07 Thread Christian Schneider
It would at least mean to add a minimal Manifest header. In camel we do this manually: --- org.apache.maven.plugins maven-source-plugin 2.1.2 ${project.groupId}.${project.artifactId}.source ${camel.osgi.version.clean} ${project.groupId}.${project.artifactId};version="${camel.osgi.

Re: Camel OSGI snapshot versions

2011-02-07 Thread Guillaume Nodet
It seems that would require our sources jars to be packaged as osgi bundles, which isn't the case afaik. On Monday, February 7, 2011, Christian Schneider wrote: > We already have this header but I think it could perhaps be done by the > bundle plugin automatically. > > The Manifest Header looks

Re: Camel OSGI snapshot versions

2011-02-07 Thread Christian Schneider
We already have this header but I think it could perhaps be done by the bundle plugin automatically. The Manifest Header looks like: Eclipse-SourceBundle: org.eclipse.pde.core;version="3.4.0.N20071128-0010";roots:="ant_tasks/pde-antsrc,." See: http://dev.eclipse.org/mhonarc/lists/eclipse-dev

Re: Camel OSGI snapshot versions

2011-02-07 Thread Guillaume Nodet
I don't recall anything in the maven bundle plugin about that. Where would we point to ? maven central ? I suppose we could add that header in the root pom, though this would also require a big of magic to get the full path I think, and that may also fail for timestamped snapshots On Mon, Fe

Re: Camel OSGI snapshot versions

2011-02-07 Thread Christian Schneider
Hi Guillaume, I am just trying a buildd with that version. Till now it looks good. Btw. Do you know if the source.jars now also will be generated with the "" manifest entry so you can click them in Eclipse if you work with a target platform? Or is this not part of the bundle plugin? Christi

Re: Camel OSGI snapshot versions

2011-02-07 Thread Guillaume Nodet
The maven-bundle-plugin 2.3.4 has just been released, so we could try upgrading to that one. On Mon, Feb 7, 2011 at 10:41, Christian Schneider wrote: > Hi Guillaume, > > that´s a typical case of misreading a specification on my side. It´s good > that I now read the spec again to proof you wrong.

Re: Camel OSGI snapshot versions

2011-02-07 Thread Christian Schneider
Hi Guillaume, that´s a typical case of misreading a specification on my side. It´s good that I now read the spec again to proof you wrong. So I found that I was wrong ;-) The spec says. version ::= major( '.' minor ( '.' micro ( '.' qualifier )? )? )? I did not really be careful enough to re

Re: Camel OSGI snapshot versions

2011-02-07 Thread Guillaume Nodet
On Mon, Feb 7, 2011 at 10:05, Christian Schneider wrote: > Hi all, > > I just had mail exchange with Guillaume on the karaf list about their number > scheme for snapshots. > There I told him that we use an ant script to create the osgi version from > the maven version 2.7.0-SNAPSHOT -> 2.7.0.quali

Camel OSGI snapshot versions

2011-02-07 Thread Christian Schneider
Hi all, I just had mail exchange with Guillaume on the karaf list about their number scheme for snapshots. There I told him that we use an ant script to create the osgi version from the maven version 2.7.0-SNAPSHOT -> 2.7.0.qualifier (At least that was how I remembered we do it). Guillaume to