As long as microsoftgraph/msgraph-sdk-java-auth#29 is not merged and the newer version isn't published, people will run into an issue when trying to build the sample.
NotificationController.java:[69,29] cannot access com.microsoft.graph.httpcore.IAuthenticationProvider
Here is the workaround (in a separate folder)
git clone https://github.com/baywet/msgraph-sdk-java-auth.git
git checkout patch-1
gradle build
Then in the current folder
mvn install:install-file -Dfile=<PathToRepoPreviouslyCloned>\build\libs\msgraph-sdk-java-auth.jar -DgroupId=com.microsoft.graph -DartifactId=microsoft-graph-auth -Dversion=0.1.0-SNAPSHOT -Dpackaging=jar -DgeneratePom=true
As long as microsoftgraph/msgraph-sdk-java-auth#29 is not merged and the newer version isn't published, people will run into an issue when trying to build the sample.
Here is the workaround (in a separate folder)
Then in the current folder