[ http://jira.codehaus.org/browse/MPJAVA-8?page=all ] Lukas Theussl closed MPJAVA-8: ------------------------------
Resolution: Fixed Closing now that MPPLUGIN-35 is fixed, I don't see any other place where this is still an issue. The war case won't be fixed for backwards compatibility reasons, see http://tinyurl.com/ayefj . > Consistent properties for jar, war, ejb and ear > ----------------------------------------------- > > Key: MPJAVA-8 > URL: http://jira.codehaus.org/browse/MPJAVA-8 > Project: maven-java-plugin > Type: Improvement > Reporter: Aslak Hellesoy > Attachments: MPJAVA-8-new1.patch, patch.diff > > Time Spent: 30 minutes > Remaining: 0 minutes > > The current naming conventions for properties defining the names of jar, ejb, > war and ear are somewhat inconsistent. > This patch introduces 4 new properties: > # defined in the java plugin's plugin.properties > maven.jar.final.name = ${maven.final.name}.jar > # defined in the war plugin's plugin.properties > maven.war.final.name = ${maven.final.name}.war > # defined in the ejb plugin's plugin.properties > maven.ejb.final.name = ${maven.final.name}.jar > # defined in the ear plugin's plugin.properties > maven.ear.final.name = ${maven.final.name}.ear > This patch solves the following problems: > 1) It removes the risk of name clashes for projects that produce both plain > jar files and ejb jar files, since the maven.ejb.final.name property can be > overridden. > 2) When packaging wars and ejbs inside ears, it is sometimes desirable to > have different names for ejbs and wars, like foo-ejb-1.0.jar and > foo-war-1.0.war. This is necessary when the contents of an ear file is to be > deployed on different weblogic servers with weblogic.deploy. This can now be > achieved by overriding maven.ejb.final.name and/or maven.war.final.name. > This patch should not change any of the current functionality, and the > documentation has been updated too. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]