I am not able to set Main class path in a maven project in Eclipse Oxygen.
You need to specify it in the pom.xml as described in
pom.xml
https://stackoverflow.com/a/37671717/927493