10000 chore: relocate gapic-generator-java pom.xml to subfolder by burkedavison · Pull Request #1105 · googleapis/sdk-platform-java · GitHub
[go: up one dir, main page]

Skip to content

chore: relocate gapic-generator-java pom.xml to subfolder #1105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 30, 2022

Conversation

burkedavison
Copy link
Member

@blakeli0 : This is the minimum number of edits needed to make the project work with a relocated pom.xml.

Let's discuss whether you'd prefer to have this stay in its own branch for now.

@burkedavison burkedavison requested review from a team as code owners November 29, 2022 22:28
@blakeli0
Copy link
Collaborator

@blakeli0 : This is the minimum number of edits needed to make the project work with a relocated pom.xml.

Let's discuss whether you'd prefer to have this stay in its own branch for now.

The changes look good to me. The bazel build is failing though, if all the checks are passing, we could merge it in.

private static final String GOLDENFILES_DIRECTORY =
"src/test/java/com/google/api/generator/engine/goldens/";
"../src/test/java/com/google/api/generator/engine/goldens/";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to change the working directory for surefire or failsafe instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. I'll give it a try.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This suggestion gets bonus points for both simplifying the PR and fixing the bazel build.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member
@meltsufin meltsufin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad the working directory worked!

@burkedavison burkedavison merged commit dbf9342 into main Nov 30, 2022
@burkedavison burkedavison deleted the relocate-primary-project branch November 30, 2022 18:26
burkedavison added a commit that referenced this pull request Dec 8, 2022
* ci(showcase): add showcase IT coverage

* ci(showcase): rework showcase coverage for combined report

* chore(deps): update dependency gradle to v7.6 (#1101)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [gradle](https://gradle.org) ([source](https://togithub.com/gradle/gradle)) | minor | `7.5.1` -> `7.6` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/gapic-generator-java).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4zNC4xIiwidXBkYXRlZEluVmVyIjoiMzQuMzQuMSJ9-->

* ci(showcase): debug showcase integration coverage report in sonar

* ci(showcase): remove duplicate bazel coverage stage

* ci(showcase): invoke sonar after integration tests

* ci(showcase): debug with maven and sonar

* ci(showcase): attempt sonar workaround for lcov coverage parsing

* chore(showcase): create maven showcase module

* chore: relocate gapic-generator-java pom.xml to subfolder

* fix: ensure all tests work with new project structure

* fix: set surefire working directory, and revert source adjustments

* fix: formatter

* chore: relocate gapic-generator-java pom.xml to subfolder (#1105)

* chore: relocate gapic-generator-java pom.xml to subfolder

* fix: ensure all tests work with new project structure

* fix: set surefire working directory, and revert source adjustments

* fix: formatter

* chore: update showcase maven module to generate and verify golden source

* chore: update showcase maven module to generate and verify golden source

* chore: add showcase golden source to maven submodule

* chore: upload two coverage reports to sonar

* chore: show proto folder contents during verify_proto

* fix: only diff proto src/main/java, ignoring src/main/proto

* chore(main): release 2.11.0 (#1081)

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>

* chore: change showcase version to 0.0.1-SNAPSHOT

* chore: add mvn -version to sonar workflow

* fix: set showcase client to 0.0.1-SNAPSHOT

* fix: explicitly set shade plugin output directory

* chore: remove aggregator from build

* fix: coverage report locations

* fix: skip linting on generated showcase files

* fix: sonar coverage for non-standard directory structure (#1108)

* fix: exclude generated showcase from license header check

* fix: single-line 'find' syntax

* fix: use provided ignore flag

* ci(showcase): rework github actions for showcase golden and integration tests

* ci(showcase): simplify sonar github actions workflow

* ci(showcase): remove showcase from /test/integration golden suite

* ci(showcase): simplify showcase invocation

* fix(showcase): ensure generated showcase protos are not deleted

* ci(showcase): update workflow and documentation for showcase

* ci(showcase): disable snippet-bot for generated showcase client

* ci(showcase): disable snippet-bot for showcase (#1113)

Co-authored-by: Mend Renovate <bot@renovateapp.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
suztomo pushed a commit that referenced this pull request Dec 16, 2022
* chore: relocate gapic-generator-java pom.xml to subfolder

* fix: ensure all tests work with new project structure

* fix: set surefire working directory, and revert source adjustments

* fix: formatter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0