by declaring the two war files as dependencies in the third project, after i
build the third project as a war and deploy it, I am not able to access the
first two web apps. 
what i want to knw is a way to sort of merge the two wars. 
now maven cargo plugin as something called uber war which does the job of
merging. but it is quite complicated and there is very little documentation
on it. 



dchicks wrote:
> 
> The first question is relatively straightforward. Since your wars are
> created in different projects, just set up a third project that has the
> artifact WAR files from the other two as dependencies. If your war files
> are generated in different modules of the same project, you would
> accomplish the same thing using a third module that depends on the other
> two. Think of it like you would an assembly, in that case.
> 
> Looking at the Tomcat plugin, I don't see any configuration for
> deploying multiple wars at the same time. Your third project could have
> multiple modules - one for each deployment.
> 
> Hopefully, someone has a better answer than that. That seems a bit like
> overkill.
> 
> Dave
> 
> 
> nagl wrote:
>> So I have two wars which I deploy in tow maven projects using tomcat
>> plugin.
>> I want to do this in one step and be able to deploy more than one wars in
>> a
>> single maven project. how can i do this. any suggestions
>>
>> if tomcat plugin doesnt work, is there anyother way this can be done?
>>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-can-I-deploy-multiple-wars-using-the-tomcat-plugin-in-maven--tp24685971p24687667.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to