Quando eu adiciono o webApp no pom.xml o meu jetty não roda, aparece a seguinte mensagem:
Failed to execute goal org.eclipse.jetty:jetty-maven-plugin:9.3.7.v20160115:run (default-cli) on project lojaweb: Unable to parse configuration of mojo org.eclipse.jetty:jetty-maven-plugin:9.3.7.v20160115:run for parameter contexPath: Cannot find 'contexPath' in class org.eclipse.jetty.maven.plugin.JettyWebAppContext -> [Help 1]
O código assim roda:
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.3.7.v20160115</version>
<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
</configuration>
</plugin>
E assim não roda:
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.3.7.v20160115</version>
<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
<webApp>
<contexPath>/loja</contexPath>
</webApp>
</configuration>
</plugin>