I want build a App based on Nitrogen SR1 version, my steps are:
Build a maven project with command: mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller -DarchetypeArtifactId=opendaylight-startup-archetype -DarchetypeRepository=http://nexus.opendaylight.org/content/repositories/opendaylight.release -DarchetypeCatalog=remote -DarchetypeVersion=1.4.1 enter image description here
groupId: org.opendaylight.hni artifactId: hni enter image description here
After build success ,I build this “hni app” with command: Mvn clean install -DskipTests enter image description here
After build success. I start this “hni app”’s Karaf, and feature
install hni. Then I went to see log , my two features: Features-hni & odl-hni-api They are both installed. enter image description here enter image description hereBut there should be “HniProvider Session Initiated” in this log file. Cuz my code: HniProvider.init() should print these words.
However,they aren’t be printed in log file. enter image description here
So I want ask Why? When I build a app based on Carbon version, I follow these steps ,too. But the “HniProvider Session Initiated” is be printed in log in Carbon version.
What are the diffences between the Carbon and Nitrogen,when building apps ??? Thx very much .