Skip to content

Commit

Permalink
samples: scaffold pom.xml files (googleapis#106)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈


<details><summary>Log from Synthtool</summary>

```
2020-03-17 11:48:00,106 synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py.
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/release-please.yml
.github/trusted-contribution.yml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/continuous/common.cfg
.kokoro/continuous/dependencies.cfg
.kokoro/continuous/integration.cfg
.kokoro/continuous/java11.cfg
.kokoro/continuous/java7.cfg
.kokoro/continuous/java8-osx.cfg
.kokoro/continuous/java8-win.cfg
.kokoro/continuous/java8.cfg
.kokoro/continuous/lint.cfg
.kokoro/continuous/propose_release.cfg
.kokoro/continuous/samples.cfg
.kokoro/dependencies.sh
.kokoro/linkage-monitor.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/dependencies.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/lint.cfg
.kokoro/nightly/samples.cfg
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
codecov.yaml
java.header
license-checks.xml
renovate.json
samples/install-without-bom/pom.xml
samples/pom.xml
samples/snapshot/pom.xml
samples/snippets/pom.xml
2020-03-17 11:48:00,397 synthtool > merge: CODE_OF_CONDUCT.md
2020-03-17 11:48:00,398 synthtool > merge: java.header
2020-03-17 11:48:00,398 synthtool > merge: license-checks.xml
2020-03-17 11:48:00,398 synthtool > merge: LICENSE
2020-03-17 11:48:00,399 synthtool > merge: README.md
2020-03-17 11:48:00,399 synthtool > merge: CONTRIBUTING.md
2020-03-17 11:48:00,399 synthtool > merge: renovate.json
2020-03-17 11:48:00,400 synthtool > merge: codecov.yaml
2020-03-17 11:48:00,401 synthtool > merge: .kokoro/build.sh
2020-03-17 11:48:00,401 synthtool > merge: .kokoro/coerce_logs.sh
2020-03-17 11:48:00,401 synthtool > merge: .kokoro/dependencies.sh
2020-03-17 11:48:00,402 synthtool > merge: .kokoro/linkage-monitor.sh
2020-03-17 11:48:00,402 synthtool > merge: .kokoro/trampoline.sh
2020-03-17 11:48:00,402 synthtool > merge: .kokoro/common.cfg
2020-03-17 11:48:00,402 synthtool > merge: .kokoro/build.bat
2020-03-17 11:48:00,403 synthtool > merge: .kokoro/release/promote.sh
2020-03-17 11:48:00,403 synthtool > merge: .kokoro/release/snapshot.sh
2020-03-17 11:48:00,403 synthtool > merge: .kokoro/release/stage.sh
2020-03-17 11:48:00,404 synthtool > merge: .kokoro/release/bump_snapshot.cfg
2020-03-17 11:48:00,404 synthtool > merge: .kokoro/release/drop.cfg
2020-03-17 11:48:00,404 synthtool > merge: .kokoro/release/snapshot.cfg
2020-03-17 11:48:00,404 synthtool > merge: .kokoro/release/promote.cfg
2020-03-17 11:48:00,405 synthtool > merge: .kokoro/release/publish_javadoc.sh
2020-03-17 11:48:00,405 synthtool > merge: .kokoro/release/common.cfg
2020-03-17 11:48:00,405 synthtool > merge: .kokoro/release/drop.sh
2020-03-17 11:48:00,405 synthtool > merge: .kokoro/release/publish_javadoc.cfg
2020-03-17 11:48:00,406 synthtool > merge: .kokoro/release/stage.cfg
2020-03-17 11:48:00,406 synthtool > merge: .kokoro/release/common.sh
2020-03-17 11:48:00,406 synthtool > merge: .kokoro/nightly/lint.cfg
2020-03-17 11:48:00,406 synthtool > merge: .kokoro/nightly/java11.cfg
2020-03-17 11:48:00,407 synthtool > merge: .kokoro/nightly/samples.cfg
2020-03-17 11:48:00,407 synthtool > merge: .kokoro/nightly/java8.cfg
2020-03-17 11:48:00,407 synthtool > merge: .kokoro/nightly/java7.cfg
2020-03-17 11:48:00,407 synthtool > merge: .kokoro/nightly/common.cfg
2020-03-17 11:48:00,408 synthtool > merge: .kokoro/nightly/dependencies.cfg
2020-03-17 11:48:00,408 synthtool > merge: .kokoro/nightly/java8-osx.cfg
2020-03-17 11:48:00,408 synthtool > merge: .kokoro/nightly/java8-win.cfg
2020-03-17 11:48:00,409 synthtool > merge: .kokoro/nightly/integration.cfg
2020-03-17 11:48:00,409 synthtool > merge: .kokoro/presubmit/lint.cfg
2020-03-17 11:48:00,409 synthtool > merge: .kokoro/presubmit/clirr.cfg
2020-03-17 11:48:00,409 synthtool > merge: .kokoro/presubmit/java11.cfg
2020-03-17 11:48:00,410 synthtool > merge: .kokoro/presubmit/samples.cfg
2020-03-17 11:48:00,410 synthtool > merge: .kokoro/presubmit/linkage-monitor.cfg
2020-03-17 11:48:00,410 synthtool > merge: .kokoro/presubmit/java8.cfg
2020-03-17 11:48:00,410 synthtool > merge: .kokoro/presubmit/java7.cfg
2020-03-17 11:48:00,411 synthtool > merge: .kokoro/presubmit/common.cfg
2020-03-17 11:48:00,411 synthtool > merge: .kokoro/presubmit/dependencies.cfg
2020-03-17 11:48:00,411 synthtool > merge: .kokoro/presubmit/java8-osx.cfg
2020-03-17 11:48:00,411 synthtool > merge: .kokoro/presubmit/java8-win.cfg
2020-03-17 11:48:00,412 synthtool > merge: .kokoro/presubmit/integration.cfg
2020-03-17 11:48:00,412 synthtool > merge: .kokoro/continuous/lint.cfg
2020-03-17 11:48:00,412 synthtool > merge: .kokoro/continuous/java11.cfg
2020-03-17 11:48:00,412 synthtool > merge: .kokoro/continuous/samples.cfg
2020-03-17 11:48:00,413 synthtool > merge: .kokoro/continuous/java8.cfg
2020-03-17 11:48:00,413 synthtool > merge: .kokoro/continuous/java7.cfg
2020-03-17 11:48:00,413 synthtool > merge: .kokoro/continuous/propose_release.cfg
2020-03-17 11:48:00,413 synthtool > merge: .kokoro/continuous/common.cfg
2020-03-17 11:48:00,414 synthtool > merge: .kokoro/continuous/dependencies.cfg
2020-03-17 11:48:00,414 synthtool > merge: .kokoro/continuous/java8-osx.cfg
2020-03-17 11:48:00,414 synthtool > merge: .kokoro/continuous/java8-win.cfg
2020-03-17 11:48:00,415 synthtool > merge: .kokoro/continuous/integration.cfg
2020-03-17 11:48:00,415 synthtool > merge: .github/trusted-contribution.yml
2020-03-17 11:48:00,415 synthtool > merge: .github/release-please.yml
2020-03-17 11:48:00,415 synthtool > merge: .github/PULL_REQUEST_TEMPLATE.md
2020-03-17 11:48:00,416 synthtool > merge: .github/ISSUE_TEMPLATE/feature_request.md
2020-03-17 11:48:00,416 synthtool > merge: .github/ISSUE_TEMPLATE/bug_report.md
2020-03-17 11:48:00,416 synthtool > merge: .github/ISSUE_TEMPLATE/support_request.md
2020-03-17 11:48:00,417 synthtool > Wrote metadata to synth.metadata.

```
</details>
  • Loading branch information
yoshi-automation authored Mar 17, 2020
1 parent 25d0ade commit e6745fa
Show file tree
Hide file tree
Showing 5 changed files with 284 additions and 1 deletion.
84 changes: 84 additions & 0 deletions java-resourcemanager/samples/install-without-bom/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<?xml version='1.0' encoding='UTF-8'?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>cloudresourcemanager-install-without-bom</artifactId>
<packaging>jar</packaging>
<name>Google Resource Manager API Install Without Bom</name>
<url>https://github.com/googleapis/java-resourcemanager</url>

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

<properties>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>


<dependencies>
<!-- [START cloudresourcemanager_install_without_bom] -->
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-resourcemanager</artifactId>
<version>0.117.2-alpha</version>
</dependency>
<!-- [END cloudresourcemanager_install_with_bom] -->

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.truth</groupId>
<artifactId>truth</artifactId>
<version>1.0.1</version>
<scope>test</scope>
</dependency>
</dependencies>

<!-- compile and run all snippet tests -->
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>add-snippets-source</id>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>../snippets/src/main/java</source>
</sources>
</configuration>
</execution>
<execution>
<id>add-snippets-tests</id>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>../snippets/src/test/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
56 changes: 56 additions & 0 deletions java-resourcemanager/samples/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version='1.0' encoding='UTF-8'?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-cloudresourcemanager-samples</artifactId>
<version>0.0.1-SNAPSHOT</version><!-- This artifact should not be released -->
<packaging>pom</packaging>
<name>Google Resource Manager API Samples Parent</name>
<url>https://github.com/googleapis/java-resourcemanager</url>
<description>
Java idiomatic client for Google Cloud Platform services.
</description>

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

<properties>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<modules>
<module>install-without-bom</module>
<module>snapshot</module>
<module>snippets</module>
</modules>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<configuration>
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
</configuration>
</plugin>
</plugins>
</build>
</project>
83 changes: 83 additions & 0 deletions java-resourcemanager/samples/snapshot/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<?xml version='1.0' encoding='UTF-8'?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>cloudresourcemanager-snapshot</artifactId>
<packaging>jar</packaging>
<name>Google Resource Manager API Snapshot Samples</name>
<url>https://github.com/googleapis/java-resourcemanager</url>

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

<properties>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<!-- {x-version-update-start::current} -->
<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-resourcemanager</artifactId>
<version>0.117.2-alpha</version>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.truth</groupId>
<artifactId>truth</artifactId>
<version>1.0.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<!-- {x-version-update-end} -->

<!-- compile and run all snippet tests -->
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>add-snippets-source</id>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>../snippets/src/main/java</source>
</sources>
</configuration>
</execution>
<execution>
<id>add-snippets-tests</id>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>../snippets/src/test/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
60 changes: 60 additions & 0 deletions java-resourcemanager/samples/snippets/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version='1.0' encoding='UTF-8'?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>cloudresourcemanager-snippets</artifactId>
<packaging>jar</packaging>
<name>Google Resource Manager API Snippets</name>
<url>https://github.com/googleapis/java-resourcemanager</url>

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

<properties>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>


<!-- [START cloudresourcemanager_install_with_bom] -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>4.2.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-resourcemanager</artifactId>
</dependency>
<!-- [END cloudresourcemanager_install_with_bom] -->

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.truth</groupId>
<artifactId>truth</artifactId>
<version>1.0.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion java-resourcemanager/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"updateTime": "2020-03-13T22:06:03.972989Z",
"updateTime": "2020-03-17T18:48:00.417003Z",
"sources": [
{
"template": {
Expand Down

0 comments on commit e6745fa

Please sign in to comment.