Author: carlos
Date: Fri Apr 27 12:59:54 2007
New Revision: 533201

URL: http://svn.apache.org/viewvc?view=rev&rev=533201
Log:
Added OSGi manifest generation

Modified:
    maven/components/trunk/pom.xml

Modified: maven/components/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/components/trunk/pom.xml?view=diff&rev=533201&r1=533200&r2=533201
==============================================================================
--- maven/components/trunk/pom.xml (original)
+++ maven/components/trunk/pom.xml Fri Apr 27 12:59:54 2007
@@ -107,6 +107,30 @@
       </plugins>
     </pluginManagement>
     <plugins>
+      <!-- if plugin not released at maven release time the manifests 
generated could be checked in by hand -->
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <version>0.9.0-incubator-SNAPSHOT</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>manifest</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <!-- Needed for including the manifest, see MJAR-71 -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.1</version>
+        <configuration>
+          <archive>
+            
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+          </archive>
+        </configuration>
+      </plugin>
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <version>2.2</version>
@@ -204,4 +228,19 @@
       
<url>scp://people.apache.org/www/maven.apache.org/ref/${project.version}/</url>
     </site>
   </distributionManagement>
+
+  <!-- needed for felix bundle plugin -->
+  <pluginRepositories>
+    <pluginRepository>
+      <id>apache.snapshots</id>
+      <name>snapshot plugins</name>
+      <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+    </pluginRepository>
+  </pluginRepositories>
 </project>


Reply via email to