Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342445 - Can't create module directly in workspace
Summary: Can't create module directly in workspace
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-11 10:19 EDT by Francisco Gortázar CLA
Modified: 2021-04-19 13:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Gortázar CLA 2011-04-11 10:19:44 EDT
Build Identifier: M20110210-1200

I have a Maven project (parent) in my workspace and I want to create a new Maven project which is a child of parent, but I don't want to create it as a folder within the parent project. I prefer to create it directly in the workspace at the same level as its parent, and use relativePath to resolve the relative pahts between them, so I use the New Maven Project wizard instead of New Maven Module wizard.

When creating a new Maven Project, if there is something selected in the package explorer, the wizard shows the "Use default workspace location" option checked, and the field shows the resource selected. If I try to uncheck this option and specify the workspace root folder as the root folder for the new project I get the following error:

/home/patxi/m2eclipse/ws overlaps the workspace location: /home/patxi/m2eclipse/ws



Reproducible: Always

Steps to Reproduce:
1. Select a resource in the workspace
2. Open the File > New > Project... > Maven > Maven Project wizard
3. Check "Create a simple project (skip archetype selection)"
4. Uncheck "Use default workspace location" and enter the root folder of the workspace
5. Click next
6. Enter any text as groupId (for instance, "test")
7. Enter any text as artifactId (for instance, "test")
8. Click back: the error "/home/patxi/m2eclipse/ws overlaps the workspace location: /home/patxi/m2eclipse/ws" is shown in the wizard title area
Comment 1 Igor Fedorenko CLA 2013-09-28 23:22:23 EDT
closing old/stale bugreports
Comment 2 Denis Roy CLA 2021-04-19 13:26:42 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/