title: Part of the Java files do not generate classes during Maven build
body: <p>I have a project and I use maven to compile: <code>mvn clean compile</code>. The total number of Java files is about 2000.</p>
  
  <p>The compile result is success but part of the Java files does not generate class.</p>
  
  <p>I use Maven 3.0.4. The system is Linux.</p>
  
  <pre><code> &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                 &lt;!--&lt;version&gt;3.0&lt;/version&gt;--&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.5&lt;/source&gt;
                      &lt;target&gt;1.5&lt;/target&gt;
                      &lt;verbose&gt;true&lt;/verbose&gt;
                      &lt;encoding&gt;GBK&lt;/encoding&gt;
  
                      &lt;compilerArguments&gt;
                          &lt;sourcepath&gt;${project.build.sourceDirectory}&lt;/sourcepath&gt;
                          &lt;extdirs&gt;${project.basedir}/src/lib &lt;/extdirs&gt;
                      &lt;/compilerArguments&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>effective-pom :</p>
  
  <pre><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;parent&gt;
          &lt;groupId&gt;com.xxoo&lt;/groupId&gt;
          &lt;artifactId&gt;xxooroot&lt;/artifactId&gt;
          &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
        &lt;/parent&gt;
        &lt;groupId&gt;com.xxoo&lt;/groupId&gt;
        &lt;artifactId&gt;xxoodev&lt;/artifactId&gt;
        &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
        &lt;description&gt;the root pom for all maven project&lt;/description&gt;
        &lt;distributionManagement&gt;
          &lt;repository&gt;
            &lt;id&gt;nexus-releases&lt;/id&gt;
            &lt;name&gt;Internal Release Repository&lt;/name&gt;
            &lt;url&gt;http://ip/nexus/content/repositories/releases&lt;/url&gt;
          &lt;/repository&gt;
          &lt;snapshotRepository&gt;
            &lt;id&gt;nexus-snapshots&lt;/id&gt;
            &lt;name&gt;Internal Snapshot Repository&lt;/name&gt;
            &lt;url&gt;http://ip/nexus/content/repositories/snapshots&lt;/url&gt;
          &lt;/snapshotRepository&gt;
        &lt;/distributionManagement&gt;
        &lt;properties&gt;
          &lt;aspectj.version&gt;1.6.2&lt;/aspectj.version&gt;
          &lt;checkstyle.url&gt;/home/tony/.config/maven_checks.xml&lt;/checkstyle.url&gt;
          &lt;cobertura.encoding&gt;UTF-8&lt;/cobertura.encoding&gt;
          &lt;compile.encoding&gt;UTF-8&lt;/compile.encoding&gt;
          &lt;compile.source&gt;1.6&lt;/compile.source&gt;
          &lt;compile.target&gt;1.6&lt;/compile.target&gt;
          &lt;junit.version&gt;4.8.2&lt;/junit.version&gt;
          &lt;pmd.sourceEncoding&gt;UTF-8&lt;/pmd.sourceEncoding&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;resource.log4j&gt;log4j.*&lt;/resource.log4j&gt;
          &lt;resources.encoding&gt;UTF-8&lt;/resources.encoding&gt;
          &lt;slf4j.version&gt;1.7.2&lt;/slf4j.version&gt;
          &lt;spring.version&gt;3.1.3.RELEASE&lt;/spring.version&gt;
        &lt;/properties&gt;
        &lt;dependencyManagement&gt;
          &lt;dependencies&gt;
            &lt;dependency&gt;
              &lt;groupId&gt;aopalliance&lt;/groupId&gt;
              &lt;artifactId&gt;aopalliance&lt;/artifactId&gt;
              &lt;version&gt;1.0&lt;/version&gt;
            &lt;/dependency&gt;
            &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;version&gt;4.8.2&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
            &lt;/dependency&gt;
            &lt;dependency&gt;
              &lt;groupId&gt;log4j&lt;/groupId&gt;
              &lt;artifactId&gt;log4j&lt;/artifactId&gt;
              &lt;version&gt;1.2.17&lt;/version&gt;
            &lt;/dependency&gt;
            &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
              &lt;version&gt;3.1.3.RELEASE&lt;/version&gt;
            &lt;/dependency&gt;
            &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
              &lt;version&gt;3.1.3.RELEASE&lt;/version&gt;
            &lt;/dependency&gt;
                   omitted....
        &lt;/dependencies&gt;
        &lt;repositories&gt;
          &lt;repository&gt;
            &lt;releases&gt;
              &lt;enabled&gt;true&lt;/enabled&gt;
            &lt;/releases&gt;
            &lt;snapshots&gt;
              &lt;enabled&gt;true&lt;/enabled&gt;
              &lt;updatePolicy&gt;always&lt;/updatePolicy&gt;
            &lt;/snapshots&gt;
            &lt;id&gt;central&lt;/id&gt;
            &lt;url&gt;http://central&lt;/url&gt;
          &lt;/repository&gt;
        &lt;/repositories&gt;
        &lt;pluginRepositories&gt;
          &lt;pluginRepository&gt;
            &lt;releases&gt;
              &lt;enabled&gt;true&lt;/enabled&gt;
            &lt;/releases&gt;
            &lt;snapshots&gt;
              &lt;enabled&gt;true&lt;/enabled&gt;
            &lt;/snapshots&gt;
            &lt;id&gt;central&lt;/id&gt;
            &lt;url&gt;http://central&lt;/url&gt;
          &lt;/pluginRepository&gt;
        &lt;/pluginRepositories&gt;
        &lt;build&gt;
          &lt;sourceDirectory&gt;/opt/myself/xxoosource/xxoodev/src/main/java&lt;/sourceDirectory&gt;
          &lt;scriptSourceDirectory&gt;/opt/myself/xxoosource
       /xxoodev/src/main/scripts&lt;/scriptSourceDirectory&gt;
          &lt;testSourceDirectory&gt;/opt/myself/xxoosource/xxoodev/src
      /test /java&lt;/testSourceDirectory&gt;
          &lt;outputDirectory&gt;/opt/myself/xxoosource/xxoodev/target/classes&lt;/outputDirectory&gt;
          &lt;testOutputDirectory&gt;/opt/myself/xxoosource/xxoodev/target
      /test-classes&lt;/testOutputDirectory&gt;
          &lt;defaultGoal&gt;package&lt;/defaultGoal&gt;
          &lt;resources&gt;
            &lt;resource&gt;
              &lt;filtering&gt;true&lt;/filtering&gt;
              &lt;directory&gt;/opt/myself/xxoosource/xxoodev/src/main/resources&lt;/directory&gt;
              &lt;excludes&gt;
                &lt;exclude&gt;log4j.*&lt;/exclude&gt;
              &lt;/excludes&gt;
            &lt;/resource&gt;
            &lt;resource&gt;
              &lt;directory&gt;/opt/myself/xxoosource/xxoodev/src/main/java&lt;/directory&gt;
              &lt;includes&gt;
                &lt;include&gt;**/*.xml&lt;/include&gt;
              &lt;/includes&gt;
              &lt;excludes&gt;
                &lt;exclude&gt;log4j.*&lt;/exclude&gt;
              &lt;/excludes&gt;
            &lt;/resource&gt;
          &lt;/resources&gt;
          &lt;testResources&gt;
            &lt;testResource&gt;
              &lt;filtering&gt;true&lt;/filtering&gt;
              &lt;directory&gt;/opt/myself/xxoosource/xxoodev/src/test/resources&lt;/directory&gt;
            &lt;/testResource&gt;
            &lt;testResource&gt;
              &lt;directory&gt;/opt/myself/xxoosource/xxoodev/src/test/java&lt;/directory&gt;
              &lt;includes&gt;
                &lt;include&gt;**/*.properties&lt;/include&gt;
                &lt;include&gt;**/*.xml&lt;/include&gt;
              &lt;/includes&gt;
            &lt;/testResource&gt;
          &lt;/testResources&gt;
          &lt;directory&gt;/opt/myself/xxoosource/xxoodev/target&lt;/directory&gt;
          &lt;finalName&gt;xxoodev-1.0-SNAPSHOT&lt;/finalName&gt;
          &lt;pluginManagement&gt;
            &lt;plugins&gt;
              &lt;plugin&gt;
                &lt;artifactId&gt;maven-antrun-plugin&lt;/artifactId&gt;
                &lt;version&gt;1.3&lt;/version&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
                &lt;version&gt;2.3&lt;/version&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                &lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt;
                &lt;artifactId&gt;maven-jetty-plugin&lt;/artifactId&gt;
                &lt;version&gt;6.1.7&lt;/version&gt;
              &lt;/plugin&gt;
                    omitted....
              &lt;plugin&gt;
                &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                &lt;artifactId&gt;cobertura-maven-plugin&lt;/artifactId&gt;
                &lt;version&gt;2.5&lt;/version&gt;
                &lt;configuration&gt;
                  &lt;encoding&gt;UTF-8&lt;/encoding&gt;
                  &lt;formats&gt;
                    &lt;format&gt;xml&lt;/format&gt;
                  &lt;/formats&gt;
                &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                &lt;artifactId&gt;maven-pmd-plugin&lt;/artifactId&gt;
                &lt;version&gt;2.5&lt;/version&gt;
                &lt;configuration&gt;
                  &lt;linkXref&gt;false&lt;/linkXref&gt;
                  &lt;sourceEncoding&gt;UTF-8&lt;/sourceEncoding&gt;
                  &lt;minimumTokens&gt;100&lt;/minimumTokens&gt;
                  &lt;targetJdk&gt;1.6&lt;/targetJdk&gt;
                  &lt;excludes&gt;
                    &lt;exclude&gt;**/generated/*.java&lt;/exclude&gt;
                  &lt;/excludes&gt;
                  &lt;excludeRoots&gt;
                    &lt;excludeRoot&gt;target/generated-sources/stubs&lt;/excludeRoot&gt;
                  &lt;/excludeRoots&gt;
                &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
                &lt;version&gt;2.1.1&lt;/version&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt;
                &lt;version&gt;2.2&lt;/version&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                &lt;artifactId&gt;maven-release-plugin&lt;/artifactId&gt;
                &lt;version&gt;2.0&lt;/version&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt;
                &lt;version&gt;2.5&lt;/version&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                &lt;version&gt;2.3.2&lt;/version&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                &lt;artifactId&gt;maven-deploy-plugin&lt;/artifactId&gt;
                &lt;version&gt;2.6&lt;/version&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                &lt;artifactId&gt;maven-install-plugin&lt;/artifactId&gt;
                &lt;version&gt;2.3.1&lt;/version&gt;
              &lt;/plugin&gt;
            &lt;/plugins&gt;
          &lt;/pluginManagement&gt;
          &lt;plugins&gt;
            &lt;plugin&gt;
              &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.5&lt;/version&gt;
              &lt;executions&gt;
                &lt;execution&gt;
                  &lt;id&gt;default-resources&lt;/id&gt;
                  &lt;phase&gt;process-resources&lt;/phase&gt;
                  &lt;goals&gt;
                    &lt;goal&gt;resources&lt;/goal&gt;
                  &lt;/goals&gt;
                  &lt;configuration&gt;
                    &lt;encoding&gt;UTF-8&lt;/encoding&gt;
                  &lt;/configuration&gt;
                &lt;/execution&gt;
                &lt;execution&gt;
                  &lt;id&gt;default-testResources&lt;/id&gt;
                  &lt;phase&gt;process-test-resources&lt;/phase&gt;
                  &lt;goals&gt;
                    &lt;goal&gt;testResources&lt;/goal&gt;
                  &lt;/goals&gt;
                  &lt;configuration&gt;
                    &lt;encoding&gt;UTF-8&lt;/encoding&gt;
                  &lt;/configuration&gt;
                &lt;/execution&gt;
              &lt;/executions&gt;
              &lt;configuration&gt;
                &lt;encoding&gt;UTF-8&lt;/encoding&gt;
              &lt;/configuration&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.3.2&lt;/version&gt;
              &lt;executions&gt;
                &lt;execution&gt;
                  &lt;id&gt;default-testCompile&lt;/id&gt;
                  &lt;phase&gt;test-compile&lt;/phase&gt;
                  &lt;goals&gt;
                    &lt;goal&gt;testCompile&lt;/goal&gt;
                  &lt;/goals&gt;
                  &lt;configuration&gt;
                    &lt;source&gt;1.5&lt;/source&gt;
                    &lt;target&gt;1.5&lt;/target&gt;
                    &lt;verbose&gt;true&lt;/verbose&gt;
                    &lt;encoding&gt;GBK&lt;/encoding&gt;
                    &lt;compilerArguments&gt;
                      &lt;sourcepath&gt;/opt/myself/xxoosource/xxoodev/src
      /main/java&lt;/sourcepath&gt;
                      &lt;extdirs&gt;/opt/myself/xxoosource/xxoodev/src/lib&lt;/extdirs&gt;
                    &lt;/compilerArguments&gt;
                  &lt;/configuration&gt;
                &lt;/execution&gt;
                &lt;execution&gt;
                  &lt;id&gt;default-compile&lt;/id&gt;
                  &lt;phase&gt;compile&lt;/phase&gt;
                  &lt;goals&gt;
                    &lt;goal&gt;compile&lt;/goal&gt;
                  &lt;/goals&gt;
                  &lt;configuration&gt;
                    &lt;source&gt;1.5&lt;/source&gt;
                    &lt;target&gt;1.5&lt;/target&gt;
                    &lt;verbose&gt;true&lt;/verbose&gt;
                    &lt;encoding&gt;GBK&lt;/encoding&gt;
                    &lt;compilerArguments&gt;
                      &lt;sourcepath&gt;/opt/myself/xxoosource/xxoodev/src
      /main/java&lt;/sourcepath&gt;
                      &lt;extdirs&gt;/opt/myself/xxoosource/xxoodev/src/lib&lt;/extdirs&gt;
                    &lt;/compilerArguments&gt;
                  &lt;/configuration&gt;
                &lt;/execution&gt;
              &lt;/executions&gt;
              &lt;configuration&gt;
                &lt;source&gt;1.5&lt;/source&gt;
                &lt;target&gt;1.5&lt;/target&gt;
                &lt;verbose&gt;true&lt;/verbose&gt;
                &lt;encoding&gt;GBK&lt;/encoding&gt;
                &lt;compilerArguments&gt;
                  &lt;sourcepath&gt;/opt/myself/xxoosource/xxoodev/src/main/java&lt;/sourcepath&gt;
                  &lt;extdirs&gt;/opt/myself/xxoosource/xxoodev/src/lib&lt;/extdirs&gt;
                &lt;/compilerArguments&gt;
              &lt;/configuration&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
              &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.3.2&lt;/version&gt;
              &lt;executions&gt;
                &lt;execution&gt;
                  &lt;id&gt;default-jar&lt;/id&gt;
                  &lt;phase&gt;package&lt;/phase&gt;
                  &lt;goals&gt;
                    &lt;goal&gt;jar&lt;/goal&gt;
                  &lt;/goals&gt;
                  &lt;configuration&gt;
                    &lt;archive&gt;
                      &lt;manifestEntries&gt;
                        &lt;Build-Date&gt;${__now}&lt;/Build-Date&gt;
                        &lt;SCM-Revision&gt;${__revision}&lt;/SCM-Revision&gt;
                        &lt;SCM-Url&gt;${__fullurl}&lt;/SCM-Url&gt;
                      &lt;/manifestEntries&gt;
                    &lt;/archive&gt;
                  &lt;/configuration&gt;
                &lt;/execution&gt;
              &lt;/executions&gt;
              &lt;configuration&gt;
                &lt;archive&gt;
                  &lt;manifestEntries&gt;
                    &lt;Build-Date&gt;${__now}&lt;/Build-Date&gt;
                    &lt;SCM-Revision&gt;${__revision}&lt;/SCM-Revision&gt;
                    &lt;SCM-Url&gt;${__fullurl}&lt;/SCM-Url&gt;
                  &lt;/manifestEntries&gt;
                &lt;/archive&gt;
              &lt;/configuration&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
              &lt;artifactId&gt;maven-source-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.2.1&lt;/version&gt;
              &lt;executions&gt;
                &lt;execution&gt;
                  &lt;id&gt;attach-sources&lt;/id&gt;
                  &lt;goals&gt;
                    &lt;goal&gt;jar&lt;/goal&gt;
                  &lt;/goals&gt;
                &lt;/execution&gt;
              &lt;/executions&gt;
            &lt;/plugin&gt;
                 &lt;plugin&gt;
              &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
              &lt;artifactId&gt;findbugs-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.3.2&lt;/version&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
              &lt;artifactId&gt;maven-surefire-report-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.8&lt;/version&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
              &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
              &lt;artifactId&gt;cobertura-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.5&lt;/version&gt;
              &lt;configuration&gt;
                &lt;encoding&gt;UTF-8&lt;/encoding&gt;
                &lt;formats&gt;
                  &lt;format&gt;xml&lt;/format&gt;
                &lt;/formats&gt;
              &lt;/configuration&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
              &lt;artifactId&gt;maven-pmd-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.5&lt;/version&gt;
              &lt;configuration&gt;
                &lt;linkXref&gt;false&lt;/linkXref&gt;
                &lt;sourceEncoding&gt;UTF-8&lt;/sourceEncoding&gt;
                &lt;minimumTokens&gt;100&lt;/minimumTokens&gt;
                &lt;targetJdk&gt;1.6&lt;/targetJdk&gt;
                &lt;excludes&gt;
                  &lt;exclude&gt;**/generated/*.java&lt;/exclude&gt;
                &lt;/excludes&gt;
                &lt;excludeRoots&gt;
                  &lt;excludeRoot&gt;target/generated-sources/stubs&lt;/excludeRoot&gt;
                &lt;/excludeRoots&gt;
              &lt;/configuration&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
              &lt;artifactId&gt;maven-clean-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.4.1&lt;/version&gt;
              &lt;executions&gt;
                &lt;execution&gt;
                  &lt;id&gt;default-clean&lt;/id&gt;
                  &lt;phase&gt;clean&lt;/phase&gt;
                  &lt;goals&gt;
                    &lt;goal&gt;clean&lt;/goal&gt;
                  &lt;/goals&gt;
                &lt;/execution&gt;
              &lt;/executions&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
              &lt;artifactId&gt;maven-install-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.3.1&lt;/version&gt;
              &lt;executions&gt;
                &lt;execution&gt;
                  &lt;id&gt;default-install&lt;/id&gt;
                  &lt;phase&gt;install&lt;/phase&gt;
                  &lt;goals&gt;
                    &lt;goal&gt;install&lt;/goal&gt;
                  &lt;/goals&gt;
                &lt;/execution&gt;
              &lt;/executions&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
              &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.10&lt;/version&gt;
              &lt;executions&gt;
                &lt;execution&gt;
                  &lt;id&gt;default-test&lt;/id&gt;
                  &lt;phase&gt;test&lt;/phase&gt;
                  &lt;goals&gt;
                    &lt;goal&gt;test&lt;/goal&gt;
                  &lt;/goals&gt;
                &lt;/execution&gt;
              &lt;/executions&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
              &lt;artifactId&gt;maven-deploy-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.6&lt;/version&gt;
              &lt;executions&gt;
                &lt;execution&gt;
                  &lt;id&gt;default-deploy&lt;/id&gt;
                  &lt;phase&gt;deploy&lt;/phase&gt;
                  &lt;goals&gt;
                    &lt;goal&gt;deploy&lt;/goal&gt;
                  &lt;/goals&gt;
                &lt;/execution&gt;
              &lt;/executions&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
              &lt;artifactId&gt;maven-site-plugin&lt;/artifactId&gt;
              &lt;version&gt;3.0&lt;/version&gt;
              &lt;executions&gt;
                &lt;execution&gt;
                  &lt;id&gt;default-site&lt;/id&gt;
                  &lt;phase&gt;site&lt;/phase&gt;
                  &lt;goals&gt;
                    &lt;goal&gt;site&lt;/goal&gt;
                  &lt;/goals&gt;
                  &lt;configuration&gt;
                    &lt;outputDirectory&gt;/opt/myself/xxoosource/xxoodev
      /target/site&lt;/outputDirectory&gt;
                    &lt;reportPlugins&gt;
                      &lt;reportPlugin&gt;
                        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                        &lt;artifactId&gt;maven-project-info-reports-plugin&lt;/artifactId&gt;
                      &lt;/reportPlugin&gt;
                    &lt;/reportPlugins&gt;
                  &lt;/configuration&gt;
                &lt;/execution&gt;
                &lt;execution&gt;
                  &lt;id&gt;default-deploy&lt;/id&gt;
                  &lt;phase&gt;site-deploy&lt;/phase&gt;
                  &lt;goals&gt;
                    &lt;goal&gt;deploy&lt;/goal&gt;
                  &lt;/goals&gt;
                  &lt;configuration&gt;
                    &lt;outputDirectory&gt;/opt/myself/xxoosource/xxoodev
      /target/site&lt;/outputDirectory&gt;
                    &lt;reportPlugins&gt;
                      &lt;reportPlugin&gt;
                        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                        &lt;artifactId&gt;maven-project-info-reports-plugin&lt;/artifactId&gt;
                      &lt;/reportPlugin&gt;
                    &lt;/reportPlugins&gt;
                  &lt;/configuration&gt;
                &lt;/execution&gt;
              &lt;/executions&gt;
              &lt;configuration&gt;
                &lt;outputDirectory&gt;/opt/myself/xxoosource/xxoodev
      /target/site&lt;/outputDirectory&gt;
                &lt;reportPlugins&gt;
                  &lt;reportPlugin&gt;
                    &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                    &lt;artifactId&gt;maven-project-info-reports-plugin&lt;/artifactId&gt;
                  &lt;/reportPlugin&gt;
                &lt;/reportPlugins&gt;
              &lt;/configuration&gt;
            &lt;/plugin&gt;
          &lt;/plugins&gt;
        &lt;/build&gt;
        &lt;reporting&gt;
          &lt;outputDirectory&gt;/opt/myself/xxoosource/xxoodev/target/site&lt;/outputDirectory&gt;
        &lt;/reporting&gt;
      &lt;/project&gt;
  </code></pre>