migrated examples to maven and configured mvn-repo branch on github