]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1651] Add OSGi support in redback-authentication-api
authorJean-Baptiste Onofre <jbonofre@apache.org>
Tue, 31 Jul 2012 14:02:13 +0000 (14:02 +0000)
committerJean-Baptiste Onofre <jbonofre@apache.org>
Tue, 31 Jul 2012 14:02:13 +0000 (14:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1367556 13f79535-47bb-0310-9956-ffa450edef68

pom.xml
redback-authentication/redback-authentication-api/pom.xml

diff --git a/pom.xml b/pom.xml
index f61d8036ab2ee1fc8deff4201442f9a8ebac35f7..1c3c10e4e62e1748af32788ce25ebfe76f40cd1c 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -36,7 +36,6 @@
   <url>http://archiva.apache.org/redback/core</url>
   <inceptionYear>2006</inceptionYear>
 
-
   <developers>
     <developer>
       <id>joakime</id>
         <role>Developer</role>
       </roles>
     </developer>
+    <developer>
+      <id>jbonofre</id>
+      <name>Jean-Baptiste Onofré</name>
+      <email>jbonofre@apache.org</email>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
   </developers>
 
   <contributors>
     <url>http://jira.codehaus.org/browse/REDBACK</url>
   </issueManagement>
 
-
   <modules>
     <module>redback-authentication</module>
     <module>redback-authorization</module>
     <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>
     </plugins>
   </reporting>
 
-
 </project>
index 05e8fd8d2e61c872a9ce324f4c5e1dfeb3a7589f..289234da6c75bd3105bfdbefe1cb5ff5b3ebe49a 100644 (file)
   -->
 <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>
       <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>