dev@hk2.java.net

Re: Why are we not using the maven-bundle-plugin?

From: Imran M Yousuf <imran_at_smartitengineering.com>
Date: Tue, 18 Mar 2008 08:42:23 +0600

I would be surprised if you received any response to your email :). I
wanted to know about a concept regarding HK2 and I till date did not
receive any reply :-D. Better approach would be to submit a patch that
does what you just said.

Best regards,

Imran

On 3/18/08, Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_sun.com> wrote:
>
> I noticed that OSGi metadata are hard-coded in HK2 POMs, instead of
> computing them by using maven-bundle-plugin.
>
> Is this intentional? Is it that we need some special thing that makes it
> difficult to use maven-bundle-plugin?
>
> I ask this because the hard-coding of the version (see below) makes it
> impossible to use maven release plugin, which in turn makes it
> impossible for us to isolate HK2 builds and problems from the rest of GFv3.
>
> > <properties>
> > <!-- Sice OSGi versioning scheme differs from Maven versioning scheme,
> > every time we change Maven version, we need to change the OSGi
> > version (below property) as well. -->
> > <hk2-osgi-version>0.2.0.SNAPSHOT</hk2-osgi-version>
> > </properties>
>
> If maven-bundle-plugin can be used and auto-compute the version number,
> that's great. Otherwise, I'll write a small mojo so that we can compute
> hk2-osgi-version value from the project version.
>
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems kohsuke.kawaguchi_at_sun.com
>
>


-- 
Imran M Yousuf
Entrepreneur & Software Engineer
Smart IT Engineering
Dhaka, Bangladesh
Email: imran_at_smartitengineering.com
Mobile: +880-1711402557