title: How to try Dagger 2 with pure java Project using Maven - intellij IDEA
body: <p>i heard Dagger 2 from a friend use it in Android. it pretty good! </p>
  
  <p>But i have a crazy idea, i want to try Dagger 2 example in a pure java project build in Maven and use intellij IDEA. But something wrong by Compiler couldn't generate DaggerCoffeeShop class from ConffeeShop Interface like Dagger user guide.</p>
  
  <p>All my example code same as example.</p>
  
  <pre><code>CoffeeShop coffeeShop = DaggerCoffeeShop.builder()
      .dripCoffeeModule(new DripCoffeeModule())
      .build();
  </code></pre>
  
  <p>I tried with turn on <code>enable annotation processing</code> in <code>setting</code> > <code>compiler</code> but it not work. I need your help to complete my crazy idea.  :(</p>