The next step after Creating and Installing an Instance of SDNR and Creating and Installing a New Feature into SDNR is to create a "component meta-feature" that groups the SDNR features together and enables them to be installed into OpenDaylight using a single reference. The first step is to create a second feature (Goodbye World) in the same repository as Hello World, shown here.
Executing 'mvn clean install' in these two features generates the corresponding features and zip files in the local maven repository.
...
These are the key files used by ccsdk/distribution/odlsli/pom.xml to construct the docker container. The next step is to move up one level in the directory structure and create a features director with this structure and content.
We discuss each file and folder in turn, beginning with features/pom.xml.
...
Now we look at features/installer/pom.xml. The file is very similar to the pom.xml file for the sliapi installer, although it is simpler because it does not include the "pre-Casablanca" code. Its dependency is the sdnr-northbound-all artifact created immediately above, and it copies the maven repositories of all the features.xml files with the groupId org.onap.ccsdk.features.sdnr.northbound.
We now execute 'mvn clean install' and see the output. As a reminder, this is the initial state of the features directory.
And this shows the critical files afterwards.