1

我想使用 Maven Google App Engine 插件 ( https://github.com/maven-gae-plugin/maven-gae-plugin ) 来启动一个支持 Spring MVC 的 Google App Engine 项目。我对他们拥有的 Spring 原型感兴趣。我尝试使用生成一个项目,mvn archetype:generate -DarchetypeGroupId=net.kindleit -DarchetypeArtifactId=gae-archetype-spring \ -DarchetypeVersion=0.9.4 -DgroupId=com.myapp.test -DartifactId=testapp但它没有用。我错过了什么吗?

4

2 回答 2

3

我们开始推送官方插件,请查看http://code.google.com/p/appengine-maven-plugin/新原型正在开发中。

于 2013-01-02T22:43:22.983 回答
0

I solved my problem, I downloaded the source code and I added this line <module>gae-archetype-spring</module> to the root pom.xml in the modules tag. Then I installed the plugin in my local repo.

The developer missed adding this line I think after he added the spring-gae archetype.

ps: another issue the <?xml version="1.0" encoding="UTF-8"?> need to be removed from the pom.xml inside the directory gae-archetype-spring for the pom.xml to be parseable.

于 2012-12-26T14:03:27.360 回答