So let's start by describing the component in iPOJO terms. The task consists of the addition of the
meta.xml descriptor under
src/main/ipojo of the
bookshelf-inventory-impl-mock project and the modification of the POM to configure the
The modification of the POM is usually the step that's forgotten. So let's get that out of the way first.
In our case, as we're moving the component from using a bundle activator to declaring itself using iPOJO, we'll need to do two things:
pom.xml file and go to the build plugins section. In the
maven-bundle-plugin configuration, ...