-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(java): allow owlbot to exclude modules in pom (#1289)
* chore(java): allow owlbot to exclude modules in pom * chore: remove parent_artifact specification * chore: manage unwanted dependencies * chore: remove comments * chore: comment * chore: fix data type * chore: fix variable names * chore: fix required dependency access issues * chore: sort the dependencies list in versions.txt * chore: change golden files to match new changes * chore: add cloudbuild test for fix-pom changes * chore: add required_dependencies additively
- Loading branch information
Showing
36 changed files
with
1,575 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Maven | ||
target/ | ||
|
||
# Eclipse | ||
.classpath | ||
.project | ||
.settings | ||
|
||
# Intellij | ||
*.iml | ||
.idea/ | ||
|
||
# python utilities | ||
*.pyc | ||
__pycache__ | ||
|
||
.flattened-pom.xml |
18 changes: 18 additions & 0 deletions
18
docker/owlbot/java/tests/fix-poms/golden/.repo-metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "foo", | ||
"name_pretty": "Example API", | ||
"product_documentation": "https://cloud.google.com/foo/", | ||
"api_description": "is an example API", | ||
"client_documentation": "https://googleapis.dev/java/google-cloud-foo/latest/index.html", | ||
"release_level": "beta", | ||
"transport": "grpc", | ||
"language": "java", | ||
"repo": "googleapis/java-foo", | ||
"repo_short": "java-foo", | ||
"distribution_name": "com.google.cloud:google-cloud-foo", | ||
"api_id": "foo.googleapis.com", | ||
"requires_billing": true, | ||
"extra_versioned_modules": "google-cloud-foo-emulator", | ||
"excluded_poms": "google-cloud-foo-bom", | ||
"excluded_dependencies": "grpc-google-cloud-foo-v2,google-cloud-foo-bom" | ||
} |
84 changes: 84 additions & 0 deletions
84
docker/owlbot/java/tests/fix-poms/golden/google-cloud-foo-emulator/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>google-cloud-foo-emulator</artifactId> | ||
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-foo:current} --> | ||
<packaging>pom</packaging> | ||
<parent> | ||
<groupId>com.google.cloud</groupId> | ||
<artifactId>google-cloud-shared-config</artifactId> | ||
<version>1.2.1</version> | ||
</parent> | ||
|
||
<name>Google Example API BOM</name> | ||
<url>https://github.com/googleapis/java-foo</url> | ||
<description> | ||
BOM for Example API | ||
</description> | ||
|
||
<organization> | ||
<name>Google LLC</name> | ||
</organization> | ||
|
||
<developers> | ||
<developer> | ||
<id>chingor13</id> | ||
<name>Jeff Ching</name> | ||
<email>[email protected]</email> | ||
<organization>Google LLC</organization> | ||
<roles> | ||
<role>Developer</role> | ||
</roles> | ||
</developer> | ||
<developer> | ||
<id>neenushaji</id> | ||
<name>Neenu Shaji</name> | ||
<email>[email protected]</email> | ||
<organization>Google LLC</organization> | ||
<roles> | ||
<role>Developer</role> | ||
</roles> | ||
</developer> | ||
</developers> | ||
|
||
<scm> | ||
<connection>scm:git:https://github.com/googleapis/java-foo.git</connection> | ||
<developerConnection>scm:git:[email protected]:googleapis/java-foo.git</developerConnection> | ||
<url>https://github.com/googleapis/java-foo</url> | ||
</scm> | ||
|
||
<properties> | ||
<maven.antrun.skip>true</maven.antrun.skip> | ||
</properties> | ||
|
||
<licenses> | ||
<license> | ||
<name>The Apache Software License, Version 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.google.cloud</groupId> | ||
<artifactId>google-cloud-foo</artifactId> | ||
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-foo:current} --> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-checkstyle-plugin</artifactId> | ||
<configuration> | ||
<skip>true</skip> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
Oops, something went wrong.