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

ArC - make it possible to exclude types and dependencies #9868

Merged
merged 1 commit into from
Jun 9, 2020

Conversation

mkouba
Copy link
Contributor

@mkouba mkouba commented Jun 8, 2020

@mkouba mkouba added this to the 1.6.0 - master milestone Jun 8, 2020
@mkouba mkouba requested review from aloubyansky, manovotn and geoand June 8, 2020 18:38
@boring-cyborg boring-cyborg bot added area/arc Issue related to ARC (dependency injection) area/core area/documentation area/maven labels Jun 8, 2020
@@ -12,18 +12,18 @@
* The maven groupId of the artifact to index
*/
@ConfigItem
String groupId;
public String groupId;
Copy link
Member

Choose a reason for hiding this comment

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

Could this be made an immutable class, btw? Not necessarily in this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a config group. I'm not sure it's possible to make config groups immutable?

Copy link
Member

@aloubyansky aloubyansky left a comment

Choose a reason for hiding this comment

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

It looks ok to me. A note on paths not associated with a key. I'm wondering whether that could be viewed as an incomplete support of this feature. It could be improved though. If the additional path is a JAR, in the majority of cases it will include Maven metadata which could be used to extract its key. Something to keep in mind.

Copy link
Contributor

@geoand geoand left a comment

Choose a reason for hiding this comment

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

LGTM, I only added a small comment

Copy link
Contributor

@manovotn manovotn left a comment

Choose a reason for hiding this comment

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

LGTM

@mkouba mkouba merged commit 4dc464a into quarkusio:master Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/arc Issue related to ARC (dependency injection) area/core area/documentation area/maven
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to exclude 3rd party CDI beans/factories from Quarkus Arc bean resolution
4 participants