Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: No NPE when running mvn install or mvn package for Wicket 1.3+

...

See the Jetty plugin documentation for configuration options, etc.

Caveats

At present, running mvn package or mvn install will result in a NPE from the Surefire (testing) plugin as the generated pom.xml has no dependency on either JUnit or TestNG, which the plugin appears to expect if a src/test/java path is present. To avoid this issue, simply add the following to the <dependencies> section of the pom.xml.

...


<dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>3.8.2</version>
    <scope>test</scope>
</dependency>

Using with a specific IDE

...