Jack,

I suppose project creation could be smarter when you select folder that already has Maven project in there. However more natural way to get your existing project into Eclipse workspace is to use File / Import... / Maven Projects wizards, or its derivatives that allow to import project directly from version control using either Maven coordinates or SCM URL. See http://docs.codehaus.org/display/M2ECLIPSE/Importing+Maven+projects

 regards,
 Eugene


JackZiad wrote:
Hello,

I am new at maven eclipse and I tried to create a maven project in Eclipse
from an existing one ouside of eclipse.

1. I went throuh File -> New -> Other -> Maven Project Wizard. 2. I chose the project through the Browse option
3. I was asked to specify the artifact. So I specified all the information
needed (artifact Id, version, repository, group Id).
4. Eclipse tried to create the project but an error occured.

The error message I got was this:

1:02:04 EDT PM  Error   An error occurred in phase mojoExecution with the
exception org.apache.maven.plugin.MojoExecutionException: Error creating
from archetype
1:02:04 EDT PM  Error   An error occurred in phase projectExecution with the
exception org.apache.maven.lifecycle.LifecycleExecutionException: Internal
error in the plugin manager executing goal
'org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create': Mojo
execution failed.

I appreciate any help and let me know if you need more info.

Thank you,

Jack


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to