-
Build GeoServer from sources as described here.
-
Install the hello module as above.
在用maven编译以后,根据hello工程中pom.xml,描述
<parent> <groupId>org.geoserver</groupId> <artifactId>community</artifactId> <version>2.2.0</version> </parent> <groupId>org.geoserver</groupId> <artifactId>hello</artifactId> <packaging>jar</packaging> <version>1.0</version> <name>Hello World Service Module</name>
mvn install 是将你打好的jar包安装到你的本地库中,一般没有设置过是在 用户目录下的 .m2\下面。 mvn package 只是将你的代码打包到输出目录,一般的是 target下面。在本地maven仓库中找到这个包
将mvn eclipse:eclipse导入eclipse中对,与wms工程对比