title: Convert Ant build script into Maven build
body: <p>This is the Ant one target which i want to convert in Pom.xml. My problem
  is how to write these steps in POM. My Project structure are not
  standard also.</p>
  <pre><code>   My project structure is like com.ABD/Src/com/sp/gateway/Abc.java 
     file.
  
            &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;configuration&gt;
                  &lt;target&gt;
                      &lt;echo message=&quot;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;compile&quot; /&gt;
                      &lt;mkdir dir=&quot;bin&quot; /&gt;
                      &lt;javac srcdir=&quot;com.sc.lms.gateway/src&quot; 
                         destdir=&quot;bin&quot;
                          classpathref=&quot;classpath&quot; source=&quot;8&quot; target=&quot;8&quot; 
                         /&gt;
  
                        &lt;copy todir=&quot;bin&quot;&gt;
                          &lt;fileset dir=&quot;WebContent&quot;&gt;
                              &lt;include name=&quot;**/*.xml&quot; /&gt;
                          &lt;/fileset&gt;
                      &lt;/copy&gt;
                  &lt;/target&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  
          
  </code></pre>