title: class com.bea.alsb.tools.configjar.ant.ConfigJarTask cannot be found
body: <p>We are trying to invoke ant using maven in an osb project </p>
  
  <p>And we are getting the below error </p>
  
  <p>taskdef class com.bea.alsb.tools.configjar.ant.ConfigJarTask cannot be found</p>
  
  <p>================= Below is build XML </p>
  
  <p></p>
  
  <pre><code>&lt;property environment="env" /&gt; 
  &lt;property name="mw.home" location="${env.MW_HOME}"/&gt; 
  &lt;property name="wl.home" location="${env.WL_HOME}"/&gt; 
  &lt;property name="osb.home" location="${env.OSB_HOME}"/&gt; 
              &lt;property name="settingsFile" location="D:\osb_ant\settings.xml"/&gt; 
  
  
  &lt;taskdef name="configjar" 
           classname="com.bea.alsb.tools.configjar.ant.ConfigJarTask"/&gt; 
  
  &lt;target name="init"&gt;
     &lt;property name="task.debug" value="false" /&gt; 
     &lt;property name="task.failonerror" value="true" /&gt; 
     &lt;property name="task.errorproperty" value="" /&gt; 
  
  &lt;/target&gt;
  
  &lt;target name="run" depends="init"&gt;
  
     &lt;fail unless="settingsFile"/&gt;
  
     &lt;configjar debug="${task.debug}" 
                failonerror="${task.failonerror}" 
                errorProperty="${task.errorproperty}" 
                settingsFile="${settingsFile}" /&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p></p>