Skip to content
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

fix(spring): pom writer changes to adapt to repo structure changes in hosting repo #1141

Merged
merged 1 commit into from
Dec 21, 2022

Conversation

zhumin8
Copy link
Contributor

@zhumin8 zhumin8 commented Dec 16, 2022

This is part 2 of implementation for repo structural changes in PoC.
Changes in Pom string:

  • changed parent to spring-cloud-gcp-starters and version with "-preview" suffix
  • removed client library version (should inherit from Libraries BOM).

Corresponding changes in spring-cloud-gcp: GoogleCloudPlatform/spring-cloud-gcp#1394

@conventional-commit-lint-gcf
Copy link

conventional-commit-lint-gcf bot commented Dec 16, 2022

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@sonarcloud
Copy link

sonarcloud bot commented Dec 16, 2022

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 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@zhumin8 zhumin8 merged commit cb08241 into autoconfig-gen-draft2 Dec 21, 2022
@zhumin8 zhumin8 deleted the pom-changes branch December 21, 2022 16:43
zhumin8 added a commit to GoogleCloudPlatform/spring-cloud-gcp that referenced this pull request Dec 29, 2022
This is part 1 of implementation for #1383.
Changes include:
- Change folder name for generator scripts to 'spring-cloud-generator'
    - generation script changes to adapt to new folder names.
    - `generate-one.sh` change to add generated module to `spring-cloud-gcp-starters`
- Generated modules target destination renamed to `spring-cloud-previews` folder.
    - Changes to pom.xml to make it an aggregator for generated modules.
- Moved `fmt-maven-plugin` to spring-cloud-gcp/pom with default set to skip.
- Fix `spring-cloud-gcp-dependencies` version inheritance issue.
- `spring-cloud-gcp-starters/pom.xml` format change: replaced tabs with whitespaces, added comment marker for inserting generated modules.

Changes that needs to happen on the generator side:
- generated module pom changes: googleapis/sdk-platform-java#1141
    - use `spring-cloud-gcp-starters` as parent
    - Added `.preview` suffix to generated module versions.
@zhumin8 zhumin8 added the spring pr that's related to spring code gen, intend to merge into autoconfig-gen-draft2 branch. label Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spring pr that's related to spring code gen, intend to merge into autoconfig-gen-draft2 branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants