Questions tagged [appengine-maven-plugin]

Questions about either of the Google Maven plugins for App Engine and using the Jetty Maven plugin in conjunction with an App Engine project.

There are two appengine-maven-plugins that simplify development and add local debugging & deployment to Apache Maven. A plugin (docs) (github) based on the App Engine Java SDK for App Engine Standard, and a single integrated plugin (github) based on the Google Cloud SDK for both App Engine Standard (docs) and Flexible (docs). App Engine Flexible uses the Jetty Plugin for local debugging.

26 questions
13
votes
3 answers

How to add javax.activation.DataSource to App Engine devserver?

tl;dr: How do I add the javax.activation.DataSource dependency to a server run through the App Engine Maven plugin? I'm using the App Engine Maven plugin to deploy to a local App Engine server, and I'm trying to use the Blobstore API to upload a…
Kevin Workman
  • 41,537
  • 9
  • 68
  • 107
9
votes
1 answer

Disable TLD scanning at appengine initialization

This thread is similar to: Disable taglib scanning in google app engine (Jetty) The author of that thread accepted a wrong answer. We were trying to reduce the appengine startup time of my instances I've come accross the taglib TLD classpath…
7
votes
2 answers

Which App Engine Maven Plugin to use?

been working with Google App Engine lately and stumbled upon something that is a mystery to me, maybe you can clarify. According to some of Google's own websites (https://cloud.google.com/appengine/docs/java/tools/maven) you should use…
6
votes
1 answer

Gifs(animations) work on Appengine but not on localhost with the same code by using blobstore

I'm using Blobstore to store GIF image files, which I then render as HTML tags. Animated GIFs work fine when I deploy to a live instance of App Engine, but when I deploy to a local devserver, the GIFs are no longer animated. I added…
5
votes
1 answer

Retrolambda on Google App Engine

Is anyone using Retrolambda for a Google App Engine project? What does your pom.xml look like? It's straightforward to compile for JDK8 and set up retrolambda's maven plugin. However, to deploy to GAE, Google's appengine-maven-plugin needs to be run…
2
votes
1 answer

Is maven goal appengine:backends_configure deprecated?

The following command says that there's a goal called "appengine:backends_configure" for the Google App Engine Maven Plugin (https://code.google.com/p/appengine-maven-plugin/)? I see this goal is available when I run this command: mvn help:describe…
Michael Osofsky
  • 11,429
  • 16
  • 68
  • 113
2
votes
2 answers

App Engine: jar in WEB-INF/lib but still getting java.lang.ClassNotFoundException

During my App Engine application's runtime, I receive the following…
sbsmith
  • 600
  • 1
  • 5
  • 16
1
vote
1 answer

Cannot deploy Java WAR application without app.yml file on GAE

I have a SpringBoot Application ant it's deployed on Google App Engine, I deployed it many times before (158) using google cloud maven plugin, but today without any changes on my core nor deployment rules I got the next error message: INFO:…
1
vote
1 answer

Multivalued parameter for mvn appengine:deploy

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…
1
vote
2 answers

Parsing error on app.yaml with AppEngine Maven plugin

I am trying to run a local (developer machine) Java AppEngine Standard Env server using the new Maven plugin (com.google.cloud.tools:appengine-maven-plugin:1.2.1) with Google Cloud SDK [148.0.1]. The command is mvn appengine:run…
1
vote
1 answer

Error posting to URL 400 Bad Request when I try deploy to app engine

A few months ago my application was deploying perfectly to appengine but I tried to deploy it today but I got these errors in the log: Beginning interaction for module default... May 07, 2016 3:46:08 AM…
1
vote
1 answer

Resetting appengine-maven-plugin login credentials?

I have changed the account I want to use to do deployments. How do you change the login credentials once they are set?
user177800
1
vote
1 answer

appengine-maven-plugin not auto deploying code after code changes

I've a appengine maven project which uses the newly recommended module structure. So I've a ear module which in turn contains 2 war sub modules. I'm using run mvn appengine:devserver from ear directory to run the code. I want maven to deploy any…
user1010373
  • 289
  • 1
  • 5
  • 12
1
vote
2 answers

A Maven plugin 1.8.3 to support App Engine requires Maven version 3.1.0

Could someone compile this pom.xml from this tutorial: https://code.google.com/p/appengine-maven-plugin/ I tried as well this one, but I'm not familiar wtih 'maven invoker plugin configuration' and…
1
vote
1 answer

appengine-maven-plugin has a maven-war-plugin in the background? it gets called twice if I define on my own

I have tried a lot of things, and it seems that my project executes "maven-war-plugin" twice. Because of this I can't run optimizations like merging all the classes into a single jar (using maven shade plugin). I am pretty sure that the…
1
2