-
Notifications
You must be signed in to change notification settings - Fork 85
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
chore(java): pom generation to look at root versions.txt #1706
chore(java): pom generation to look at root versions.txt #1706
Conversation
With the first attempt, all modules written in the the root versions.txt appear in java-eventarc/google-cloud-eventarc-bom/pom.xml. This is not good.
|
It still tries to create unnecessary pom files |
With 97fed3c, now it does not create unnecessary bom artifacts: googleapis/google-cloud-java@b5fb1f0 |
print("creating missing versions.txt") | ||
# For monorepo, we use the versions.txt at the root. The "./" is needed | ||
# for the templates.render(), which tries to create a directory. | ||
versions_txt_file = "../versions.txt" if monorepo else "./versions.txt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the core of this change.
Co-authored-by: Burke Davison <[email protected]>
For #1707
For the Java monorepo, owlbot-java postprocessor's pom generation should look at root versions.txt.