Hi I am new user of maven.I had copied the following command line from the maven site
"mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app" but i am getting the following error [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 due 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: 18 seconds [INFO] Finished at: Mon Jul 10 15:30:21 IST 2006 [INFO] Final Memory: 1M/2M [INFO] ------------------------------------------------------------------------ " kindly help regarding its pretty urgent i have searched on websites but got pretty vague answers I have tried to edit my settings.xml file but after i edit it the above command doesnt even recognize settings.xml file nd gives the follwing error " Error reading settings.xml: only whitespace content allowed before start tag and not - (position: START_DOCUMENT seen -... @1:1) Line: 1" kindly reply asap thanks in advance Kindly give s step by step procedure for regarding this pro nd repository i had checked on some other sites too but no repository is being created on my system regards rahul -- View this message in context: http://www.nabble.com/pro-in-a-maven-command-tf1923598.html#a5266892 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]