You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by fr...@apache.org on 2010/03/30 23:14:27 UTC
svn commit: r929291 - /incubator/empire-db/trunk/pom.xml
Author: francisdb
Date: Tue Mar 30 21:14:27 2010
New Revision: 929291
URL: http://svn.apache.org/viewvc?rev=929291&view=rev
Log:
EMPIREDB-35 make sure our jars are osgi compatible
EMPIREDB-66 review release process with apache parent pom 7
Modified:
incubator/empire-db/trunk/pom.xml
Modified: incubator/empire-db/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/pom.xml?rev=929291&r1=929290&r2=929291&view=diff
==============================================================================
--- incubator/empire-db/trunk/pom.xml (original)
+++ incubator/empire-db/trunk/pom.xml Tue Mar 30 21:14:27 2010
@@ -126,7 +126,7 @@
</profile>
<profile>
<!-- Part of the release profile, merged with release profile defined in apache parent pom -->
- <id>release</id>
+ <id>apache-release</id>
<build>
<plugins>
<plugin>
@@ -325,6 +325,12 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <!-- add osgi manifests -->
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <inherited>true</inherited>
+ </plugin>
</plugins>
<pluginManagement>
@@ -438,6 +444,45 @@
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.7</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>2.0.1</version>
+ <executions>
+ <execution>
+ <id>bundle-manifest</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>manifest</goal>
+ </goals>
+ <configuration>
+ <instructions>
+ <Import-Package>org.apache.empire*</Import-Package>
+ <DynamicImport-Package>*</DynamicImport-Package>
+ <_nouses>true</_nouses>
+ </instructions>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.3</version>
+ <configuration>
+ <useDefaultManifestFile>true</useDefaultManifestFile>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ <configuration>
+ <useDefaultManifestFile>false</useDefaultManifestFile>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</pluginManagement>
</build>