hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r688516 - in /httpcomponents/httpcore/trunk: module-main/pom.xml module-nio/pom.xml
Date Sun, 24 Aug 2008 14:11:22 GMT
Author: olegk
Date: Sun Aug 24 07:11:22 2008
New Revision: 688516

URL: http://svn.apache.org/viewvc?rev=688516&view=rev
Log:
HTTPCORE-125: Added OSGi bundle definitions

Modified:
    httpcomponents/httpcore/trunk/module-main/pom.xml
    httpcomponents/httpcore/trunk/module-nio/pom.xml

Modified: httpcomponents/httpcore/trunk/module-main/pom.xml
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/module-main/pom.xml?rev=688516&r1=688515&r2=688516&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/module-main/pom.xml (original)
+++ httpcomponents/httpcore/trunk/module-main/pom.xml Sun Aug 24 07:11:22 2008
@@ -37,7 +37,7 @@
     <version>4.0-beta3-SNAPSHOT</version>
   </parent>
   <artifactId>httpcore</artifactId>
-  <name>HttpCore (base module)</name>
+  <name>HttpCore</name>
   <inceptionYear>2005</inceptionYear>
   <description>
    HttpComponents Core (Java 1.3 compatible)
@@ -48,7 +48,7 @@
   <licenses>
     <license>
       <name>Apache License</name>
-      <url>../LICENSE.txt</url>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
       <distribution>repo</distribution>
     </license>
   </licenses>
@@ -111,6 +111,17 @@
           </includes>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Bundle-Name>Apache ${pom.name}</Bundle-Name>
+            <Export-Package>org.apache.http.*</Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 

Modified: httpcomponents/httpcore/trunk/module-nio/pom.xml
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/module-nio/pom.xml?rev=688516&r1=688515&r2=688516&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/module-nio/pom.xml (original)
+++ httpcomponents/httpcore/trunk/module-nio/pom.xml Sun Aug 24 07:11:22 2008
@@ -37,7 +37,7 @@
     <version>4.0-beta3-SNAPSHOT</version>
   </parent>
   <artifactId>httpcore-nio</artifactId>
-  <name>HttpCore (NIO extensions module)</name>
+  <name>HttpCore NIO</name>
   <inceptionYear>2005</inceptionYear>
   <description>
    HttpComponents Core (NIO extensions)
@@ -48,7 +48,7 @@
   <licenses>
     <license>
       <name>Apache License</name>
-      <url>../LICENSE.txt</url>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
       <distribution>repo</distribution>
     </license>
   </licenses>
@@ -116,6 +116,18 @@
           </includes>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Bundle-Name>Apache ${pom.name}</Bundle-Name>
+            <Require-Bundle>org.apache.httpcomponents.httpcore</Require-Bundle>
+            <Export-Package>org.apache.http.nio.*, org.apache.http.impl.nio.*</Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 



Mime
View raw message