Importing Maven projects in Eclipse
Editing Maven projects in Eclipse
See Maven Eclipse Intregration
Building Eclipse plugins in Maven
Instructions targeting Eclipse 3.2, which uses OSGi bundles as plugin format.
The important files to have into account:
- META-INF/MANIFEST.MF the OSGi manifest
- plugin.properties plugin config
- plugin.xml plugin config
- build.properties binaries and sources definition to build with PDE
- */.jar dependent libraries, need to be in the source folder for building with PDE. They are packaged in the same folder in the zip. eg. if jars are in x/y they end in x/y folder of the jar, PDE doesn't allow changing it.
Currently there are two integration points that overlap:
- Maven Eclipse Plugin generate manifest and enable PDE nature
- Apache Felix OSGi plugin can create an OSGi bundle, packaging dependencies, generating manifest,...
An OSGi bundle can be easily created with the Felix OSGi plugin. Integration between Maven and PDE is other story.
Labels