Yeah, I thought of creating a single era file with all war files in it, but
our client's weblogic is not licence to support ear deployments.

On Mon, Apr 16, 2012 at 6:12 PM, Piotr Skawinski
<piotr.skawin...@gmail.com>wrote:

> Originally we used ant-run, but I fall into this weblogic-maven-plugin and
> thought it would be more clean to ise it instead of ant-run. As I said it
> works nice when running it from from every single web project. But I would
> like to trigger this plugin from a multi-module pom file, so all web
> applications could be deployed in one go.
>
> On Mon, Apr 16, 2012 at 4:05 PM, Ron Wheeler <
> rwhee...@artifact-software.com> wrote:
>
>> Wouldn't Ant do this for you rather nicely?
>> Use the Antrun plug-in in its own maven project.
>>
>> Ron
>> On 16/04/2012 9:34 AM, Piotr Skawinski wrote:
>>
>>> Hi,
>>>
>>> Is there a way to deploy all web applications in a project to a servlet
>>> container (for ex. weblogic) from one pom file?
>>>
>>> I have following project structure:
>>>
>>> project-parent
>>> |-- project-parent-war
>>>     |-- web-project-war-1
>>>     |-- web-project-war-2
>>>     .
>>>     .
>>>     |-- web-project-war-n
>>> |-- services
>>>
>>> project-parent is also a multi-module project and is used to build all
>>> sub
>>> projects in one go.
>>>
>>> In the project-parent-war I have defined several profiles that can be
>>> used
>>> to deploy/undeploy applications to/from different environments. I can
>>> run a
>>> deploy or an undeploy profile from all single web projects using:
>>>
>>> mvn -P localhost-deploy weblogic:deploy
>>>
>>> but I haven't found a way to run a profile for all applications from one
>>> pom file (for example from project-parent). Is it possible? If so, how
>>> should that pom file be defined and how should it be executed as a goal?
>>>
>>> thanks in advance, Piotr
>>>
>>>
>>
>> --
>> Ron Wheeler
>> President
>> Artifact Software Inc
>> email: rwhee...@artifact-software.com
>> skype: ronaldmwheeler
>> phone: 866-970-2435, ext 102
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>
>

Reply via email to