I am using XP Windows >>>

1)Install Latest JRE
2)Download Maven 3.0
3)Set JAVA_Home for JRE
4)Set Path for Maven 3.0 upto BIN

Run Command to ensure the installation

>> mvn --v

Apache Maven 3.0 (r1004208; 2010-10-04 16:50:56+0500)
Java version: 1.6.0_22
Java home: C:\Program Files\Java\jdk1.6.0_22\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

Will Anyone help me How to Proceed further as My Java Project Path is :-

C:\Workspace_Eclipse\Sample\src


I am running following Command after using this Link:
mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app
-DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false

and Link is :

http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html


It doesn't work for me .....


Errors Come as ::::::::




[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.093s
[INFO] Finished at: Fri Oct 22 10:34:38 UZT 2010
[INFO] Final Memory: 1M/15M
[INFO]
------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no
POM
in this directory (C:\Workspace_Eclipse\Sample\src). Please verify you
invoked
Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MissingProject
Exception



Please Suggest.................

I have Simple Settings.XML file that is in Maven 3.0's Package

Thanks



-----


Waseem Bokhari
CM Analyst
wasi_s...@hotmail.com
00923214294926
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-in-5-minutes-doesn-t-work-tp510820p3231786.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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

Reply via email to