GeezerVison is showing github.com — Maven Dependency Cleanup - Appengine Java8 (#980) · marcuscarvalho/java-docs-samples@cb201d9
File treeExpand file treeCollapse file tree Open diff view settings src/main/java/com/example/appengine/analytics
main/java/com/example/bigtable test/java/com/example/bigtable
src/main/java/com/example/appengine/cloudsql
datastore-indexes-exploding datastore-indexes-perfect src/main/java/com/example/echo
src/main/java/com/example/echo
src/main/java/com/example/helloendpoints
src/main/java/com/example/skeleton
src/main/java/com/example/appengine/standard
guestbook-cloud-datastore main/java/com/example/guestbook test/java/com/example/guestbook
main/java/com/example/guestbook test/java/com/example/guestbook
src/main/java/com/example/appengine/images
src/main/java/com/example/appengine/mailgun
src/main/java/com/example/appengine/mailjet
src/main/java/com/example/appengine/memcache
src/main/java/com/example/appengine/standard
main/java/com/example/appengine test/java/com/example/appengine
src/main/java/com/example/appengine
src/main/java/com/example/appengine/postgresql
src/main/java/com/example/appengine/pubsub
src/main/java/com/example/appengine/remote
src/main/java/com/example/appengine/remote
main/java/com/example/appengine/search test/java/com/example/appengine/search
src/main/java/com/example/appengine/sendgrid
src/main/java/com/example/appengine/spanner
src/main/java/com/google/cloud/taskqueue/samples
src/main/java/com/example/taskqueue
src/main/java/com/example/appengine/twilio
src/main/java/com/example/appengine
Some content is hiddenLarge Commits have some content hidden by default. Use the searchbox below for content that may be hidden. Dismiss bannerExpand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: appengine-java8/README.md +3Lines changed: 3 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | # Google App Engine Standard Environment Samples for Java 8 | 2 | 2 |
| | 3 | +<a href="https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/java-docs-samples&page=editor&open_in_editor=appengine-java8/README.md"> | | 4 | +<img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"></a> | | 5 | + | 3 | 6 | This is a repository that contains Java code samples for [Google App Engine | 4 | 7 | standard environment][ae-docs]. | 5 | 8 |
| |
Collapse file Copy file name to clipboardExpand all lines: appengine-java8/analytics/pom.xml +9-7Lines changed: 9 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 20 | 20 | <groupId>com.example.appengine</groupId> | 21 | 21 | <artifactId>appengine-analytics-j8</artifactId> | 22 | 22 |
| | 23 | + <!-- | | 24 | + The parent pom defines common style checks and testing strategies for our samples. | | 25 | + Removing or replacing it should not effect the execution of the samples in anyway. | | 26 | + --> | 23 | 27 | <parent> | 24 | | - <artifactId>appengine-java8-samples</artifactId> | 25 | | - <groupId>com.google.cloud</groupId> | 26 | | - <version>1.0.0</version> | 27 | | - <relativePath>..</relativePath> | | 28 | + <groupId>com.google.cloud.samples</groupId> | | 29 | + <artifactId>shared-configuration</artifactId> | | 30 | + <version>1.0.8</version> | 28 | 31 | </parent> | 29 | | - <!-- Parent POM defines ${appengine.sdk.version} (updates frequently). --> | 30 | 32 |
| 31 | 33 | <properties> | 32 | 34 | <maven.compiler.target>1.8</maven.compiler.target> | | 39 | 41 | <dependency> | 40 | 42 | <groupId>com.google.appengine</groupId> | 41 | 43 | <artifactId>appengine-api-1.0-sdk</artifactId> | 42 | | - <version>${appengine.sdk.version}</version> | | 44 | + <version>1.9.59</version> | 43 | 45 | </dependency> | 44 | 46 |
| 45 | 47 | <dependency> | | 72 | 74 | <dependency> | 73 | 75 | <groupId>com.google.appengine</groupId> | 74 | 76 | <artifactId>appengine-api-stubs</artifactId> | 75 | | - <version>${appengine.sdk.version}</version> | | 77 | + <version>1.9.59</version> | 76 | 78 | <scope>test</scope> | 77 | 79 | </dependency> | 78 | 80 |
| |
Collapse file Copy file name to clipboardExpand all lines: appengine-java8/analytics/src/main/java/com/example/appengine/analytics/AnalyticsServlet.java +8-6Lines changed: 8 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | /* | 2 | 2 | * Copyright 2015 Google Inc. | 3 | 3 | * | 4 | | - * <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file | 5 | | - * except in compliance with the License. You may obtain a copy of the License at | | 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); | | 5 | + * you may not use this file except in compliance with the License. | | 6 | + * You may obtain a copy of the License at | 6 | 7 | * | 7 | | - * <p>http://www.apache.org/licenses/LICENSE-2.0 | | 8 | + * http://www.apache.org/licenses/LICENSE-2.0 | 8 | 9 | * | 9 | | - * <p>Unless required by applicable law or agreed to in writing, software distributed under the | 10 | | - * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | 11 | | - * express or implied. See the License for the specific language governing permissions and | | 10 | + * Unless required by applicable law or agreed to in writing, software | | 11 | + * distributed under the License is distributed on an "AS IS" BASIS, | | 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | | 13 | + * See the License for the specific language governing permissions and | 12 | 14 | * limitations under the License. | 13 | 15 | */ | 14 | 16 |
| |
Collapse file Copy file name to clipboardExpand all lines: appengine-java8/appidentity/README.md +4Lines changed: 4 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | # App Identity sample for Google App Engine | 2 | 2 |
| | 3 | +<a href="https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/java-docs-samples&page=editor&open_in_editor=appengine-java8/appidentity/README.md"> | | 4 | +<img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"></a> | | 5 | + | | 6 | + | 3 | 7 | This sample demonstrates how to use the [App Identity API][appid] on [Google App | 4 | 8 | Engine][ae-docs]. | 5 | 9 |
| |
Collapse file Copy file name to clipboardExpand all lines: appengine-java8/appidentity/pom.xml +11-9Lines changed: 11 additions & 9 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 20 | 20 | <groupId>com.example.appengine</groupId> | 21 | 21 | <artifactId>appengine-appidentity-j8</artifactId> | 22 | 22 |
| | 23 | + <!-- | | 24 | + The parent pom defines common style checks and testing strategies for our samples. | | 25 | + Removing or replacing it should not effect the execution of the samples in anyway. | | 26 | + --> | 23 | 27 | <parent> | 24 | | - <groupId>com.google.cloud</groupId> | 25 | | - <artifactId>appengine-java8-samples</artifactId> | 26 | | - <version>1.0.0</version> | 27 | | - <relativePath>..</relativePath> | | 28 | + <groupId>com.google.cloud.samples</groupId> | | 29 | + <artifactId>shared-configuration</artifactId> | | 30 | + <version>1.0.8</version> | 28 | 31 | </parent> | 29 | 32 |
| 30 | 33 | <properties> | 31 | 34 | <maven.compiler.target>1.8</maven.compiler.target> | 32 | 35 | <maven.compiler.source>1.8</maven.compiler.source> | 33 | | - <appengine.sdk.version>1.9.60</appengine.sdk.version> | 34 | 36 | </properties> | 35 | 37 |
| 36 | 38 | <dependencies> | 37 | 39 | <dependency> | 38 | 40 | <groupId>com.google.appengine</groupId> | 39 | 41 | <artifactId>appengine-api-1.0-sdk</artifactId> | 40 | | - <version>${appengine.sdk.version}</version> | | 42 | + <version>1.9.59</version> | 41 | 43 | </dependency> | 42 | 44 |
| 43 | 45 | <dependency> | | 64 | 66 | <dependency> | 65 | 67 | <groupId>com.google.appengine</groupId> | 66 | 68 | <artifactId>appengine-api-stubs</artifactId> | 67 | | - <version>${appengine.sdk.version}</version> | | 69 | + <version>1.9.59</version> | 68 | 70 | <scope>test</scope> | 69 | 71 | </dependency> | 70 | 72 | <dependency> | 71 | 73 | <groupId>com.google.appengine</groupId> | 72 | 74 | <artifactId>appengine-tools-sdk</artifactId> | 73 | | - <version>${appengine.sdk.version}</version> | | 75 | + <version>1.9.59</version> | 74 | 76 | <scope>test</scope> | 75 | 77 | </dependency> | 76 | 78 |
| | 89 | 91 | <dependency> | 90 | 92 | <groupId>com.google.appengine</groupId> | 91 | 93 | <artifactId>appengine-testing</artifactId> | 92 | | - <version>${appengine.sdk.version}</version> | | 94 | + <version>1.9.59</version> | 93 | 95 | <scope>test</scope> | 94 | 96 | </dependency> | 95 | 97 | <dependency> | |
Collapse file Copy file name to clipboardExpand all lines: appengine-java8/bigtable/README.md +3Lines changed: 3 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | Bigtable-hello-j8 | 2 | 2 | ================= | 3 | 3 |
| | 4 | +<a href="https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/java-docs-samples&page=editor&open_in_editor=appengine-java8/bigtable/README.md"> | | 5 | +<img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"></a> | | 6 | + | 4 | 7 | Moves the Bigtable Hello World application to Google App Engine Standard for Java 8. | 5 | 8 |
| 6 | 9 |
| |
Collapse file Copy file name to clipboardExpand all lines: appengine-java8/bigtable/pom.xml +9-15Lines changed: 9 additions & 15 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -23,35 +23,30 @@ limitations under the License. | 23 | 23 | <groupId>com.example.google.cloud.bigtable</groupId> | 24 | 24 | <artifactId>bigtable-hello-j8</artifactId> | 25 | 25 |
| | 26 | + <!-- | | 27 | + The parent pom defines common style checks and testing strategies for our samples. | | 28 | + Removing or replacing it should not effect the execution of the samples in anyway. | | 29 | + --> | 26 | 30 | <parent> | 27 | | - <artifactId>appengine-java8-samples</artifactId> | 28 | | - <groupId>com.google.cloud</groupId> | 29 | | - <version>1.0.0</version> | 30 | | - <relativePath>..</relativePath> | | 31 | + <groupId>com.google.cloud.samples</groupId> | | 32 | + <artifactId>shared-configuration</artifactId> | | 33 | + <version>1.0.8</version> | 31 | 34 | </parent> | 32 | 35 |
| 33 | 36 | <properties> | 34 | | - <appengine.maven.plugin>1.3.2</appengine.maven.plugin> | 35 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | 36 | | - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | 37 | 37 | <maven.compiler.source>1.8</maven.compiler.source> | 38 | 38 | <maven.compiler.target>1.8</maven.compiler.target> | 39 | 39 |
| 40 | | - <bigtable.version>1.0.0-pre3</bigtable.version> | 41 | | - <hbase.version>1.2.6</hbase.version> | 42 | 40 | <bigtable.projectID>YOUR_PROJECT_ID</bigtable.projectID> | 43 | 41 | <bigtable.instanceID>YOUR_INSTANCE_ID</bigtable.instanceID> | 44 | | - | 45 | | - <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation> | 46 | | - <archiveClasses>true</archiveClasses> | 47 | 42 | <failOnMissingWebXml>false</failOnMissingWebXml> | 48 | 43 | </properties> | 49 | 44 |
| 50 | 45 | <dependencies> | 51 | 46 | <dependency> | 52 | 47 | <groupId>com.google.cloud.bigtable</groupId> | 53 | 48 | <artifactId>bigtable-hbase-1.x</artifactId> | 54 | | - <version>${bigtable.version}</version> | | 49 | + <version>1.0.0-pre3</version> | 55 | 50 | </dependency> | 56 | 51 |
| 57 | 52 | <dependency> | @@ -162,7 +157,7 @@ limitations under the License. | 162 | 157 | <plugin> | 163 | 158 | <groupId>com.google.cloud.tools</groupId> | 164 | 159 | <artifactId>appengine-maven-plugin</artifactId> | 165 | | - <version>${appengine.maven.plugin}</version> | | 160 | + <version>1.3.2</version> | 166 | 161 | <configuration> | 167 | 162 | </configuration> | 168 | 163 | </plugin> | @@ -203,5 +198,4 @@ limitations under the License. | 203 | 198 | </repository> | 204 | 199 | </repositories> | 205 | 200 |
| 206 | | - | 207 | 201 | </project> |
Collapse file Copy file name to clipboardExpand all lines: appengine-java8/bigtable/src/main/java/com/example/bigtable/BigtableHelloWorld.java +8-7Lines changed: 8 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | /* | 2 | 2 | * Copyright 2016 Google Inc. | 3 | 3 | * | 4 | | - * Licensed under the Apache License, Version 2.0 (the "License"); you | 5 | | - * may not use this file except in compliance with the License. You may | 6 | | - * obtain a copy of the License at | | 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); | | 5 | + * you may not use this file except in compliance with the License. | | 6 | + * You may obtain a copy of the License at | 7 | 7 | * | 8 | | - * http://www.apache.org/licenses/LICENSE-2.0 | | 8 | + * http://www.apache.org/licenses/LICENSE-2.0 | 9 | 9 | * | 10 | 10 | * Unless required by applicable law or agreed to in writing, software | 11 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, | 12 | | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | 13 | | - * implied. See the License for the specific language governing | 14 | | - * permissions and limitations under the License. | | 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | | 13 | + * See the License for the specific language governing permissions and | | 14 | + * limitations under the License. | 15 | 15 | */ | 16 | 16 |
| | 17 | + | 17 | 18 | package com.example.bigtable; | 18 | 19 |
| 19 | 20 | import java.io.IOException; | |
Collapse file Copy file name to clipboardExpand all lines: appengine-java8/bigtable/src/main/java/com/example/bigtable/BigtableHelper.java +9-7Lines changed: 9 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | /* | 2 | | - * Copyright 2015 Google Inc. | | 2 | + * Copyright 2016 Google Inc. | 3 | 3 | * | 4 | | - * <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file | 5 | | - * except in compliance with the License. You may obtain a copy of the License at | | 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); | | 5 | + * you may not use this file except in compliance with the License. | | 6 | + * You may obtain a copy of the License at | 6 | 7 | * | 7 | | - * <p>http://www.apache.org/licenses/LICENSE-2.0 | | 8 | + * http://www.apache.org/licenses/LICENSE-2.0 | 8 | 9 | * | 9 | | - * <p>Unless required by applicable law or agreed to in writing, software distributed under the | 10 | | - * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | 11 | | - * express or implied. See the License for the specific language governing permissions and | | 10 | + * Unless required by applicable law or agreed to in writing, software | | 11 | + * distributed under the License is distributed on an "AS IS" BASIS, | | 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | | 13 | + * See the License for the specific language governing permissions and | 12 | 14 | * limitations under the License. | 13 | 15 | */ | 14 | 16 |
| |
Collapse file Copy file name to clipboardExpand all lines: appengine-java8/bigtable/src/test/java/com/example/bigtable/ITBigtableHelloWorld.java +8-6Lines changed: 8 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | /* | 2 | 2 | * Copyright 2016 Google Inc. | 3 | 3 | * | 4 | | - * <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file | 5 | | - * except in compliance with the License. You may obtain a copy of the License at | | 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); | | 5 | + * you may not use this file except in compliance with the License. | | 6 | + * You may obtain a copy of the License at | 6 | 7 | * | 7 | | - * <p>http://www.apache.org/licenses/LICENSE-2.0 | | 8 | + * http://www.apache.org/licenses/LICENSE-2.0 | 8 | 9 | * | 9 | | - * <p>Unless required by applicable law or agreed to in writing, software distributed under the | 10 | | - * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | 11 | | - * express or implied. See the License for the specific language governing permissions and | | 10 | + * Unless required by applicable law or agreed to in writing, software | | 11 | + * distributed under the License is distributed on an "AS IS" BASIS, | | 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | | 13 | + * See the License for the specific language governing permissions and | 12 | 14 | * limitations under the License. | 13 | 15 | */ | 14 | 16 |
| |
|