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.

        <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]

Reply via email to