Allow user to specify IntelliJ module name that is generated
------------------------------------------------------------

                 Key: MIDEA-93
                 URL: http://jira.codehaus.org/browse/MIDEA-93
             Project: Maven 2.x IDEA Plugin
          Issue Type: New Feature
    Affects Versions: 2.0
            Reporter: ronn chinowutthichai
            Priority: Critical


In reference to this mail thread - 
http://www.nabble.com/Specifying-IntelliJ-module-name-with-maven-idea-plugin-tf3756364s177.html

Currently IntelliJ module name that is generated is derived solely from 
artifactId.

IntelliJ module name has to be unique within a project and this can cause 
conflict when maven project structure has several sub modules of the same name. 
i.e.,

project/
    +- common/webapp/
    +- customer/webapp/

I'm proposing that
a) the default module name should be derived from pom's project name (rather 
than artifactId). (as I understand it the project name is merely used for 
console log display and it would make sense for user to make it unique within 
his/her project structure).
b) that the plugin should provide a configuration parameter to override this 
default behaviour.

Currently I have hacked the plugin to use ${groupId}.${artifactId} as the 
generated IntelliJ module name. I can do abit more work to provide a patch if 
needed.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to