Do you use perforce by any chance? It happens when the pom.xml could not be resolved (because of a missing dependency for instance). In that case, the pom.xml gets deleted for an unknown reason. Since perforce has a hard link with the server, it does not realize that the file is not there anymore. S.
On Tue, Oct 21, 2008 at 8:41 AM, Brett Porter <[EMAIL PROTECTED]> wrote: > The directory that you checked out does not contain a pom.xml. If this is a > Maven project, you need to checkout the location of the pom.xml. > > - Brett > > On 21/10/2008, at 5:38 PM, Jan K wrote: > > >> I am getting a build error when i build my project in continuum.The error >> is >> >> [INFO] Scanning for projects... >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Building Maven Default Project >> [INFO] task-segment: [clean, install] >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Cannot execute mojo: clean. 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: < 1 second >> [INFO] Finished at: Tue Oct 21 12:02:48 GMT+05:30 2008 >> [INFO] Final Memory: 1M/3M >> [INFO] ------------------------------------------ >> >> Please let me know how to fix this issue. >> -- >> View this message in context: >> http://www.nabble.com/Build-Error-tp20084286p20084286.html >> Sent from the Continuum - Users mailing list archive at Nabble.com. >> >> > -- > Brett Porter > [EMAIL PROTECTED] > http://blogs.exist.com/bporter/ > > -- Large Systems Suck: This rule is 100% transitive. If you build one, you suck" -- S.Yegge
