Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step 6 : Generate the manifest and jar file

Prior to run/launch the command generating the MANIFEST file, you must modify the pom.xml file and add the following line in order to allow the OSGI bundle to import/use the services classes : demo.service

Code Block

...
<Export-Package>!demo.routing</Export-Package>
<!-- text to be added after Export-Package tag -->
<Import-Package>demo.service,*</Import-Package>
...

Run the command mvn package (= Repeat step #5).

...