[ https://jira.codehaus.org/browse/MEAR-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
José Volmei Dal Prá Junior updated MEAR-168: -------------------------------------------- Attachment: pom.xml WebModule.java I made the changes. Can anyone merge the files? Thanks. > Use build final name as default context root > -------------------------------------------- > > Key: MEAR-168 > URL: https://jira.codehaus.org/browse/MEAR-168 > Project: Maven 2.x Ear Plugin > Issue Type: Bug > Affects Versions: 2.8 > Environment: all > Reporter: José Volmei Dal Prá Junior > Attachments: pom.xml, WebModule.java > > > Sometimes we need to make some conventions when dealing with several modules. > We need to use the "${project.build.finalName}" as the default "contextRoot" > mapping. > The suggestion is: make a global configuration parameter with name > "mustUseBuildFinalNameAsDefaultWebContextRoot". If this is set to true then > the "WebModule.getDefaultContextRoot" method must use the build final name as > context root. > The global configuration parameter should have false as default value. > Thanks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira