empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Reiser (JIRA)" <empire-db-...@incubator.apache.org>
Subject [jira] Commented: (EMPIREDB-35) make sure our jar's are osgi compatible
Date Tue, 30 Mar 2010 19:38:27 GMT

    [ 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.


Mime
View raw message