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

前端 未结 3 1129
时光说笑
时光说笑 2021-02-09 20:32

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:06

    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.

提交回复
热议问题