Maven & resin

Maven带来的变化

   使用maven构建工程很方便,但是不能使用Eclipse的web容器组件,比如tomcat、resin。个人认为,因为工程的目录结构已经不是eclipse能够识别的web工程,都已经是maven“约定”的结构,而且生命周期也交给了maven管理,所以,IDE便很难插手。但是我们需要方便的配置启动服务器,于是我尝试使用maven的插件。

解决之道

    http://wiki3.caucho.com/Maven2,这里有我需要的插件。

Unable to parse configuration of mojo com.caucho:resin-maven-plugin:4.0.16:run: Cannot find setter, adder nor field in com.caucho.maven.MavenRun for 'contextRoot'

failed

猜你喜欢

转载自lingceng.iteye.com/blog/1610324