You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephane Nicoll (JIRA)" <ji...@codehaus.org> on 2009/03/01 15:30:12 UTC
[jira] Closed: (MEAR-101) workDirectory contents added to
target/ear file.
[ http://jira.codehaus.org/browse/MEAR-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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
{quote}
workDirectory Directory that resources are copied to during the build.
* Type: java.io.File
* Required: Yes
* Expression: ${project.build.directory}/${project.build.finalName}
{quote}
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 built.
> 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
> 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: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira