[ http://jira.codehaus.org/browse/MPEAR-40?page=all ]
Brett Porter moved MAVEN-1624 to MPEAR-40: ------------------------------------------ Version: (was: 1.0.2) Key: MPEAR-40 (was: MAVEN-1624) Project: maven-ear-plugin (was: maven) > maven.ear.src can't be at the root of the project as the ear will be > improperly packaged > ---------------------------------------------------------------------------------------- > > Key: MPEAR-40 > URL: http://jira.codehaus.org/browse/MPEAR-40 > Project: maven-ear-plugin > Type: Bug > Reporter: Shawn Taylor > > > The maven.ear.src directory can not be the root of the project. > If maven.ear.src is set to the root of the project, Maven will improperly > package the dependencies in the EAR (the "tmpEarDeps" directory will get > mistakenly included in the EAR as well as other root level files that don't > belong in the final EAR endstate). This presents a problem because RAD > (Rational Application Developer - i.e. the new version of WSAD) requires the > META-INF directory to be at the root of the project. Therefore, since Maven > cannot have it at the root and RAD requires it to be at the root, we have to > rearrage the directory structure arround each time before we build the EAR to > satisfy Maven. We copy the META-INF directory to a temp folder that is not > at the root of the project. Then, we set the maven.ear.src to point to the > temp folder. This current workaround is done with a preGoal to the ear:ear > goal. > There has also been a bug/enhancement logged with RAD as it should be more > flexible as well. -- 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]