-
Notifications
You must be signed in to change notification settings - Fork 565
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
base: main
Are you sure you want to change the base?
Maven plugin for Helidon Service Inject #9461
Conversation
4781036
to
aaf4d5f
Compare
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
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
@@ -1506,6 +1506,11 @@ | |||
<artifactId>helidon-service-inject</artifactId> | |||
<version>${helidon.version}</version> | |||
</dependency> | |||
<dependency> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need a pluginManagement in the application parent pom.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer to leave the application updates to Helidon declarative, as this requires actual applications using it to verify it is done correctly, and that seemed like a bit bigger task.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This plugin will be usable in 4.2.0, we should provide proper version management for it.
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
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.