[MPLUGIN-266] Incorrect warning comment about deprecated @component usage for maven objects

Additional tweaks to the warning message

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1610976 13f79535-47bb-0310-9956-ffa450edef68
master
Dennis Lundberg 2014-07-16 12:17:54 +00:00
parent 00288684b1
commit f8c4b373e7
1 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,7 @@ public class JavaMojoDescriptorExtractor
{
// not a component but a Maven object to be transformed into an expression/property
getLogger().warn(
"Deprecated @Component for " + pd.getName() + " field in " + javaClass.getFullyQualifiedName() +
"Deprecated @component Javadoc tag for '" + pd.getName() + "' field in " + javaClass.getFullyQualifiedName() +
": replace with @Parameter( defaultValue = \"" + expression + "\", readonly = true )" );
pd.setDefaultValue( expression );
pd.setType( role );