| Summary: | Please allow artifactId to be separate from module name while creating a new maven module | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Sahoo <sanjeeb.sahoo> |
| Component: | m2e | Assignee: | Project Inbox <m2e.core-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | igor, mkleint |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Sahoo
you will get trouble down the road with releases and the scm plugin afaik when the artifactid differs from the folder name, that's why it's enforced. There are no plans to allow module name and artifactId differ in New Module wizard. Allow allowed by Maven, this considered a bad practice and many Maven plugins assume module directory name and atifactId match. If you want them different, you can always create module project manually. What is the harm in allowing user to override a best practice setting? As I said, I have seen plenty of very very advanced and popular apache projects which don't have artifactId == module name. That basically means there are a class of projects which do not suffer from the problems you foresee. So, why not allow them to make use of m2e? Conventions over configurations is good, but don't let that become a bottleneck. More over, instead of closing bugs like this, I suggest waiting for others to vote. If you tell me this was discussed earlier and a decision was reached, I will be happy to see that result. The wizard is a convenience, not something one has to use to create module projects. We won't complicate the UI and confuse the vast majority of m2e users for the benefit of the few who may have reasons to deviate from the convention. +1 on igor's last command and closing the issue |