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

Get rid of DI abstraction layer #515

Merged
merged 3 commits into from
Jan 16, 2019

Conversation

mkouba
Copy link
Contributor

@mkouba mkouba commented Jan 15, 2019

  • all extensions using CDI should declare a dependency on ArC

- all extensions using CDI should declare a dependency on ArC
@mkouba mkouba added this to the 0.6.0 milestone Jan 15, 2019
@mkouba
Copy link
Contributor Author

mkouba commented Jan 15, 2019

Also added build step execution time to trace logging so that it's easy to track the most expensive build steps:

mvn clean package -DskipTests -X > log.txt
cat log.txt | grep "Finished step" | sort -n -k 7 -r

@BuildStep
void beanDefiningAnnotations(Capabilities capabilities, BuildProducer<BeanDefiningAnnotationBuildItem> annotations) {
if (capabilities.isCapabilityPresent(Capabilities.UNDERTOW)) {
// Arc integration depends on undertow so we want to avoid cyclic dependencies
Copy link
Member

Choose a reason for hiding this comment

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

I think we should look at reversing this, so Undertow depends on ArC

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@stuartwdouglas stuartwdouglas merged commit d1a2a09 into quarkusio:master Jan 16, 2019
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.

2 participants