0
哪个maven pom.xml属性必须定义webcontent(如xhtml页面和css,js,图像资源)? ps:我正在使用eclipse IDE。哪个maven pom.xml属性必须定义webcontent项目?
哪个maven pom.xml属性必须定义webcontent(如xhtml页面和css,js,图像资源)? ps:我正在使用eclipse IDE。哪个maven pom.xml属性必须定义webcontent项目?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webappDirectory> ${basedir}/target/resources </webappDirectory>
你是什么意思?你为什么要在pom.xml中定义它? –
因为当我做'运行构建'时,生成的war文件不包含我的xhtml页面和其他web资源。 – BicaBicudo
显示您的项目结构和pom。 –