Expand my Community achievements bar.

osgi plugin maven

Avatar

Level 9

I have a osgi plugin project, I added few jars to create a osgi bundle. Bundle is created successfully, I do see it created plugin jar files.

I have to copy this jar manually and install them into AEM osgi bundle

how do I convert this to maven project and install them as autoInstall bundle or package.

4 Replies

Avatar

Level 10

Try opening the project in command prompt and run:

mvn -PautoInstallPackage install

This will install the OSGi bundle. 

Avatar

Level 9

This is not a maven project

it is a plugin development project, created this from eclipse

How do I convert to maven.

Avatar

Level 10

I am not sure if we can convert the plugin proj to maven project, but however I am thinking if there is a way to bundle these osgi bundles along with your existing parent maven project by some configurations in the pom.xml

Avatar

Level 9

Hi Lokesh,

Could you please let us know the configurations to include this?