Skip to content

Commit

Permalink
Updates the Endpoints Framework sample to use the new appengine-maven…
Browse files Browse the repository at this point in the history
…-plugin. (#457)
  • Loading branch information
wmwong authored and lesv committed Dec 19, 2016
1 parent 4172cf5 commit d6efcc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
2 changes: 1 addition & 1 deletion appengine/endpoints-frameworks-v2/backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ To deploy the sample API:

0. Deploy the API implementation code by invoking:

mvn appengine:update
mvn appengine:deploy

The first time you upload a sample app, you may be prompted to authorize the
deployment. Follow the prompts: when you are presented with a browser window
Expand Down
16 changes: 3 additions & 13 deletions appengine/endpoints-frameworks-v2/backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
<endpoints.project.id>YOUR_PROJECT_ID</endpoints.project.id>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.source>1.7</maven.compiler.source>
<appengine.maven.plugin.version>1.0.0</appengine.maven.plugin.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -141,20 +142,9 @@
</plugin>

<plugin>
<groupId>com.google.appengine</groupId>
<groupId>com.google.cloud.tools</groupId>
<artifactId>appengine-maven-plugin</artifactId>
<version>${appengine.sdk.version}</version>
<configuration>
<enableJarClasses>false</enableJarClasses>
<!-- Comment in the below snippet to bind to all IPs instead of just localhost -->
<!-- address>0.0.0.0</address>
<port>8080</port -->
<!-- Comment in the below snippet to enable local debugging with a remove debugger
like those included with Eclipse or IntelliJ -->
<!-- jvmFlags>
<jvmFlag>-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n</jvmFlag>
</jvmFlags -->
</configuration>
<version>${appengine.maven.plugin.version}</version>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit d6efcc4

Please sign in to comment.