commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r609639 - /commons/proper/io/trunk/pom.xml
Date Mon, 07 Jan 2008 15:37:31 GMT
Author: niallp
Date: Mon Jan  7 07:37:30 2008
New Revision: 609639

URL: http://svn.apache.org/viewvc?rev=609639&view=rev
Log:
Add OSGi bundle info to the jars manifest file - thanks to Carsten Ziegeler for the patch

Modified:
    commons/proper/io/trunk/pom.xml

Modified: commons/proper/io/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/pom.xml?rev=609639&r1=609638&r2=609639&view=diff
==============================================================================
--- commons/proper/io/trunk/pom.xml (original)
+++ commons/proper/io/trunk/pom.xml Mon Jan  7 07:37:30 2008
@@ -242,6 +242,40 @@
             <tarLongFileMode>gnu</tarLongFileMode>
           </configuration>
         </plugin>
+
+        <plugin>
+          <artifactId>maven-jar-plugin</artifactId>
+          <configuration>
+            <archive>
+              <!-- 
+                   Configure OSGi bundle information
+                   (remvoe when maven bundle plugin is added to commons-parent pom)
+               -->
+              <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>${project.organization.name}</Bundle-Vendor>
+                <Bundle-Version>${project.version}</Bundle-Version>
+                <Export-Package>
+org.apache.commons.io;version=${project.version},
+org.apache.commons.io.comparator;version=${project.version},
+org.apache.commons.io.filefilter;version=${project.version},
+org.apache.commons.io.input;version=${project.version},
+org.apache.commons.io.output;version=${project.version}
+                </Export-Package>
+                <Import-Package>
+org.apache.commons.io;version=${project.version},
+org.apache.commons.io.comparator;version=${project.version},
+org.apache.commons.io.filefilter;version=${project.version},
+org.apache.commons.io.input;version=${project.version},
+org.apache.commons.io.output;version=${project.version}
+                </Import-Package>
+              </manifestEntries>
+            </archive>
+          </configuration>
+        </plugin>
       </plugins>
     </build>
 



Mime
View raw message