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。 –