On 13 April 2010 13:33, Eric Chatellier <chatell...@codelutin.com> wrote:
> 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 > did you try mvn clean install -f POM.xml > [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 <chatell...@codelutin.com> > Tel: 02 40 50 29 28 > http://www.codelutin.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >