我的Maven项目用码头Maven的插件版本7和我曾经通过指定“webAppConfig”“extraClasspath”参数添加目录到码头的类路径,就像这里:如何使用jetty-maven-plugin 9.x将目录添加到类路径中?
<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>
今天,我决定更新到最新版本的jetty-maven-plugin,我发现没有“extraClasspath”参数了。
如何将目录添加到最新版本的jetty-maven-plugin的类路径中?
。有些事情发生了变化,Jetty没有抱怨/警告它。 –
http://stackoverflow.com/questions/17949206/jetty-maven-plugin-put-properties-file-in-classpath –