In my Maven project, I used the version 7 plugin with the -maven plugin, and I used to add the directory to the Jetty path by setting the "extraClasspath" parameter to "webAppConfig", for example here:
<plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <version>7.0.1.v20091125</version> <configuration> <webAppConfig> <contextPath>/</contextPath> <extraClasspath>${basedir}/src/profiles/jetty</extraClasspath> </webAppConfig> <useTestClasspath>true</useTestClasspath> </configuration> </plugin>
Today I decided to upgrade to the latest version of the jetty-maven plugin, and I found that there was no longer an "extraClasspath" parameter.
How can I add a directory to the classpath with the latest version of the gateway plugin?
source share