Maven Bundle Plugin Configuration

In a previous post, I have provided an example of a possible Maven configuration to use the maven eclipse plugin with eclipse PDE. Besides these settings, which are the same for every project, each bundle needs to be configured as OSGi bundle in order to be usable by eclipse PDE.

                <></> <!– Maven groupId –>
                <></> <!– Maven artifactId –>
                <module.version></module.version> <!– Maven artifact version –>

The project settings need to to be specified later in the pom:


The remainder of the pom is composed of the elements necessary for the maven eclipse plugin and and the following additional Maven bundle plugin.

                        <!– FOR BUNDLE MANAGEMENT –>
                        <!– The Maven bundle plugin generates Meta-data required for OSGi –>


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s