Karl Heinz Marbaise opened MPLUGIN-495 and commented
A change of parameters like this:
@Parameter(defaultValue = "${project}", readonly = true, required = true)
into:
This will result in WARNINGs like this:
Warning: Deprecated @Component annotation for 'session' field in org.apache.maven.plugins.dependency.GetMojo: replace with @Parameter( defaultValue = "${session}", readonly = true )
The shown deprecation message is wrong. It is fine to use that for components to be injected.
Affects: 3.10.2
Issue Links:
- MDEP-894 Use
@Component instead of @Parameter for session/project
Remote Links: