archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1368045 - /archiva/redback/redback-core/trunk/redback-users/redback-users-providers/redback-users-jdo/pom.xml
Date Wed, 01 Aug 2012 15:12:34 GMT
Author: jbonofre
Date: Wed Aug  1 15:12:33 2012
New Revision: 1368045

URL: http://svn.apache.org/viewvc?rev=1368045&view=rev
Log:
[MRM-1651] Add OSGi support to redback-users-jdo

Modified:
    archiva/redback/redback-core/trunk/redback-users/redback-users-providers/redback-users-jdo/pom.xml

Modified: archiva/redback/redback-core/trunk/redback-users/redback-users-providers/redback-users-jdo/pom.xml
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-users/redback-users-providers/redback-users-jdo/pom.xml?rev=1368045&r1=1368044&r2=1368045&view=diff
==============================================================================
--- archiva/redback/redback-core/trunk/redback-users/redback-users-providers/redback-users-jdo/pom.xml
(original)
+++ archiva/redback/redback-core/trunk/redback-users/redback-users-providers/redback-users-jdo/pom.xml
Wed Aug  1 15:12:33 2012
@@ -18,13 +18,17 @@
   ~ under the License.
   -->
 <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-users-providers</artifactId>
     <version>2.0-SNAPSHOT</version>
   </parent>
+
   <artifactId>redback-users-jdo</artifactId>
+  <packaging>jar</packaging>
   <name>Redback :: Users Provider :: JDO</name>
 
   <dependencies>
@@ -90,13 +94,33 @@
       <artifactId>slf4j-simple</artifactId>
       <scope>test</scope>
     </dependency>
-
   </dependencies>
 
-
   <build>
     <plugins>
       <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>bundle-manifest</id>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>manifest</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+          </archive>
+        </configuration>
+      </plugin>
+      <plugin>
         <groupId>org.codehaus.modello</groupId>
         <artifactId>modello-maven-plugin</artifactId>
         <version>1.0-alpha-15</version>
@@ -139,4 +163,5 @@
       </plugin>
     </plugins>
   </build>
+
 </project>



Mime
View raw message