MPLUGIN-62: Exclude read-only components from plugin goal documentation
Submitted by: Benjamin Bentmann Reviewed by: Vincent Siveton o patch applied git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@595947 13f79535-47bb-0310-9956-ffa450edef68master
parent
bd1e8d1444
commit
437400150a
|
|
@ -427,6 +427,11 @@ public class JavaMojoDescriptorExtractor
|
|||
pd.setRequirement( new Requirement( role, roleHint ) );
|
||||
|
||||
pd.setName( (String) entry.getKey() );
|
||||
|
||||
pd.setEditable( false );
|
||||
/* TODO: or better like this? Need @component fields be editable for the user?
|
||||
pd.setEditable( field.getTagByName( READONLY ) == null );
|
||||
*/
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue