[ http://jira.codehaus.org/browse/MPEAR-42?page=all ] Stephane Nicoll closed MPEAR-42: --------------------------------
Resolution: Cannot Reproduce Tested with latest SVN and I cant' reproduce. Both war and ejb are handled properly ; application.xml is generated properly as well. > ear.bundle.name does not work properly with other types than jar. > application.xml is allso generated wrongly when used. > ----------------------------------------------------------------------------------------------------------------------- > > Key: MPEAR-42 > URL: http://jira.codehaus.org/browse/MPEAR-42 > Project: maven-ear-plugin > Type: Bug > Versions: 1.6 > Environment: Linux version 2.6.11-x1 ([EMAIL PROTECTED]) (gcc version 3.3.5 > (Debian 1:3.3.5-8)) #1 Mon Apr 25 12:13:32 EDT 2005 > -------- > java version "1.4.2_06" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03) > Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode) > ----------------------------------- > Maven 1.0.2 > Reporter: Klaus Steinsland Myrseth > Assignee: Stephane Nicoll > Fix For: 1.8 > > > When using the following to incoorporate a web site in the project.xml to > make the war file deployed have a name that is a tad more maintainable within > the appserver: > <dependency> > <groupId>group</groupId> > <artifactId>artifact.very.long.descriptive.artifact.id</artifactId> > <version>0.8.0</version> > <type>war</type> > <properties> > <ear.bundle>true</ear.bundle> > <ear.bundle.name>reports.war</ear.bundle.name> > <ear.appxml.war.context-root>reports</ear.appxml.war.context-root> > <eclipse.dependency>true</eclipse.dependency> > </properties> > </dependency> > I guess here the correct ear.bundle.name would be reports and the war ending > should be added by the plugin. > the reports.war file is bundled correctly within the ear file but the > application.xml is generated wrongly: > <module> > <web> > <web-uri>artifact.very.long.descriptive.artifact.id.war</web-uri> > <context-root>reports</context-root> > </web> > </module> > if the bundle.name is set to something else, I would presume you should use > the bundle name to make it a good application.xml -- 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]