title: MapStruct generate code
body: <p>I'm learning to use MapStruct according to reference guide.
  The eclipse verion is </p>
  
  <p>Eclipse Java EE IDE for Web Developers.
  Version: Kepler Service Release 2</p>
  
  <p><a href="https://i.stack.imgur.com/31GTR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/31GTR.jpg" alt="enter image description here"></a></p>
  
  <p><strong>pom.xml</strong> is as below just the same as the reference guide
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.map&lt;/groupId&gt;
      &lt;artifactId&gt;MapStruct&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  
      &lt;properties&gt;
          &lt;org.mapstruct.version&gt;1.0.0.Final&lt;/org.mapstruct.version&gt;
      &lt;/properties&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.mapstruct&lt;/groupId&gt;
              &lt;artifactId&gt;mapstruct-jdk8&lt;/artifactId&gt;
              &lt;version&gt;${org.mapstruct.version}&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;sourceDirectory&gt;src&lt;/sourceDirectory&gt;
          &lt;pluginManagement&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                      &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                      &lt;version&gt;3.1&lt;/version&gt;
                      &lt;configuration&gt;
                          &lt;source&gt;1.8&lt;/source&gt;
                          &lt;target&gt;1.8&lt;/target&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.bsc.maven&lt;/groupId&gt;
                      &lt;artifactId&gt;maven-processor-plugin&lt;/artifactId&gt;
                      &lt;version&gt;2.2.4&lt;/version&gt;
                      &lt;configuration&gt;
                          &lt;defaultOutputDirectory&gt;
                              ${project.build.directory}/generated-sources
                          &lt;/defaultOutputDirectory&gt;
                          &lt;processors&gt;
                              &lt;processor&gt;org.mapstruct.ap.MappingProcessor&lt;/processor&gt;
                          &lt;/processors&gt;
                          &lt;options&gt;
                              &lt;mapstruct.suppressGeneratorTimestamp&gt;
                                  true&lt;/mapstruct.suppressGeneratorTimestamp&gt;
                              &lt;mapstruct.defaultComponentModel&gt;cdi&lt;/mapstruct.defaultComponentModel&gt;
                          &lt;/options&gt;
                      &lt;/configuration&gt;
                      &lt;executions&gt;
                          &lt;execution&gt;
                              &lt;id&gt;process&lt;/id&gt;
                              &lt;phase&gt;generate-sources&lt;/phase&gt;
                              &lt;goals&gt;
                                  &lt;goal&gt;process&lt;/goal&gt;
                              &lt;/goals&gt;
                          &lt;/execution&gt;
                      &lt;/executions&gt;
                      &lt;dependencies&gt;
                          &lt;dependency&gt;
                              &lt;groupId&gt;org.mapstruct&lt;/groupId&gt;
                              &lt;artifactId&gt;mapstruct-processor&lt;/artifactId&gt;
                              &lt;version&gt;${org.mapstruct.version}&lt;/version&gt;
                          &lt;/dependency&gt;
                      &lt;/dependencies&gt;
                  &lt;/plugin&gt;
              &lt;/plugins&gt;
          &lt;/pluginManagement&gt;
      &lt;/build&gt;
  &lt;/project&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>@Mapper
  public interface CarMapper {
  
      CarMapper INSTANCE = Mappers.getMapper(CarMapper.class);
  
      @Mapping(source = "name", target = "fullName")
      CarDto car2CarDto(Car car);
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>It says that the implement codes would generate when building project. However, it doesn't seem to generate under the <strong>target/generated-sources</strong> folder</p>