From 11841fad50949d3c477552d23edc9afafdb7d383 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 27 Sep 2022 20:54:21 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20post-p?= =?UTF-8?q?rocessor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- java-websecurityscanner/README.md | 34 +------- .../pom.xml | 14 ++-- .../samples/install-without-bom/pom.xml | 84 +++++++++++++++++++ java-websecurityscanner/samples/pom.xml | 56 +++++++++++++ .../samples/snapshot/pom.xml | 83 ++++++++++++++++++ .../samples/snippets/pom.xml | 47 +++++++++++ 6 files changed, 279 insertions(+), 39 deletions(-) create mode 100644 java-websecurityscanner/samples/install-without-bom/pom.xml create mode 100644 java-websecurityscanner/samples/pom.xml create mode 100644 java-websecurityscanner/samples/snapshot/pom.xml create mode 100644 java-websecurityscanner/samples/snippets/pom.xml diff --git a/java-websecurityscanner/README.md b/java-websecurityscanner/README.md index 336d40462553..95da4dd2cebb 100644 --- a/java-websecurityscanner/README.md +++ b/java-websecurityscanner/README.md @@ -11,48 +11,18 @@ Java idiomatic client for [Cloud Security Scanner][product-docs]. ## Quickstart -If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: -```xml - - - - com.google.cloud - libraries-bom - 26.1.0 - pom - import - - - - - - - com.google.cloud - google-cloud-websecurityscanner - - -``` - -If you are using Maven without BOM, add this to your dependencies: +If you are using Maven, add this to your pom.xml file: ```xml com.google.cloud google-cloud-websecurityscanner - 2.2.2 + 2.2.4 - ``` -If you are using Gradle 5.x or later, add this to your dependencies: - -```Groovy -implementation platform('com.google.cloud:libraries-bom:26.1.1') - -implementation 'com.google.cloud:google-cloud-websecurityscanner' -``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy diff --git a/java-websecurityscanner/google-cloud-websecurityscanner-bom/pom.xml b/java-websecurityscanner/google-cloud-websecurityscanner-bom/pom.xml index ecbf9b658687..b7be0e7f489a 100644 --- a/java-websecurityscanner/google-cloud-websecurityscanner-bom/pom.xml +++ b/java-websecurityscanner/google-cloud-websecurityscanner-bom/pom.xml @@ -53,37 +53,37 @@ com.google.cloud google-cloud-websecurityscanner - 2.2.4-SNAPSHOT + 2.2.5-SNAPSHOT com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.89.4-SNAPSHOT + 0.89.5-SNAPSHOT com.google.api.grpc grpc-google-cloud-websecurityscanner-v1beta - 0.89.4-SNAPSHOT + 0.89.5-SNAPSHOT com.google.api.grpc grpc-google-cloud-websecurityscanner-v1 - 2.2.4-SNAPSHOT + 2.2.5-SNAPSHOT com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.89.4-SNAPSHOT + 0.89.5-SNAPSHOT com.google.api.grpc proto-google-cloud-websecurityscanner-v1beta - 0.89.4-SNAPSHOT + 0.89.5-SNAPSHOT com.google.api.grpc proto-google-cloud-websecurityscanner-v1 - 2.2.4-SNAPSHOT + 2.2.5-SNAPSHOT diff --git a/java-websecurityscanner/samples/install-without-bom/pom.xml b/java-websecurityscanner/samples/install-without-bom/pom.xml new file mode 100644 index 000000000000..8fcc4719e549 --- /dev/null +++ b/java-websecurityscanner/samples/install-without-bom/pom.xml @@ -0,0 +1,84 @@ + + + 4.0.0 + com.google.cloud + -install-without-bom + jar + Google Cloud Security Scanner Install Without Bom + https://github.com/googleapis/java-websecurityscanner + + + + com.google.cloud.samples + shared-configuration + 1.2.0 + + + + 1.8 + 1.8 + UTF-8 + + + + + + + com.google.cloud + google-cloud-websecurityscanner + 2.2.4 + + + + + junit + junit + 4.13.2 + test + + + com.google.truth + truth + 1.1.3 + test + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.3.0 + + + add-snippets-source + + add-source + + + + ../snippets/src/main/java + + + + + add-snippets-tests + + add-test-source + + + + ../snippets/src/test/java + + + + + + + + diff --git a/java-websecurityscanner/samples/pom.xml b/java-websecurityscanner/samples/pom.xml new file mode 100644 index 000000000000..efb51bd2d4aa --- /dev/null +++ b/java-websecurityscanner/samples/pom.xml @@ -0,0 +1,56 @@ + + + 4.0.0 + com.google.cloud + google-cloud--samples + 0.0.1-SNAPSHOT + pom + Google Cloud Security Scanner Samples Parent + https://github.com/googleapis/java-websecurityscanner + + Java idiomatic client for Google Cloud Platform services. + + + + + com.google.cloud.samples + shared-configuration + 1.2.0 + + + + 1.8 + 1.8 + UTF-8 + + + + install-without-bom + snapshot + snippets + + + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + + true + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.13 + + true + + + + + diff --git a/java-websecurityscanner/samples/snapshot/pom.xml b/java-websecurityscanner/samples/snapshot/pom.xml new file mode 100644 index 000000000000..6ae9a1828428 --- /dev/null +++ b/java-websecurityscanner/samples/snapshot/pom.xml @@ -0,0 +1,83 @@ + + + 4.0.0 + com.google.cloud + -snapshot + jar + Google Cloud Security Scanner Snapshot Samples + https://github.com/googleapis/java-websecurityscanner + + + + com.google.cloud.samples + shared-configuration + 1.2.0 + + + + 1.8 + 1.8 + UTF-8 + + + + + + com.google.cloud + google-cloud-websecurityscanner + 2.2.4 + + + + + junit + junit + 4.13.2 + test + + + com.google.truth + truth + 1.1.3 + test + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.3.0 + + + add-snippets-source + + add-source + + + + ../snippets/src/main/java + + + + + add-snippets-tests + + add-test-source + + + + ../snippets/src/test/java + + + + + + + + diff --git a/java-websecurityscanner/samples/snippets/pom.xml b/java-websecurityscanner/samples/snippets/pom.xml new file mode 100644 index 000000000000..377029a76d8d --- /dev/null +++ b/java-websecurityscanner/samples/snippets/pom.xml @@ -0,0 +1,47 @@ + + + 4.0.0 + com.google.cloud + -snippets + jar + Google Cloud Security Scanner Snippets + https://github.com/googleapis/java-websecurityscanner + + + + com.google.cloud.samples + shared-configuration + 1.2.0 + + + + 1.8 + 1.8 + UTF-8 + + + + + + com.google.cloud + google-cloud-websecurityscanner + 2.2.4 + + + + junit + junit + 4.13.2 + test + + + com.google.truth + truth + 1.1.3 + test + + +