which is why you need a third module... the third module is the one that you run jetty:run in.
2009/6/22 aldana <[email protected]>: > > I tried this out, but it would not work, because jetty:run config is not > "merged" to both webapps and they are deployed at once to the same port, but > jetty:run goal is executed sequentially for both webapps. > > > Stephen Connolly-2 wrote: >> >> you'll need another module that depends on the two web apps >> >> On Sunday, June 21, 2009, aldana <[email protected]> wrote: >>> >>> hi, >>> >>> I got following project structure: >>> >>> app1/ >>> -core-stuff >>> -webapp1/ >>> -webapp2/ >>> >>> I tried to put jetty plugin config to app1/pom.xml and expected that >>> submodules with war packaging would inherit this setting. This does not >>> work >>> because jetty plugin moans about core-stuff/ not having a webapp folder. >>> >>> Now my questions are: >>> -Is it possible to tell a plugin run only to be applied on a certain >>> packaging (war in my case). Is there a possiblity to configure a plugin >>> execution by packaging type? If yes, is maven reactor so clever that both >>> apps are indeed deployed to the same port and no adress-already-in-use >>> problem occurs? >>> -Is there another alternative to run two sub-module webapps under the >>> same >>> port with maven jetty plugin? >>> >>> thanks. >>> >>> ----- >>> manuel aldana >>> aldana((at))gmx.de <http://gmx.de> >>> software-engineering blog: http://www.aldana-online.de >>> -- >>> View this message in context: >>> http://www.nabble.com/multimodule-project%3A-jetty-plugin-running-two-webapp-modules-on-same-port-tp24138613p24138613.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] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> > > > ----- > manuel aldana > aldana((at))gmx.de > software-engineering blog: http://www.aldana-online.de > -- > View this message in context: > http://www.nabble.com/multimodule-project%3A-jetty-plugin-running-two-webapp-modules-on-same-port-tp24138613p24139869.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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
