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/
Niall
> <plugin>
> <artifactId>maven-jar-plugin</artifactId>
> <configuration>
> <archive>
> <manifestEntries>
>
> <Bundle-SymbolicName>org.apache.commons.io</Bundle-SymbolicName>
>
> <Bundle-License>http://www.apache.org/licenses/LICENSE-2.0.txt</Bundle-License>
> <Bundle-ManifestVersion>2</Bundle-ManifestVersion>
> <Bundle-Name>Apache Commons IO Bundle</Bundle-Name>
> <Bundle-Vendor>The Apache Software
> Foundation</Bundle-Vendor>
> <Bundle-Version>1.4.0</Bundle-Version>
> <Export-Package>
> org.apache.commons.io;version=1.4.0,
> org.apache.commons.io.comparator;version=1.4.0,
> org.apache.commons.io.filefilter;version=1.4.0,
> org.apache.commons.io.input;version=1.4.0,
> org.apache.commons.io.output;version=1.4.0
> </Export-Package>
> <Import-Package>
> org.apache.commons.io;version=1.4.0,
> org.apache.commons.io.comparator;version=1.4.0,
> org.apache.commons.io.filefilter;version=1.4.0,
> org.apache.commons.io.input;version=1.4.0,
> org.apache.commons.io.output;version=1.4.0
> </Import-Package>
> </manifestEntries>
> </archive>
> </configuration>
> </plugin>
>
>
> Thanks
>
> 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]