IT says 'connection refused', are you sure you can currently reach your Nexus?
On 23-03-11 19:39, Hahn, Christopher (SAN DIEGO) wrote: > ??? > > What can make Hello World fail: > > ========================================================== > > D:\temp>mvn archetype:generate > -DarchetypeGroupId=org.apache.maven.archetypes > -DgroupId=com.mycompany.app -DartifactId=my-app > > D:\temp>set MAVEN_OPTS=-Xmx1024m -Xms128m > > [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: Connection refused: connect > > [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: 1 second > > [INFO] Finished at: Wed Mar 23 10:18:23 PDT 2011 > > [INFO] Final Memory: 1M/127M > > [INFO] > ------------------------------------------------------------------------ > > D:\temp> > > ========================================================== > > We are using Nexus, and something must be misconfigured there, but > > other full-blown targets are working fine. > > Do I need to re-add Central as a repo on my command line? > > Sorry, but I seem to be going backwards on this matter... > > Chris > > ------------------------------------------------------------------------ > > cid:image001.png@01CAF080.AD65F1E0 > > > > *Christopher Hahn* > The Dude > > Software Production Engineering > R&D Services, Hewlett-Packard > Phone: 858-655-4096 > Cell: 619-630-9791 > ch...@hp.com <mailto:christopher.h...@hp.com> > > */Visit our SPE Portal/* > <http://teams5.sharepoint.hp.com/teams/SPE/default.aspx>*//* > > ------------------------------------------------------------------------ > -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1 2198790-927 A-1210 Wien M +43 664 88657566 E roland.asm...@adesso.at W www.adesso.at ------------------------------------------------------------- >>> business. people. technology. <<< ------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org