code: @Override
      protected void internalExecute()
          throws MojoExecutionException, MojoFailureException
      {
          if ( skipMain )
          {
              getLog().info( "Not compiling main sources" );
              return;
          }
  
          super.internalExecute();
  
          if ( outputDirectory.isDirectory() )
          {
              projectArtifact.setFile( outputDirectory );
          }
      }
docs: {@inheritDoc}