You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Shawn Taylor (JIRA)" <ji...@codehaus.org> on 2005/06/13 19:29:41 UTC

[jira] Created: (MAVEN-1624) maven.ear.src can't be at the root of the project as the ear will be improperly packaged

maven.ear.src can't be at the root of the project as the ear will be improperly packaged
----------------------------------------------------------------------------------------

         Key: MAVEN-1624
         URL: http://jira.codehaus.org/browse/MAVEN-1624
     Project: maven
        Type: Bug
    Versions: 1.0.2    
    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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org