maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maria Odea Ching <och...@mergere.com>
Subject Re: Maven 2.0 installation
Date Sat, 19 Nov 2005 02:47:38 GMT
You should create the project first by executing this command:

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

then cd to the created project (cd my_app) and execute: mvn compile



Sean Hennessy wrote:

>mvn site cannot find the pom.xml "It requires a project, but the build
>is not using one."
>
>cd to your <artifact-id> folder where the pom.xml resides and try
>again..
>if you used my_app as the artifact-id then 
>cd my_app
>mvn site
>
>-----Original Message-----
>From: HappyGoLucky [mailto:s2345s@yahoo.com] 
>Sent: Friday, November 18, 2005 8:20 AM
>To: users@maven.apache.org
>Subject: Maven 2.0 installation
>
>
>Greetings,
>I have installed maven 2.0, as per the installation
>document. I have created the project as mentioned in
>"getting started guide". Maven fails when I issues mvn
>compile command with the following error
>
>C:\mvntest>mvn compile
>[INFO] Scanning for projects...
>[INFO]
>------------------------------------------------------------------------
>-
>---
>[INFO] Building Maven Default Project
>[INFO]    task-segment: [compile]
>[INFO]
>------------------------------------------------------------------------
>-
>---
>[INFO]
>------------------------------------------------------------------------
>-
>---
>[ERROR] BUILD ERROR
>[INFO]
>------------------------------------------------------------------------
>-
>---
>[INFO] Cannot execute mojo: resources. It requires a
>project, but the build is n
>ot using one.
>[INFO]
>------------------------------------------------------------------------
>-
>---
>[INFO] For more information, run Maven with the -e
>switch
>[INFO]
>------------------------------------------------------------------------
>-
>---
>[INFO] Total time: 1 second
>[INFO] Finished at: Fri Nov 18 11:18:22 EST 2005
>[INFO] Final Memory: 1M/3M
>[INFO]
>------------------------------------------------------------------------
>-
>---
>Could anyone guide me?
>
>Thanks in advance,
>RJ
>
>
>	
>		
>__________________________________ 
>Yahoo! Mail - PC Magazine Editors' Choice 2005 
>http://mail.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>  
>


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


Mime
View raw message