java如何在项目POM中继承外部Maven POM
我正在查看位于http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/examples.html的GoogleWebToolkit pom文件,将其全部复制到我的项目pom中似乎是不对的,因为这会增加太多不必要的混乱
因此,我正在寻找一种方法,可以将GWT pom存储在外部文件中,并在我的项目pom中引用它
有人知道吗
你可以在下面搜索框中键入要查询的问题!
我正在查看位于http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/examples.html的GoogleWebToolkit pom文件,将其全部复制到我的项目pom中似乎是不对的,因为这会增加太多不必要的混乱
因此,我正在寻找一种方法,可以将GWT pom存储在外部文件中,并在我的项目pom中引用它
有人知道吗
# 1 楼答案
该项目已弃用,请使用codehaus中的gwt-maven-plugin
那是multi-module-project设置,看一看
# 2 楼答案
您是否尝试过将gwt Pom用作项目的父Pom? 在你的pom里是这样的。xml