Luca,
The eclipse:add-maven-repo goal contyains a bug. The M2_REPO variable is
created in the wrong directory.
If you use:
mvn eclipse:add-maven-repo -Declipse.workspace=c:\myWorkspace
the variables will be created in c:\myWorkspaceX
The X is added to the workspace dir. This is a bug.
Copy the file from c:\myWorkspaceX to c:\myWorkspace and your problem is
solved.

Martijn de Bruijn


-----Oorspronkelijk bericht-----
Van: Luca Gmail [mailto:[EMAIL PROTECTED]
Verzonden: Thursday, November 17, 2005 10:01 AM
Aan: 'Maven Users List'
Onderwerp: problem creating eclipse project


Hi all,

i created a simple project starting from a my archetype (the name is
simple-servlet). After that I'd like to create an eclipse project so inside
the project root directory I created the variable M2_REPO and executed mvn
eclipse:eclipse. From eclipse I imported the project (File >Import >Existing
Projects into Workspace).

Now I see my eclipse project with this error:

Path '/' must denote location inside project simple-servlet.



Somebody can help me address this error?



Thanks a lot,

Luca

Reply via email to