On Jan 7, 2008 3:45 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote:
> Niall Pemberton schrieb:
> > On Jan 7, 2008 2:56 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote:
> >> Carsten Ziegeler wrote:
> >>> Niall Pemberton wrote:
> >>>> On Jan 7, 2008 9:34 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote:
> >>>>> It would be great if the release contains the OSGi meta information :)
> >>>>> I'll come up with a patch just for 1.4 that does not use the snapshot
> >>>>> version of the maven bundle plugin. Interested :) ?
> >>>> Yes please
> >>>>
> >>> Great! I assume you're assung maven 2 to build the release?
> >>>
> >> Ok, here is the patch for the pom.xml, you just have to add the
> >> additional manifest entries using the jar plugin. It would be great if
> >> this would go into the final release.
> >
> > Thanks for the patch - I modified it slightly so that the version
> > numbers are not hard coded:
> >     http://svn.apache.org/viewvc?view=rev&revision=609639
> >
> > I've uploaded a copy of the jar it generates here:
> >    http://people.apache.org/~niallp/commons-io-osgi/
> >
> Ah, sorry for that, I forgot to mention it: this only works for non
> snapshot versions.
> The version 1.4-SNAPSHOT is an invalid version for OSGi as the dash is
> not allowed. Therefore the resulting jar is not usable :(

OK thanks for the info.

> That's why I copy/pasted the version everywhere :)
> Of course ${pom.version} works for the final 1.4 release.

I'd prefer to keep it as it is since it could be in for more than one
release and it means not having to remember to update the OSGi info.
Plus anyone wanting to create their own modified custom IO 1.4 version
can simply change the pom version number and the OSGi bundle info will
be correct.

Niall

> Carsten
> --
> Carsten Ziegeler
> [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to