Olá pessoal, boa tarde!
Estou começando a usar o maven, e já estou com um problema.
Segue o arquivo pom.xml
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.bruno</groupId>
<artifactId>AprendendoMaven</artifactId>
<packaging>war</packaging>
<name>AprendendoMaven</name>
<version>0.0.1</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.10</version>
<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
<stopKey>foo</stopKey>
<stopPort>9999</stopPort>
</configuration>
<executions>
<execution>
<id>start-jetty</id>
<phase>pre-integration-test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<scanIntervalSeconds>0</scanIntervalSeconds>
<daemon>true</daemon>
</configuration>
</execution>
<execution>
<id>stop-jetty</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
A estrutura do meu projeto é a seguinte:
AprendendoMaven
- src
| - main
| - test - build
- WebContent
- pom.xml
Mas, quando eu executo o comando mvn jetty:run, ele da o seguinte erro
Failed to execute goal org.mortbay.jetty:maven-jetty-plugin:6.1.10:run <default-cli> on project AprendendoMaven: WebApp source directory C:\Documents and Settings\Bruno\workspace\AprendendoMaven\src\main\webapp dow not exist -> [Help 1]
Como faço para alterar esse caminho padrão que ele espera?
Desde já agradeço à ajuda.
Abraços