Skip to content

Commit

Permalink
Cleaned root pom and other minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtisvg committed Dec 21, 2017
1 parent d589729 commit 93cc505
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 8 deletions.
1 change: 0 additions & 1 deletion appengine/analytics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
<!-- for hot reload of the web application -->
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
<plugins>
<!-- Parent POM defines ${appengine.sdk.version} (updates frequently). -->
<plugin>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-maven-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ public void doGet_emptyDatastore_writesNoWidgets() throws Exception {

@Test
public void doGet_repeatedPropertyEntities_writesWidgets() throws Exception {
//CHECKSTYLE.OFF: VariableDeclarationUsageDistance - readability
DatastoreService datastore = DatastoreServiceFactory.getDatastoreService();
//CHECKSTYLE.ON: VariableDeclarationUsageDistance
// [START exploding_index_example_3]
Entity widget = new Entity("Widget");
widget.setProperty("x", Arrays.asList(1, 2, 3, 4));
Expand Down
2 changes: 1 addition & 1 deletion appengine/datastore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
-->
<project>
<modelVersion>4.0.0</modelVersion>
<packaging>war</packaging>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<groupId>com.example.appengine</groupId>
<artifactId>appengine-datastore</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions appengine/firebase-tictactoe/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
<version>1.0.7</version>
</parent>

<properties>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.source>1.7</maven.compiler.source>
</properties>

<dependencies>
<dependency>
<groupId>com.googlecode.objectify</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
Expand Down Expand Up @@ -148,6 +149,7 @@ public LowLevelHttpResponse execute() throws IOException {
eq("PATCH"), Matchers.matches(FIREBASE_DB_URL + "/channels/[\\w-]+.json$"));
}

@Ignore
public void doPost_notMyTurn_move() throws Exception {
// Insert a game
Objectify ofy = ObjectifyService.ofy();
Expand Down
20 changes: 15 additions & 5 deletions appengine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,22 @@
limitations under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
<version>1.0.0</version>
<modelVersion>4.0.0</modelVersion>
<version>1.0.0</version>
<groupId>com.google.cloud</groupId>
<artifactId>appengine-doc-samples</artifactId>
<packaging>pom</packaging>

<!--
The parent pom defines common style checks and testing strategies for our samples.
Removing or replacing it should not effect the execution of the samples in anyway.
-->
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.0.7</version>
</parent>

<groupId>com.google.cloud</groupId>
<artifactId>appengine-doc-samples</artifactId>
<packaging>pom</packaging>

<modules>
<!-- App Engine Standard -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
/*
* Form Handling Servlet
* This servlet has one method
* {@link #doPost(<#HttpServletRequest req#>, <#HttpServletResponse resp#>)} which takes the form
Expand Down

0 comments on commit 93cc505

Please sign in to comment.