[
http://jira.codehaus.org/browse/MWAR-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=166054#action_166054
]
Dominique Jean-Prost commented on MWAR-147:
-------------------------------------------
Basically, I needed 2 different behaviour :
- one for my development in exploded mode, where output Dir is in place A (in
my jboss dir)
- one for my development in "normal mode" where package artifacts (and
"temporay files") are under the target dir.
As war:exploded is bound to package phase, if I change the webappDirectory for
my "exploded development period", it also impacts the package phase. That's why
I suggested to "improve" the war:inplace as this goal is not bound to package
phase, and so has no impact to the package "goal".
I finally used 2 different profiles to achieve what I wanted, where they define
the target dir. As I write this comment, I realize I could also setup my jboss
so that it scans my target dir too. Maybe the latter is the correct solution.
> add the possibility to use the inplace goal with a specific out directory
> -------------------------------------------------------------------------
>
> Key: MWAR-147
> URL: http://jira.codehaus.org/browse/MWAR-147
> Project: Maven 2.x War Plugin
> Issue Type: Improvement
> Affects Versions: 2.1-alpha-1
> Reporter: Dominique Jean-Prost
>
> I actually use war:exploded to speed up my development. I configured the
> webappDirectory so that the war gets produced in my jboss deploy directory.
> As war:exploded is bound to package phase, when I use mvn package, I then get
> a .war in my target dir and the exploded war in my jboss dir which not what I
> want.
> So I tried to use war:inplace, as it does what exploded does, but not bound
> to the package lifecycle. But inplace does not allow to override the out
> directory.
> So what I would like is to have a goal that allows me to have the exploded
> war in a specific directory, but I would like this goal to be not bound to
> the package lifecycle. Could you add this feature to the inplace goal ?
--
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