-
Notifications
You must be signed in to change notification settings - Fork 566
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
Maven plugin for Helidon Service Inject #9461
Open
tomas-langer
wants to merge
23
commits into
helidon-io:main
Choose a base branch
from
tomas-langer:9158-inject-maven-plugin
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Maven plugin for Helidon Service Inject #9461
tomas-langer
wants to merge
23
commits into
helidon-io:main
from
tomas-langer:9158-inject-maven-plugin
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oracle-contributor-agreement
bot
added
the
OCA Verified
All contributors have signed the Oracle Contributor Agreement.
label
Nov 4, 2024
tomas-langer
force-pushed
the
9158-inject-maven-plugin
branch
from
November 4, 2024 17:15
4781036
to
aaf4d5f
Compare
danielkec
requested changes
Nov 22, 2024
service/inject/inject/src/main/java/io/helidon/service/inject/InjectStartupProvider.java
Outdated
Show resolved
Hide resolved
service/inject/inject/src/main/java/io/helidon/service/inject/InjectionMain.java
Outdated
Show resolved
Hide resolved
...ject/maven-plugin/src/main/java/io/helidon/service/inject/maven/plugin/BindingGenerator.java
Outdated
Show resolved
Hide resolved
...ice/inject/maven-plugin/src/main/java/io/helidon/service/inject/maven/plugin/MavenFiler.java
Outdated
Show resolved
Hide resolved
danielkec
previously approved these changes
Nov 27, 2024
tomas-langer
force-pushed
the
9158-inject-maven-plugin
branch
from
November 27, 2024 10:42
90f167a
to
50e0681
Compare
Moved version management for maven plugin to project root pom, moved plugin configuration there as well A fix in `AptTypeInfoFactory` where a NPE was possible.
Switch hint log level to trace in maven plugin Removed bad info log, added useful info log to maven plugin
Cleaned up dependencies. Support for registry in builder.
…ration is not present. Added a test to validate it.
…wn handler for started registry managers.
…ay be a service that requires a dependency, but itself is not required by any injection point.
…rs even for a single instance, as any may return an empty optional (if appropriate supplier type), and we would not yield an instance, even when we should. As a result the method "explodeFilterAndSort" was going through all service manager and collected all instances - which resulted in errors if a provider with lower weight was not capable of creating an intance because of unsatisfied dependency.
tomas-langer
force-pushed
the
9158-inject-maven-plugin
branch
from
December 17, 2024 21:58
5f8f56c
to
ef78142
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
4.x
Version 4.x
declarative
Helidon Declarative
must-have
OCA Verified
All contributors have signed the Oracle Contributor Agreement.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Maven plugin that:
InjectConfig
that disables bootstrap service discovery)To see what happens, build the project with
-Ptests
, and check directory:service/tests/inject/toolbox/target/generated-sources/annotations/io/helidon/service/tests/inject/toolbox
See
ApplicationMain
andInjection__Binding
classes.