Thanks. Demos are running fine now.
May be following line
"2) Run mvn package -Dexample=<example.name> where "exammple.name is the name of the example"
as
2) Go to demos folder and run mvn install -Dexample=<example.name> where "exammple.name is the name of the example