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

Reply via email to