Hi 

 I am trying to create my first Maven project as guided in the "Maven
GettingStarted Guide"
 
This is my first step after installing  Maven 2.0.4 and 
confi.(mirrors,profiles,proxy..) 

mvn archetype:create -DgroupId=com.test.app -DartifactId=my-test-app 

But I get the following errors. 

[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [archetype:create]
[INFO]
----------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot execute mojo: create. 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: Mon Nov 06 16:50:46 IST 2006
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------

I try with following diffrent option :
 mvn -U archetype:create -DgroupId=com.test.app -DartifactId=my-test-app 
 mvn -U -e archetype:create -DgroupId=com.test.app -DartifactId=my-test-app  
 mvn -X archetype:create -DgroupId=com.test.app -DartifactId=my-test-app 

Regards,

Pk.


               


-- 
View this message in context: 
http://www.nabble.com/Maven-2.0.4-Project-Creationm-Problem-tf2581919s177.html#a7197288
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to