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

Include relevant upstream catalogs even if their versions aren't recommended for new projects #19908

Merged
merged 1 commit into from
Sep 3, 2021

Conversation

aloubyansky
Copy link
Member

It may happen that downstream platform versions reference upstream Quarkus versions that are not recommended any more for new projects in the upstream community. This PR fixes a few issues making sure the dev tools still list the relevant upstream catalogs for downstream versions.

Also deprecated io.quarkus.maven.StreamCoords in favor of io.quarkus.registry.catalog.PlatformStreamCoords

@quarkus-bot quarkus-bot bot added area/cli Related to quarkus cli (not maven/gradle/etc.) area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/platform Issues related to definition and interaction with Quarkus Platform labels Sep 3, 2021
@aloubyansky
Copy link
Member Author

@gastaldi do you mind reviewing this one? Thanks!

Copy link
Contributor

@gastaldi gastaldi left a comment

Choose a reason for hiding this comment

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

LGTM, added a minor comment

* @deprecated in favor of {@link io.quarkus.registry.catalog.PlatformStreamCoords}
*/
@Deprecated
public class StreamCoords extends io.quarkus.registry.catalog.PlatformStreamCoords {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this can be removed completely? It's not being used anywhere AFAIK

Copy link
Member Author

Choose a reason for hiding this comment

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

You are most probably right. I kept it, just in case, for backward compatibility.

Copy link
Contributor

@gastaldi gastaldi Sep 3, 2021

Choose a reason for hiding this comment

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

Right, my point is that deleting it shouldn´t break backward compatibility since it's already well encapsulated from the public APIs. It's unlikely that someone is using it since it was introduced less than 3 months ago 😉

Copy link
Member Author

Choose a reason for hiding this comment

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

It shouldn't affect our dev tools, so yes, I think it's safe to remove it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed it.

Copy link
Contributor

Choose a reason for hiding this comment

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

@ia3andy just to confirm, this class is not used in code.quarkus.io, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

It doesn't look like it.

@aloubyansky aloubyansky force-pushed the upstream-platform-catalog branch from 9df8576 to dd1081c Compare September 3, 2021 16:30
…mmended for new projects

Moved io.quarkus.maven.StreamCoords to io.quarkus.registry.catalog.PlatformStreamCoords
@aloubyansky aloubyansky force-pushed the upstream-platform-catalog branch from dd1081c to 9a15b82 Compare September 3, 2021 16:43
@gastaldi gastaldi added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Sep 3, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Sep 3, 2021

Failing Jobs - Building 9a15b82

Status Name Step Failures Logs Raw logs
✔️ JVM Tests - JDK 11
JVM Tests - JDK 16 Build ⚠️ Check → Logs Raw logs
MicroProfile TCKs Tests Verify ⚠️ Check → Logs Raw logs

⚠️ Errors occurred while downloading the build reports. This report is incomplete.

@aloubyansky
Copy link
Member Author

The errors aren't related to the change. E.g.

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project quarkus-smallrye-reactive-messaging-kafka-deployment: There are test failures.

@aloubyansky aloubyansky merged commit 8f935cd into quarkusio:main Sep 3, 2021
@quarkus-bot quarkus-bot bot added this to the 2.3 - main milestone Sep 3, 2021
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Sep 3, 2021
@gsmet gsmet modified the milestones: 2.3 - main, 2.2.2.Final Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Related to quarkus cli (not maven/gradle/etc.) area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/platform Issues related to definition and interaction with Quarkus Platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants