Hi,

     just i extract the maven 2.0.4, and in bin folder only,  m2  m2.bat
m2.conf  mvn  mvn.bat files are there. if i try to run mvn ./mvn it give the
error report.


[EMAIL PROTECTED] bin]# ./mvn compile
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [compile]
[INFO]
----------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot execute mojo: resources. It requires a project with an
existing pom.xml, but the build is not using one.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Mon Apr 24 12:01:19 IST 2006
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------

Reply via email to