Thank you Mika. Unfortunately I get the same error. Here are the steps I am following, on an SUSE Linux Professional 9.3 box. It should not be relevant, but Eclipse is 3.1.1.
1. Install Maven 2 (used the link you gave for the RC) 2. Go to an empty directory and execute 'm2 archetype:create -DgroupId=com.myfocusonfitness.TrainingApp -DartifactId=TrainingApp' 3. Execute 'cd TrainingApp' 4. Execute 'm2 eclipse:eclipse' Now I have never used Maven, and am approaching Eclipse reluctantly due to its functionality and popularity, so I may be missing something obvious. Do you see what it is though? I thought taking the skeleton application would work flawlessly and give me a base to operate from. Thanks, John S On Mon, 2005-10-17 at 19:01 +0200, mika wrote: > Hi John > > maybe upgrading to maven 2 rc could resolve your problem. > > you can get m2 RC from here: > http://people.apache.org/~brett/maven-2.0-RC/ > > Regards, > mika > > John R. Storey wrote: > > Hello, > > > > I just downloaded Maven 2.0 yesterday and am trying to work out the > > eclipse integration. Unfortunately when I try to run 'm2 > > eclipse:eclipse' I get the exception stack shown below. > > > > > > This is probably something obvious to the more experienced members on > > this list, but I am at a loss. Any idea what is going on? > > > > Thanks, > > John S. > > > > [EMAIL PROTECTED]:~/code/TrainingProgram/TrainingProgram> ls > > pom.xml src/ > > [EMAIL PROTECTED]:~/code/TrainingProgram/TrainingProgram> m2 eclipse:eclipse > > [INFO] Searching repository for plugin with prefix: 'eclipse'. > > [INFO] org.apache.maven.plugins: checking for updates from central > > [INFO] org.codehaus.mojo: checking for updates from central > > [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking > > for updates from central > > [INFO] > > ---------------------------------------------------------------------------- > > [INFO] Building Maven Quick Start Archetype > > [INFO] task-segment: [eclipse:eclipse] > > [INFO] > > ---------------------------------------------------------------------------- > > [INFO] Preparing eclipse:eclipse > > [INFO] [eclipse:eclipse] > > --------------------------------------------------- > > constituent[0]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-plugin-parameter-documenter-2.0-beta-3.jar > > constituent[1]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/plexus-input-handler-1.0-alpha-2.jar > > constituent[2]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/wagon-file-1.0-alpha-4.jar > > constituent[3]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-repository-metadata-2.0-beta-3.jar > > constituent[4]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/jline-0.9.1.jar > > constituent[5]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/jsch-0.1.21.jar > > constituent[6]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/wagon-http-lightweight-1.0-alpha-4.jar > > constituent[7]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-model-2.0-beta-3.jar > > constituent[8]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/commons-cli-1.0.jar > > constituent[9]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-profile-2.0-beta-3.jar > > constituent[10]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-reporting-api-2.0-beta-3.jar > > constituent[11]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-project-2.0-beta-3.jar > > constituent[12]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/doxia-sink-api-1.0-alpha-4.jar > > constituent[13]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-plugin-registry-2.0-beta-3.jar > > constituent[14]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-artifact-manager-2.0-beta-3.jar > > constituent[15]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-core-2.0-beta-3.jar > > constituent[16]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-settings-2.0-beta-3.jar > > constituent[17]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-monitor-2.0-beta-3.jar > > constituent[18]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/wagon-ssh-1.0-alpha-4.jar > > constituent[19]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-plugin-api-2.0-beta-3.jar > > constituent[20]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-plugin-descriptor-2.0-beta-3.jar > > constituent[21]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/wagon-provider-api-1.0-alpha-4.jar > > constituent[22]: > > file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-artifact-2.0-beta-3.jar > > --------------------------------------------------- > > Exception in thread "main" java.lang.NoClassDefFoundError: > > org/apache/maven/artifact/resolver/ArtifactNotFoundException > > at > > org.apache.maven.plugin.eclipse.EclipsePlugin.write(EclipsePlugin.java:347) > > at > > org.apache.maven.plugin.eclipse.EclipsePlugin.execute(EclipsePlugin.java:330) > > at > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:554) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:517) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:498) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:307) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149) > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:217) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:247) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:585) > > at > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > > at > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > [EMAIL PROTECTED]:~/code/TrainingProgram/TrainingProgram> > > > > > > > > --------------------------------------------------------------------- > > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
