maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane Nicoll (JIRA)" <>
Subject [jira] Closed: (MEAR-101) workDirectory contents added to target/ear file.
Date Sun, 01 Mar 2009 14:30:12 GMT


Stephane Nicoll closed MEAR-101.

         Assignee: Stephane Nicoll
       Resolution: Not A Bug
    Fix Version/s: 2.3.2

Here's an excerpt of the doc

workDirectory  Directory that resources are copied to during the build.

    * Type:
    * Required: Yes
    * Expression: ${}/${}

So you can change this to somejboss/server/default/deploy/myap.ear if you want but if you
specify the deploy directory of JBoss, it's wrong since it's not private to the ear being

> workDirectory contents added to target/ear file.
> ------------------------------------------------
>                 Key: MEAR-101
>                 URL:
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3.1
>         Environment: Windows running maven 2.0.9
>            Reporter: David Paterson
>            Assignee: Stephane Nicoll
>             Fix For: 2.3.2
> 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:
For more information on JIRA, see:


View raw message