'Caused by: org.apache.maven.wagon.TransferFailedException: Connection timed out: connect'
Are you behind a proxy? You can find instructions on how to configure that in "Configuring Maven". Sorry for the error handling - you can usually find the main problem towards the bottom. Cheers, Brett On 4/15/05, GOKULAM Jayaram <[EMAIL PROTECTED]> wrote: > Hi Brett, > I read the readme.txt file also the getting started guide available in > the url http://maven.apache.org/maven2/getting-started.html > > Tried with > m2 archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app\ > > this ended up with the error exceptions too.(Exception is listed below) > > I believe unless it understands m2 as specified in the readme.txt file, > this won't work and that's why I posted the first question. Hope my > thinking isn't wrong. > > Thanks for your help in advance > Jayaram > > Error shown: > > [INFO] > ------------------------------------------------------------------------ > ---- > [INFO] Building Maven Default Project > [INFO] > ------------------------------------------------------------------------ > ---- > Downloading: > org/apache/maven/plugins/maven-jar-plugin/1.0-alpha-1/maven-jar-plugin-1 > .0-alpha-1 > .jar > --------------------------------------------------- > constituent[0]: file:/D:/maven-2.0/bin/../lib/commons-cli-1.0-beta-2.jar > constituent[1]: > file:/D:/maven-2.0/bin/../lib/marmalade-core-1.0-alpha-2.jar > constituent[2]: > file:/D:/maven-2.0/bin/../lib/maven-artifact-2.0-alpha-1.jar > constituent[3]: file:/D:/maven-2.0/bin/../lib/maven-core-2.0-alpha-1.jar > constituent[4]: > file:/D:/maven-2.0/bin/../lib/maven-model-2.0-alpha-1.jar > constituent[5]: > file:/D:/maven-2.0/bin/../lib/maven-monitor-2.0-alpha-1.jar > constituent[6]: > file:/D:/maven-2.0/bin/../lib/maven-plugin-2.0-alpha-1.jar > constituent[7]: > file:/D:/maven-2.0/bin/../lib/maven-script-marmalade-2.0-alpha-1.jar > constituent[8]: > file:/D:/maven-2.0/bin/../lib/maven-settings-2.0-alpha-1.jar > constituent[9]: > file:/D:/maven-2.0/bin/../lib/plexus-container-artifact-1.0-alpha-2.jar > constituent[10]: > file:/D:/maven-2.0/bin/../lib/plexus-i18n-1.0-beta-3.jar > constituent[11]: > file:/D:/maven-2.0/bin/../lib/plexus-marmalade-factory-1.0-alpha-2.jar > constituent[12]: > file:/D:/maven-2.0/bin/../lib/wagon-http-lightweight-1.0-alpha-2.jar > constituent[13]: > file:/D:/maven-2.0/bin/../lib/wagon-provider-api-1.0-alpha-2.jar > --------------------------------------------------- > org.apache.maven.reactor.ReactorException: Error executing project > within the reactor > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:144) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:233) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav > a:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > Impl.java:25 > ) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:243) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416) > at org.codehaus.classworlds.Launcher.main(Launcher.java:363) > Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: Error > during lifecycle execu > tion > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec > ycleExecutor > .java:154) > at > org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:212) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:136) > ... 9 more > Caused by: > org.apache.maven.artifact.resolver.ArtifactResolutionException: Error > downloading ar > tifact > org.apache.maven.plugins:maven-jar-plugin:maven-plugin:1.0-alpha-1 > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau > ltArtifactRe > solver.java:135) > at > org.codehaus.plexus.DefaultArtifactEnabledContainer.addComponent(Default > ArtifactEnab > ledContainer.java:93) > at > org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginMana > ger.java:299 > ) > at > org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginM > anager.java: > 272) > at > org.apache.maven.plugin.DefaultPluginManager.verifyPluginForGoal(Default > PluginManage > r.java:219) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyMojoPhase(Defa > ultLifecycle > Executor.java:377) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec > ycleExecutor > .java:116) > ... 11 more > Caused by: org.apache.maven.wagon.TransferFailedException: Connection > timed out: connect > at > org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData > (Lightweight > HttpWagon.java:81) > at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:70) > at > org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(Defa > ultWagonMana > ger.java:278) > at > org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Defaul > tWagonManage > r.java:214) > at > org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Defaul > tWagonManage > r.java:181) > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau > ltArtifactRe > solver.java:119) > ... 17 more > > -----Original Message----- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Friday, April 15, 2005 1:55 PM > To: Maven Users List > Subject: Re: maven 2 unable to start with > > The error message written in there is: > > "You must have at least one goal. Try 'install'". > > Are you running this on a project, or just in a new directory? > > You should read the getting started guide, which shows how to start a > new project and do a few things, step by step. > > - Brett > > On 4/15/05, GOKULAM Jayaram <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I downloaded the new Maven 2 alpha release and extracted it. > > > > When I type m2 it throws me an exception, rather than showing up the > > maven logo on the console. > > > > Help is appreciated. > > > > Thanks, > > > > Jayaram > > > > Error is as below: > > > > --------------------------------------------------- > > > > constituent[0]: > file:/D:/maven-2.0/bin/../lib/commons-cli-1.0-beta-2.jar > > > > constituent[1]: > > file:/D:/maven-2.0/bin/../lib/marmalade-core-1.0-alpha-2.jar > > > > constituent[2]: > > file:/D:/maven-2.0/bin/../lib/maven-artifact-2.0-alpha-1.jar > > > > constituent[3]: > file:/D:/maven-2.0/bin/../lib/maven-core-2.0-alpha-1.jar > > > > constituent[4]: > > file:/D:/maven-2.0/bin/../lib/maven-model-2.0-alpha-1.jar > > > > constituent[5]: > > file:/D:/maven-2.0/bin/../lib/maven-monitor-2.0-alpha-1.jar > > > > constituent[6]: > > file:/D:/maven-2.0/bin/../lib/maven-plugin-2.0-alpha-1.jar > > > > constituent[7]: > > file:/D:/maven-2.0/bin/../lib/maven-script-marmalade-2.0-alpha-1.jar > > > > constituent[8]: > > file:/D:/maven-2.0/bin/../lib/maven-settings-2.0-alpha-1.jar > > > > constituent[9]: > > > file:/D:/maven-2.0/bin/../lib/plexus-container-artifact-1.0-alpha-2.jar > > > > constituent[10]: > > file:/D:/maven-2.0/bin/../lib/plexus-i18n-1.0-beta-3.jar > > > > constituent[11]: > > file:/D:/maven-2.0/bin/../lib/plexus-marmalade-factory-1.0-alpha-2.jar > > > > constituent[12]: > > file:/D:/maven-2.0/bin/../lib/wagon-http-lightweight-1.0-alpha-2.jar > > > > constituent[13]: > > file:/D:/maven-2.0/bin/../lib/wagon-provider-api-1.0-alpha-2.jar > > > > --------------------------------------------------- > > > > org.apache.maven.reactor.ReactorException: You must specify at least > one > > goal. Try 'inst > > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:88) > > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:233) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav > > a:39) > > > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > > Impl. > > > > ) > > > > at java.lang.reflect.Method.invoke(Method.java:324) > > > > at > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303) > > > > at org.codehaus.classworlds.Launcher.launch(Launcher.java:243) > > > > at > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416) > > > > at org.codehaus.classworlds.Launcher.main(Launcher.java:363) > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
