maven-gae-plugin

mvn-gae-plugin suddenly broken

孤街醉人 提交于 2020-01-01 11:42:11
问题 I'm not sure what happened but I've made not changes to my pom and have only done a clean install but now running my app with mvn gae:run gives me the following error: [ERROR] Failed to execute goal net.kindleit:maven-gae-plugin:0.9.4:run (default-cli) on project geoip-service: Execution default-cli of goal net.kindleit:maven-gae-plugin:0.9.4:run failed: Plugin net.kindleit:maven-gae-plugin:0.9.4 or one of its dependencies could not be resolved: Failed to collect dependencies for net.kindleit

Multivalued parameter for mvn appengine:deploy

风流意气都作罢 提交于 2019-12-24 05:53:43
问题 I'm trying to execute a Maven goal which takes a parameter with multiple values (list of values). How can I do that? In gcloud this can be done with gcloud app deploy --quiet --project $(PROJECT) -v $(VERSION) app.yaml backend.yaml cron.yaml index.yaml queue.yaml But we are using Maven. We tried mvn appengine:deploy -Dapp.deploy.deployables=app.yaml cron.yml queue.yaml But this is not working. In fact, five commands are needed just to deploy. mvn appengine:deploy mvn appengine:deployCron mvn

GAE/J This application does not exist (app_id=u'application-id')

浪尽此生 提交于 2019-12-20 04:22:32
问题 I use maven-gae-plugin to deploy my app, it works find until i decide to deploy it to another app-id under different Google account. i met the "This applciation does not exist" problem. I found there are already some answers in StackOverflow, but was for python, i'm using GAE/J. I think i know the root cause, we should delete the "cache" in local, which stored my previous username/password, but what are these cache? and where are them? Or there are other ways to avoid this, i've tried so many

https only in google app engine

醉酒当歌 提交于 2019-12-17 18:27:39
问题 I am on a google app engine project now. In my application I have to allow only https protocol. And I have to restrict other protocols. It should allow https only. I have added the below code in web.xml. <security-constraint> <web-resource-collection> <web-resource-name>Protected Area</web-resource-name> <url-pattern>/*</url-pattern> </web-resource-collection> <user-data-constraint> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint> </security-constraint> But

Spring Boot REST on Google App Engine throws 502

时间秒杀一切 提交于 2019-12-11 05:36:33
问题 I have been struggling with this for about a week and nothing I have seen on SO has worked for me. I have a REST API built on Spring Boot that I am trying to deploy to the Google App Engine. Running locally is fine and when I run it on the GAE emulator it works fine as well; however, once I deploy using mvn appengine:deploy I get a successful build but when trying the endpoints I only get a 502. I'm not sure where the logs are so this is really kicking my butt. My pom.xml: <?xml version="1.0"

maven build lifecycle for appengine:update

白昼怎懂夜的黑 提交于 2019-12-11 00:46:05
问题 When I run mvn appengine:update on my Maven Java project, other goals from the Maven build lifecycle are executed in addition to just deploying a Google App Engine app. For example, running mvn appengine:update will spin off copy-resources and compile goals automatically. I am not saying that this is necessarily a bad thing, but I am really interested in understanding how and why the other Maven goals are executed. What are the settings for appengine:update that makes these other goals run?

Error with Maven GAE Plugin + Google Cloud SQL

我是研究僧i 提交于 2019-12-10 11:19:15
问题 Here's my plugin configuration: <plugin> <groupId>net.kindleit</groupId> <artifactId>maven-gae-plugin</artifactId> <version>0.7.3</version> <dependencies> <dependency> <groupId>net.kindleit</groupId> <artifactId>gae-runtime</artifactId> <version>${gae.version}</version> <type>pom</type> </dependency> </dependencies> <configuration> <jvmFlags> <jvmFlag>-Drdbms.server=local</jvmFlag> <jvmFlag>-Drdbms.driver=com.mysql.jdbc.Driver</jvmFlag> <jvmFlag>-Drdbms.url=jdbc:mysql://localhost:3306/prova

Error with Maven GAE Plugin + Google Cloud SQL

跟風遠走 提交于 2019-12-06 08:10:19
Here's my plugin configuration: <plugin> <groupId>net.kindleit</groupId> <artifactId>maven-gae-plugin</artifactId> <version>0.7.3</version> <dependencies> <dependency> <groupId>net.kindleit</groupId> <artifactId>gae-runtime</artifactId> <version>${gae.version}</version> <type>pom</type> </dependency> </dependencies> <configuration> <jvmFlags> <jvmFlag>-Drdbms.server=local</jvmFlag> <jvmFlag>-Drdbms.driver=com.mysql.jdbc.Driver</jvmFlag> <jvmFlag>-Drdbms.url=jdbc:mysql://localhost:3306/prova?user=root&password=pass</jvmFlag> </jvmFlags> <serverId>appengine.google.com</serverId> </configuration>

how to create gwt gae with app engine modules using google eclipse plugin

被刻印的时光 ゝ 提交于 2019-12-04 12:01:24
问题 How to create a new GWT and GAE project with modules using google eclipse plugin in Java? I tried using make a new web applications from the eclipse, but it just create me a GWT and GAE project without modules. Thanks. 回答1: You'll probably want to first create a WTP project using GPE, because to use modules you'll need to create an EAR project. This is described here: https://developers.google.com/appengine/docs/java/webtoolsplatform You'll create modules, which will each be a dynamic web

mvn-gae-plugin suddenly broken

人走茶凉 提交于 2019-12-04 08:10:17
I'm not sure what happened but I've made not changes to my pom and have only done a clean install but now running my app with mvn gae:run gives me the following error: [ERROR] Failed to execute goal net.kindleit:maven-gae-plugin:0.9.4:run (default-cli) on project geoip-service: Execution default-cli of goal net.kindleit:maven-gae-plugin:0.9.4:run failed: Plugin net.kindleit:maven-gae-plugin:0.9.4 or one of its dependencies could not be resolved: Failed to collect dependencies for net.kindleit:maven-gae-plugin:jar:0.9.4 (): Failed to read artifact descriptor for net.kindleit:gae-runtime:pom:1.7