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]
