Appengine Maven Build Error Endpoints with / Generated Sources

I try to get endpoints appengine to work with Maven, but every time I get the following error, I was following the endpoints appengine document, I could not find what went wrong,

Error:

Failed to execute target org.apache.maven.plugins: maven-war-plugin: 2.3: war (default-war) in the project Test: Run default-war target org.apache.maven.plugins: maven-war-plugin: 2.3 : war failed: basedir / Users / Ramesh / git / endpoints / demo / test / target / generated sources / appengine endpoints do not exist

How can I make it work with Maven?

+4
source share
1 answer

I recommend downloading the source for the "hello world" Google Cloud Endpoints from here and looking at your POM file. The problem for me was that I did not have the "appengine-maven-plugin" defined in the correct POM - it had to be in the WAR POM so that it could sniff metadata and generate the correct output.

0
source

Source: https://habr.com/ru/post/1536226/


All Articles