I want to use maven for a GAE project, how do i do?

前端 未结 3 1505
盖世英雄少女心
盖世英雄少女心 2021-02-09 20:36

i\'m new in the world of GAE. I \'m using eclipse and GAE\'s SDK, i can deploy to the cloud with the GAE icon and everything is fine. The problem arises when I have to import th

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-09 20:50

    There is no reason you can't use maven for it's dependency management only. The GAE dependencies are all in maven central.

    There is a write up about how to set it up here

    I personally use the eclipse plugin in dev and the maven plugin when running under continuous integration.

    The main gotcha is to follow the advice about ensuring that the maven dependencies are the last thing in your build path under the GAE plugin dependencies.

提交回复
热议问题