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

前端 未结 3 1503
盖世英雄少女心
盖世英雄少女心 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 21:02

    Add the following to your pom.xml, modifying it to your needs:

    
    ...
        
        ... 
           1.6.4
        ...
        
        
        ...     
            
                com.google.appengine
                appengine-api-1.0-sdk
                ${com.google.appengine-version}
            
        ...
        
    ...
    
    

    In case you need any additional GAE-related artifacts besides appengine-api-1.0-sdk, have a look for those artifacts in The Central Repository under com.google.appengine, then add them to your pom.xml's dependencies list.

提交回复
热议问题