Skip to content

Commit d6efcc4

Browse files
wmwonglesv
authored andcommitted
Updates the Endpoints Framework sample to use the new appengine-maven-plugin. (GoogleCloudPlatform#457)
1 parent 4172cf5 commit d6efcc4

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

appengine/endpoints-frameworks-v2/backend/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ To deploy the sample API:
4343

4444
0. Deploy the API implementation code by invoking:
4545

46-
mvn appengine:update
46+
mvn appengine:deploy
4747

4848
The first time you upload a sample app, you may be prompted to authorize the
4949
deployment. Follow the prompts: when you are presented with a browser window

appengine/endpoints-frameworks-v2/backend/pom.xml

+3-13
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
<endpoints.project.id>YOUR_PROJECT_ID</endpoints.project.id>
3838
<maven.compiler.target>1.7</maven.compiler.target>
3939
<maven.compiler.source>1.7</maven.compiler.source>
40+
<appengine.maven.plugin.version>1.0.0</appengine.maven.plugin.version>
4041
</properties>
4142

4243
<dependencies>
@@ -141,20 +142,9 @@
141142
</plugin>
142143

143144
<plugin>
144-
<groupId>com.google.appengine</groupId>
145+
<groupId>com.google.cloud.tools</groupId>
145146
<artifactId>appengine-maven-plugin</artifactId>
146-
<version>${appengine.sdk.version}</version>
147-
<configuration>
148-
<enableJarClasses>false</enableJarClasses>
149-
<!-- Comment in the below snippet to bind to all IPs instead of just localhost -->
150-
<!-- address>0.0.0.0</address>
151-
<port>8080</port -->
152-
<!-- Comment in the below snippet to enable local debugging with a remove debugger
153-
like those included with Eclipse or IntelliJ -->
154-
<!-- jvmFlags>
155-
<jvmFlag>-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n</jvmFlag>
156-
</jvmFlags -->
157-
</configuration>
147+
<version>${appengine.maven.plugin.version}</version>
158148
</plugin>
159149
</plugins>
160150
</build>

0 commit comments

Comments
 (0)