Le 13/04/2010 14:29, Garin Yan a écrit : > Hi Amaresh, > > The name of the POM is case-insensitive. So you can name the POM file as > pom.xml, POM.XML or pOm.xMl. > Maybe on Windows, but it's not working on unix systems.
$ mv pom.xml POM.xml $ mvn clean install [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 Apr 13 14:31:24 CEST 2010 [INFO] Final Memory: 4M/154M [INFO] ------------------------------------------------------------------------ -- Éric <[email protected]> Tel: 02 40 50 29 28 http://www.codelutin.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
