I'm not a Jetty expert but I wonder if it would help to move the config down to the sis-webapp project instead of trying to do it from the parent project.
Sent from my mobile device. On Feb 11, 2012, at 11:19 AM, Adam Estrada <[email protected]> wrote: > All, > > I would like to deploy the SIS web application with Jetty. Maven and Jetty > work together well if you know what you are doing. I have limited knowledge > of how Maven works so this is my stab at it. The idea here is to mvn > jetty:deploy-war (or jetty:run/start) to launch the web app. > > <plugin> > <groupId>org.mortbay.jetty</groupId> > <artifactId>maven-jetty-plugin</artifactId> > <configuration> > > <webApp>${basedir}/sis-webapp/target/sis-webapp-0.2-incubating-SNAPSHOT.war</webApp> > > <webAppSourceDirectory>${basedir}/sis-webapp/target</webAppSourceDirectory> > > <webXml>${basedir}/sis-webapp/target/sis-webapp-0.2-incubating-SNAPSHOT/WEB-INF/web.xml</webXml> > <contextPath>/sis-webapp</contextPath> > </configuration> > <executions> > <execution> > <id>start-jetty</id> > <phase>test-compile</phase> > <goals> > <goal>deploy-war</goal> > </goals> > <configuration> > <daemon>true</daemon> > <reload>manual</reload> > </configuration> > </execution> > </executions> > </plugin> > > When Jetty runs, its still looking for sis-parent. Can anyone lend a hand so > that I can deploy the web app using Maven? > > Adam
