Steinar Bang wrote:
Without _knowing_ what he's looking for, I suspect it's to make a POM
with <packaging>bundle</packaging> using the apache felix
maven-bundle-plugin, behave like a PDE project in eclipse.
Here's a reference to the maven-bundle-plugin :
http://felix.apache.org/site/maven-bundle-plugin-bnd.html
We use the maven-bundle-plugin POM projects to build OSGi bundles. We
also use maven-eclipse-plugin to develop the same projects in the
eclipse IDE. Then they are ordinary Java projects, rather than PDE
projects.
The <plugin> config for <maven-bundle-plugin> specifies export package
and import package. It uses the ordinary maven <dependencies> for
compile classpath, and also for running tests.
Besides the convenient editor for plugin artifacts, PDE-enabled
projects allow to run and debug in self-hosted mode which also support
hot code replacement.
Like you said, felix plugin can generate all the necessary plugin
manifests and the only thing that m2eclipse plugin could help with is
maybe to generate such projects or arr felix configuration into the
existing one. On the other hand, that is merely a convenience feature
that user could live without and simply add all necessary plugin
configuration into his pom.xml
regards,
Eugene
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email