maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amaresh mourya <amaresh.mou...@gmail.com>
Subject Re: Can Maven POM be named as POM.XML
Date Tue, 13 Apr 2010 12:42:36 GMT
This is working fine on windows..means POM.XML seems to be valid name.
I had one pom.xml , renamed it to POM.XML and mvn install worked
successfully.


On Tue, Apr 13, 2010 at 6:03 PM, Eric Chatellier
<chatellier@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
> [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 <chatellier@codelutin.com>
> Tel: 02 40 50 29 28
> http://www.codelutin.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message