maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bahaa Nasrallah <>
Subject compiling my project with resource files
Date Fri, 25 Feb 2005 17:27:06 GMT
I am trying to migrate the build process for my project from Ant to Maven.
The problem is that i dont know how exactly to migrate the compiling.
in Ant i have: 
<!--Compile Java source files  debug="on" -->
      <javac srcdir="${src}" destdir="${compile.outdir}">
          <pathelement path="${classpath}"/>
          <fileset dir="lib">
            <include name="*.jar"/>
            <include name=""/>


<property name="src" value="src"/>
<property name="classpath"  value="lib"/>
<property name="compile.outdir" value="classes"/>

In Maven in my project.xml i have:


in ${basedir} there is src directory and lib directory.

when i run  maven java:compile
i get BUILD FAILD becouse of compilation errors (seems like doesn't
recognize the files found in lib directory)

I will be thankful if anoybody has a suggestion to solve this problem.

Thanks in advance.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message