Run again with -e, that is, mvn -e install. You will get more error information (stack trace etc) that might help diagnose your problem.
Also, it sounds like you are probably behind a web proxy. This will need to be configured in settings.xml so Maven can connect to the Internet to download plugins etc as needed. Wayne On 4/11/07, Ramesh Babu Pokala - TLS, Chennai <[EMAIL PROTECTED]> wrote:
Hi All, I installed Maven and trying to build Eclipse RCP Application. The following error I am getting while trying to perform (1) C:\Documents and Settings\bpra\Desktop\maven-2.0.6\maven-2.0.6>mvn install from command line [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ - --- [INFO] Building Maven Default Project [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ - --- [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exi st or no valid version could be found [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Wed Apr 11 21:10:48 IST 2007 [INFO] Final Memory: 1M/4M [INFO] ------------------------------------------------------------------------ (2) C:\Documents and Settings\bpra\Desktop\maven-2.0.6\maven-2.0.6>mvn archetype:cre ate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app Error: [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi st or no valid version could be found [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Wed Apr 11 20:59:21 IST 2007 [INFO] Final Memory: 1M/4M [INFO] ------------------------------------------------------------------------ Please help me out in running the maven tool to build RCP Application. Thanks & Regards Ramesh Babu.P <mailto::[EMAIL PROTECTED]> DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. -----------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]