hi i am new to this topic.
to create a new project in maven i got this command from some site
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
but wen i execute this command in command promt i am getting error
C:\Documents and Settings\srealku>mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central du
e to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be
found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31 seconds
[INFO] Finished at: Fri Jun 20 19:41:38 IST 2008
[INFO] Final Memory: 1M/2M
[INFO] ------------------------------------------------------------------------
i searched for solutions for this problem in google ..but it s mentioned that they solved this problem by changing settings.xml file in .m2 folder ..but i can't find any such folder in apache-maven folder ..
kindly provide some solutions for this .
thanks in advance
sreedevi