Author: jbonofre
Date: Tue Jul 31 14:02:13 2012
New Revision: 1367556

URL: http://svn.apache.org/viewvc?rev=1367556&view=rev
Log:
[MRM-1651] Add OSGi support in redback-authentication-api

Modified:
    archiva/redback/redback-core/trunk/pom.xml
    
archiva/redback/redback-core/trunk/redback-authentication/redback-authentication-api/pom.xml

Modified: archiva/redback/redback-core/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/pom.xml?rev=1367556&r1=1367555&r2=1367556&view=diff
==============================================================================
--- archiva/redback/redback-core/trunk/pom.xml (original)
+++ archiva/redback/redback-core/trunk/pom.xml Tue Jul 31 14:02:13 2012
@@ -36,7 +36,6 @@
   <url>http://archiva.apache.org/redback/core</url>
   <inceptionYear>2006</inceptionYear>
 
-
   <developers>
     <developer>
       <id>joakime</id>
@@ -70,6 +69,14 @@
         <role>Developer</role>
       </roles>
     </developer>
+    <developer>
+      <id>jbonofre</id>
+      <name>Jean-Baptiste Onofré</name>
+      <email>[email protected]</email>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
   </developers>
 
   <contributors>
@@ -119,7 +126,6 @@
     <url>http://jira.codehaus.org/browse/REDBACK</url>
   </issueManagement>
 
-
   <modules>
     <module>redback-authentication</module>
     <module>redback-authorization</module>
@@ -155,7 +161,6 @@
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <gpg.useagent>true</gpg.useagent>
     <cxfVersion>2.6.1</cxfVersion>
-
     <!--
     
<redbackTestJdbcUrl>jdbc:derby:memory:users-test;create=true</redbackTestJdbcUrl>
     
<redbackTestJdbcDriver>org.apache.derby.jdbc.EmbeddedDriver</redbackTestJdbcDriver>
@@ -930,5 +935,4 @@
     </plugins>
   </reporting>
 
-
 </project>

Modified: 
archiva/redback/redback-core/trunk/redback-authentication/redback-authentication-api/pom.xml
URL: 
http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-authentication/redback-authentication-api/pom.xml?rev=1367556&r1=1367555&r2=1367556&view=diff
==============================================================================
--- 
archiva/redback/redback-core/trunk/redback-authentication/redback-authentication-api/pom.xml
 (original)
+++ 
archiva/redback/redback-core/trunk/redback-authentication/redback-authentication-api/pom.xml
 Tue Jul 31 14:02:13 2012
@@ -19,13 +19,17 @@
   -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
   <modelVersion>4.0.0</modelVersion>
+
   <parent>
     <groupId>org.apache.archiva.redback</groupId>
     <artifactId>redback-authentication</artifactId>
     <version>2.0-SNAPSHOT</version>
   </parent>
+
   <artifactId>redback-authentication-api</artifactId>
+  <packaging>bundle</packaging>
   <name>Redback :: Authentication API</name>
+
   <dependencies>
     <dependency>
       <groupId>org.apache.archiva.redback</groupId>
@@ -44,4 +48,21 @@
       <artifactId>jsr250-api</artifactId>
     </dependency>     
   </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <configuration>
+          <instructions>
+            <Export-Bundle>
+              
org.apache.archiva.redback.authentication;version=${project.version}
+            </Export-Bundle>
+          </instructions>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>


Reply via email to