Re: Can Maven POM be named as POM.XML

2010-04-14 Thread Garin Yan
Hi All,

I tried again on Ubuntu Linix and found that it is case-sensitive while on
Windows it is not. I am sorry that I had made a not all-inclusive
conclusion.

Regards,

On Tue, Apr 13, 2010 at 9:23 PM, Garin Yan yangu...@gmail.com wrote:

 Hi All,

 I tried it on just Windows. Later I will try on Linux. I am sorry that I
 have not explained clearly.


 On Tue, Apr 13, 2010 at 9:29 PM, Stephen Connolly 
 stephen.alan.conno...@gmail.com wrote:

 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
 
 




 --
 Garin Yan
 
 Software Engineer, International Service
 Founder International Co.,Ltd.
 Address: Suzhou International Science Park (Phase V)
  328 Xinghu Rd., Suzhou, Jiangsu, P.R.China, 215123
 Tel:+86 512 86665500-7063  Fax:+86 512 87183808  Cell:151 0621 9276
 yangu...@gmail.com  ||  www.founderinternational.com
 
 Enjoying 20 years of success satisfying global leaders with every IT need
 -- Founder’s 30,000 employees are committed to helping you succeed.




-- 
Garin Yan

Software Engineer, International Service
Founder International Co.,Ltd.
Address: Suzhou International Science Park (Phase V)
 328 Xinghu Rd., Suzhou, Jiangsu, P.R.China, 215123
Tel:+86 512 86665500-7063  Fax:+86 512 87183808  Cell:151 0621 9276
yangu...@gmail.com  ||  www.founderinternational.com

Enjoying 20 years of success satisfying global leaders with every IT need --
Founder’s 30,000 employees are committed to helping you succeed.


Re: Can Maven POM be named as POM.XML

2010-04-14 Thread Mark H. Wood
On Wed, Apr 14, 2010 at 05:11:28AM -0400, Garin Yan wrote:
 I tried again on Ubuntu Linix and found that it is case-sensitive while on
 Windows it is not. I am sorry that I had made a not all-inclusive
 conclusion.

Correct.  Most filesystem types on Unix or Linux will be
case-sensitive.  NTFS (on Windows) is case-preserving but
case-insensitive:  if you name a file cAmElCaSe it will remember the
capitalization, but will give you that file even if you ask for
camelcase or CamelCase or CAMELCASE.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Balance your desire for bells and whistles with the reality that only a 
little more than 2 percent of world population has broadband.
-- Ledford and Tyler, _Google Analytics 2.0_


pgpzmQ2z0sqAi.pgp
Description: PGP signature


Re: Can Maven POM be named as POM.XML

2010-04-14 Thread Benson Margulies
You do know that you can use -f and name it whatever you want? (though
I don't know about module for that)

On Wed, Apr 14, 2010 at 10:57 AM, Mark H. Wood mw...@iupui.edu wrote:
 On Wed, Apr 14, 2010 at 05:11:28AM -0400, Garin Yan wrote:
 I tried again on Ubuntu Linix and found that it is case-sensitive while on
 Windows it is not. I am sorry that I had made a not all-inclusive
 conclusion.

 Correct.  Most filesystem types on Unix or Linux will be
 case-sensitive.  NTFS (on Windows) is case-preserving but
 case-insensitive:  if you name a file cAmElCaSe it will remember the
 capitalization, but will give you that file even if you ask for
 camelcase or CamelCase or CAMELCASE.

 --
 Mark H. Wood, Lead System Programmer   mw...@iupui.edu
 Balance your desire for bells and whistles with the reality that only a
 little more than 2 percent of world population has broadband.
        -- Ledford and Tyler, _Google Analytics 2.0_


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Can Maven POM be named as POM.XML

2010-04-13 Thread amaresh mourya
Hi All,

I am in need of having check on a set of xml documents in search of
potential POMs. So is it necessary that name of the xml file should be
pom.xml and it cannot be POM.XML?

Thanks,
Amaresh


Re: Can Maven POM be named as POM.XML

2010-04-13 Thread Garin Yan
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.

On Tue, Apr 13, 2010 at 8:09 PM, amaresh mourya amaresh.mou...@gmail.comwrote:

 Hi All,

 I am in need of having check on a set of xml documents in search of
 potential POMs. So is it necessary that name of the xml file should be
 pom.xml and it cannot be POM.XML?

 Thanks,
 Amaresh




-- 
Garin Yan

Software Engineer, International Service
Founder International Co.,Ltd.
Address: Suzhou International Science Park (Phase V)
 328 Xinghu Rd., Suzhou, Jiangsu, P.R.China, 215123
Tel:+86 512 86665500-7063  Fax:+86 512 87183808  Cell:151 0621 9276
yangu...@gmail.com  ||  www.founderinternational.com

Enjoying 20 years of success satisfying global leaders with every IT need --
Founder’s 30,000 employees are committed to helping you succeed.


Re: Can Maven POM be named as POM.XML

2010-04-13 Thread amaresh mourya
Thanks

On Tue, Apr 13, 2010 at 5:59 PM, Garin Yan yangu...@gmail.com wrote:

 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.

 On Tue, Apr 13, 2010 at 8:09 PM, amaresh mourya amaresh.mou...@gmail.com
 wrote:

  Hi All,
 
  I am in need of having check on a set of xml documents in search of
  potential POMs. So is it necessary that name of the xml file should be
  pom.xml and it cannot be POM.XML?
 
  Thanks,
  Amaresh
 



 --
 Garin Yan
 
 Software Engineer, International Service
 Founder International Co.,Ltd.
 Address: Suzhou International Science Park (Phase V)
 328 Xinghu Rd., Suzhou, Jiangsu, P.R.China, 215123
 Tel:+86 512 86665500-7063  Fax:+86 512 87183808  Cell:151 0621 9276
 yangu...@gmail.com  ||  www.founderinternational.com
 
 Enjoying 20 years of success satisfying global leaders with every IT need
 --
 Founder’s 30,000 employees are committed to helping you succeed.



Re: Can Maven POM be named as POM.XML

2010-04-13 Thread Eric Chatellier
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 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



Re: Can Maven POM be named as POM.XML

2010-04-13 Thread amaresh mourya
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
chatell...@codelutin.comwrote:

 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 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




Re: Can Maven POM be named as POM.XML

2010-04-13 Thread Justin Edelson
That's because Windows is case-insensitive.

On Tue, Apr 13, 2010 at 8:42 AM, amaresh mourya amaresh.mou...@gmail.comwrote:

 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
 chatell...@codelutin.comwrote:

  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 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
 
 



Re: Can Maven POM be named as POM.XML

2010-04-13 Thread Justin Edelson
Do you have a reference for this? It is not true AFAIK.


On Tue, Apr 13, 2010 at 8:29 AM, Garin Yan yangu...@gmail.com wrote:

 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.

 On Tue, Apr 13, 2010 at 8:09 PM, amaresh mourya amaresh.mou...@gmail.com
 wrote:

  Hi All,
 
  I am in need of having check on a set of xml documents in search of
  potential POMs. So is it necessary that name of the xml file should be
  pom.xml and it cannot be POM.XML?
 
  Thanks,
  Amaresh
 



 --
 Garin Yan
 
 Software Engineer, International Service
 Founder International Co.,Ltd.
 Address: Suzhou International Science Park (Phase V)
 328 Xinghu Rd., Suzhou, Jiangsu, P.R.China, 215123
 Tel:+86 512 86665500-7063  Fax:+86 512 87183808  Cell:151 0621 9276
 yangu...@gmail.com  ||  www.founderinternational.com
 
 Enjoying 20 years of success satisfying global leaders with every IT need
 --
 Founder’s 30,000 employees are committed to helping you succeed.



Re: Can Maven POM be named as POM.XML

2010-04-13 Thread Stephen Connolly
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




Re: Can Maven POM be named as POM.XML

2010-04-13 Thread Garin Yan
Hi All,

I tried it on just Windows. Later I will try on Linux. I am sorry that I
have not explained clearly.

On Tue, Apr 13, 2010 at 9:29 PM, Stephen Connolly 
stephen.alan.conno...@gmail.com wrote:

 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
 
 




-- 
Garin Yan

Software Engineer, International Service
Founder International Co.,Ltd.
Address: Suzhou International Science Park (Phase V)
 328 Xinghu Rd., Suzhou, Jiangsu, P.R.China, 215123
Tel:+86 512 86665500-7063  Fax:+86 512 87183808  Cell:151 0621 9276
yangu...@gmail.com  ||  www.founderinternational.com

Enjoying 20 years of success satisfying global leaders with every IT need --
Founder’s 30,000 employees are committed to helping you succeed.