-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[MNG-8254] Fix registration of DI-powered beans #1715
Conversation
@jonasrutishauser the changes cause stack overflow errors:
|
There are a lot of changes regarding DI now on the master branch which cause this stack overflow. |
I'm actually looking into the SisuBridge, so give me some the day to look at it... |
This may be fixed with #1722 |
75e67a3
to
203489b
Compare
I found the problem. I'm not sure why the interfaces are registered in |
@jonasrutishauser could have another look at the master branch, now that #1722 has been merged ? Also, what's your use case for providing an alternative |
I think my problem was resolved when I tested after your merge (with the current master branch my test will no longer work as there are to many changes in project building).
Our use case is that we want to add additional subprojects using an extension maven plugin. This was possible with maven 3 as most objects where mutable and by implementing If I look at the current master branch there is a comment which would cover our use case: maven/maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java Lines 1351 to 1357 in 5207475
|
Right, if you generate files on the fly, that will work. But you still need a way to call your code, so maybe a better alternative would be to register a ModelTransformer, as those are called before validating the file, raw and effective models, and allow changing the models at those points. |
JIRA issue: https://issues.apache.org/jira/browse/MNG-8254
IT PR: apache/maven-integration-testing#358
To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.