workDirectory contents added to target/ear file.
------------------------------------------------

                 Key: MEAR-101
                 URL: http://jira.codehaus.org/browse/MEAR-101
             Project: Maven 2.x Ear Plugin
          Issue Type: Bug
    Affects Versions: 2.3.1
         Environment: Windows running maven 2.0.9
            Reporter: David Paterson


I think there is a bug in EarMojo.execute()  near the end of this method on 
line 401 in the trunk version there is the following code:\

archiver.getArchiver().addDirectory( getWorkDirectory() );

What this appears to be doing is adding the entire contents of my defined work 
directory (in my case JBOSS_HOME/server/default/deploy/) to the ear file 
generated in the target directory.  I am trying to use workDirectory attribute 
fo deploying exploded ear file.

This behavior is incorrect right?  Seems like this line should not be here.

-- 
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

        

Reply via email to