What is your setup? Have you recently changed your proxy settings? Has this problem only just started appearing or have you had it for a long time? Do the other mvn build phases work (install, etc)?
Have you got your repositories set up ok? Should be something like the following... (if you are using a proxy) # <repositories> # <repository> # <id>central</id> # <name>MyCompany Central Repository</name> # <url>http://maven-repos:9999/repository</url> # <snapshots> # <enabled>true</enabled> # </snapshots> # <releases> # <enabled>true</enabled> # </releases> # </repository> # </repositories> # <pluginRepositories> # <pluginRepository> # <id>central</id> # <name>MyCompany Central Repository</name> # <url>http://maven-repos:9999/repository</url> # </pluginRepository> # </pluginRepositories> # <build> -----Original Message----- From: Thomas Chang [mailto:[EMAIL PROTECTED] Sent: 03 January 2008 11:02 To: Maven Users List Subject: RE: How do I deploy my jar in my remote repository? Sorry, I find the mvn command: mvn deploy But I got error as I run it: E:\Projekte\TestMavenConfig>mvn deploy [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------- --- [INFO] Building Test Maven COnfig using Injecting POM Properties via "settings.x ml" [INFO] task-segment: [deploy] [INFO] ------------------------------------------------------------------------- --- [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-deploy-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: 1 second [INFO] Finished at: Thu Jan 03 12:00:33 CET 2008 [INFO] Final Memory: 3M/6M [INFO] ------------------------------------------------------------------------ E:\Projekte\TestMavenConfig> ***************** Hi all, I try to deploy my jar in remote server according to http://maven.apache.org/guides/getting-started/index.html#How_do_I_deploy_my_jar_in_my_remote_repository. But I couldn't find the mvn command to do this. Someone knows? Thomas --------------------------------- Ihre erste Baustelle? Wissenswertes für Bastler und Hobby Handwerker. The content of this e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient and may not be disclosed, copied or distributed. If you received this email in error, please contact the sender immediately by return e-mail or by telephoning +44 20 7260 2000, delete it and do not disclose its contents to any person. You should take full responsibility for checking this email for viruses. Markit reserves the right to monitor all e-mail communications through its network. Markit and its affiliated companies make no warranty as to the accuracy or completeness of any information contained in this message and hereby exclude any liability of any kind for the information contained herein. Any opinions expressed in this message are those of the author and do not necessarily reflect the opinions of Markit. For full details about Markit, its offerings and legal terms and conditions, please see Markit's website at http://www.markit.com <http://www.markit.com/> . --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
