Skip to content

Fix Hard Inject Dependency (use cyclical plugin module) #212

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
Apr 28, 2023

Conversation

SentryMan
Copy link
Collaborator

No description provided.

@rob-bygrave
Copy link
Contributor

I'm not convinced we are going to do this yet. avaje-inject already has the PR merged that does not use ServiceLoader for Plugins (I merged that in on the 18th and 9.1-RC1 was released).

So this is not the change / PR that brings avaje-http in line with avaje-inject 9.1-RC1.

@SentryMan
Copy link
Collaborator Author

I'm not convinced we are going to do this yet. avaje-inject already has the PR merged that does not use ServiceLoader for Plugins (I merged that in on the 18th and 9.1-RC1 was released).

So this is not the change / PR that brings avaje-http in line with avaje-inject 9.1-RC1.

This is but one option, when you make a hard decision for or against we can close/merge as needed.

@SentryMan SentryMan changed the title Fix Hard Inject Dependency Fix Hard Inject Dependency (use transitive plugin module) Apr 27, 2023
@rob-bygrave
Copy link
Contributor

Alright, noting that people reading this PR should understand that this solves 1 problem but as it stands creates another bigger problem (unless this PR is enhanced further by adding in the cyclical dependency ... and then we have to deal with the build/release issue related to that etc and that gets messy. Doable Yes, but messy).

So this PR currently isn't yet an "Acceptable Done Done" solution in my view without dealing with that maven dependency issue.

@SentryMan
Copy link
Collaborator Author

SentryMan commented Apr 27, 2023

adding in the cyclical dependency

It's already there? We have http api -> http plugin -> http api

@SentryMan SentryMan changed the title Fix Hard Inject Dependency (use transitive plugin module) Fix Hard Inject Dependency (use cyclical plugin module) Apr 27, 2023
@rob-bygrave
Copy link
Contributor

It's already there? We have http api -> http plugin -> http api

Yeah ok, I missed that - sorry !!!

Ok so this is "Done Done" - my bad.

The side effect of the maven cyclical dependency is that we need to maintain the version - 1 version in the plugin pom.

@SentryMan
Copy link
Collaborator Author

The side effect of the maven cyclical dependency is that we need to maintain the version - 1 version in the plugin pom.

The plugins don't really change that much all things considered.

@rbygrave rbygrave added this to the 1.38 milestone Apr 28, 2023
@rbygrave rbygrave merged commit 6bb1dc6 into avaje:master Apr 28, 2023
@SentryMan SentryMan deleted the plugin branch April 28, 2023 12:15
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