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 "Greg Reiser (JIRA)" <em...@incubator.apache.org> on 2010/03/30 21:38:27 UTC
[jira] Commented: (EMPIREDB-35) make sure our jar's are osgi
compatible
[ https://issues.apache.org/jira/browse/EMPIREDB-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851531#action_12851531 ]
Greg Reiser commented on EMPIREDB-35:
-------------------------------------
I use empire-db extensively in an OSGi environment. In order to do so, I compile from source. By changing the packaging in the pom.xml to bundle and adding the following:
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>org.apache.empire.*</Export-Package>
<Private-Package></Private-Package>
<Bundle-Activator></Bundle-Activator>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
Of course, to please everyone, a separate OSGi pom might be necessary or perhaps maven profiles?
> make sure our jar's are osgi compatible
> ---------------------------------------
>
> Key: EMPIREDB-35
> URL: https://issues.apache.org/jira/browse/EMPIREDB-35
> Project: Empire-DB
> Issue Type: Task
> Components: Core
> Affects Versions: empire-db-2.0.5-incubating
> Reporter: Francis De Brabandere
> Assignee: Francis De Brabandere
> Priority: Minor
>
> add the needed info in the pom.xml's (see wicket)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.