Search Mailing List Archives
[p4-feedback] Maven, plugins and protege 4
rdenaux at gmail.com
Fri Apr 9 03:50:45 PDT 2010
My experiences while building ROO
that it is possible (if not entirely straighforward) to maintain a project
with Protege 4 plugins using maven.
P4 already has pom descriptors for its subprojects, although the builds seem
to still be done using ant judging by the number of times that the maven
builds fail (mostly because tests are failing, or because the pom for a
subproject is missing).
Things to take into account when developing plugins using maven:
- there doesn't seem to be an "official' maven repository for P4, where the
current dependencies can be found, so you'll need to install the jars into
your personal (or company) repository
- because p4 plugins are OSGI bundles, you have to package them as such. The
normal jar packaging performed by maven is insufficient. In ROO I did this
by maintaining the manifest and plugin.xml manually (using Eclipse) and
using the maven assembly plugin to package the jar. Alternatively you can
use felix bnd <http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html>plugin
for maven to generate OSGi compatible jars.
It would be nice to have an archetype to boostrap plugin projects!
On Fri, Apr 9, 2010 at 11:01 AM, Mariano Rodriguez
<rodriguez at inf.unibz.it>wrote:
> I write to ask about Maven support for Protege 4. The current sources for
> 4.0, and
> the guidelines for building P4 plugins do not support Maven builds. Is
> there any
> plans to support them in the future?
> Or, even if there are no plans, has anybody experimented with the topic? Im
> interest in archetypes for protege 4 plugins. Any experiences would be
> Mariano Rodriguez Muro
> KRDB Research Center
> Faculty of Computer Science
> Free University of Bozen-Bolzano (FUB)
> Via della Mostra 4
> I-39100 Bozen-Bolzano BZ, Italy
> p4-feedback mailing list
> p4-feedback at lists.stanford.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the p4-feedback